Jar running only from command line...

Hello everybody,

Before getting into details of what I have done so far (since it might not be necessary) I would like to ask if anybody had encountered the same problem: A jar which runs only from the command line, and not by double click.

I have to mention that I use one external jar file as well. For running the jar file from the command line I only use the

java -jar myproject.jar

command and the program works just fine. When i try to execute the same jar file by double-clicking it the execution stops at the point I start to use classes from the external Jar file.

p.s. I have modified the jar's manifest properly to include the external jars, otherwise it wouldn't run from the command prompt either.

Any ideas please?

Regards,

[789 byte] By [ShakuR_a] at [2007-11-27 9:48:48]
# 1
os determine what software runs with the file that you double-clickedconfigure your os to run jar extension with java.
pbulgarellia at 2007-7-13 0:17:24 > top of Java-index,Java Essentials,Java Programming...
# 2
Thnx, pbulgarelli But this is not the problem since I have ran before many jar files by double click. Beside that the execution of the jar begins and it just refuses to continue as soon as I ask for a service that requires the use of the external(jdom) jar file.
ShakuR_a at 2007-7-13 0:17:24 > top of Java-index,Java Essentials,Java Programming...