T*****e 发帖数: 361 | 1 I am developing a quite simple Java application, which will be running as a
Windows service via "Java Service Wrapper". I have some questions about the
loading of some jar files.
My application connects to a PostgreSQL database and an SQL Server database,
which means I need to load their drivers. The application also makes use
of EarthWhere API, which in turn uses Hibernate, Sprint, Batik, ... The
list is quite long, and there are more than 100 jars in its "lib" directory.
Right now, I have | A**o 发帖数: 1550 | 2 Q1, dependency analysis
Q2, write another program to generate the jar list for classpath
or use the ide to run it, and copy/paste how ide start the jvm...
a
the
database,
directory.
of
【在 T*****e 的大作中提到】 : I am developing a quite simple Java application, which will be running as a : Windows service via "Java Service Wrapper". I have some questions about the : loading of some jar files. : My application connects to a PostgreSQL database and an SQL Server database, : which means I need to load their drivers. The application also makes use : of EarthWhere API, which in turn uses Hibernate, Sprint, Batik, ... The : list is quite long, and there are more than 100 jars in its "lib" directory. : Right now, I have
| z***h 发帖数: 405 | 3 classpath can be built into your jar file
【在 A**o 的大作中提到】 : Q1, dependency analysis : Q2, write another program to generate the jar list for classpath : or use the ide to run it, and copy/paste how ide start the jvm... : : a : the : database, : directory. : of
| T*****e 发帖数: 361 | 4 Thanks a lot for your help. I will include the classpath in my jar file for
now and deal with dependency issue at a later time. |
|