On Tue, 2005-01-25 at 19:53, Dominique Devienne wrote: > > -----Original Message----- > > From: Longie [mailto:[EMAIL PROTECTED] > > I got that to work but it means now that i cant run the program from a > > standalone jar ie. right click on the name.jar and go to javaw. > > > > So from a dos command i need to run > > > > java -classpath AntTool.jar;./ant/ant.jar AntTool > > > > or else use 'ant run' but i need to be able to run the program from a
How about if you specify the classpath in the manifest? http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html I imagine that setting the Class-Path: attribute should give you what you want. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]