avatar
Classpath questions# Java - 爪哇娇娃
T*e
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
avatar
A*o
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

avatar
z*h
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

avatar
T*e
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.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。