Ilias Lazaridis wrote:

Ilias Lazaridis wrote:

Jakob Braeuchi wrote:

hi ilias,

well, actualy it's possible to do something like this

java -classpath "the;classpath" whatever.you.main.class.is

but the classpath will be quite long ;)

java -cp classes;lib\antlr-2.7.3.jar;lib\commons-beanutils.jar;lib\commons-collections-2.1.1.jar;lib\commons-dbcp-1.1.jar;lib\commons-lang-2.0.jar;lib\commons-logging.jar;lib\commons-pool-1.1.jar;lib\db-ojb-1.0.1-junit.jar;lib\db-ojb-1.0.1.jar;lib\hsqldb.jar;lib\log4j-1.2.8.jar org.apache.ojb.tutorial1.Application

[...]

Now I understand!

Thank you!


What is the reason, that

java -cp build\classes;lib\*.jar org.apache.ojb.tutorial1.Application
java -cp build\classes;lib\*     org.apache.ojb.tutorial1.Application
java -cp build\classes;lib\      org.apache.ojb.tutorial1.Application

or something similar

is invalid?

Erm, have you actually tried it ? It's because java.exe *cannot* do this !

Tom


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to