deploying java class file

how do i deploy an application so that they are executable when i just double click them....i've tried jar files but i need to type the command in the command line to execute them...
[190 byte] By [Deepak_Sonia] at [2007-11-26 22:01:33]
# 1
http://www.cis.upenn.edu/~matuszek/cit597-2002/Pages/executable-jar-files.html
TuringPesta at 2007-7-10 10:41:41 > top of Java-index,Java Essentials,New To Java...
# 2
Try to create a batch file for executing the command line.This will solve ur purpose
Shankar_24684a at 2007-7-10 10:41:41 > top of Java-index,Java Essentials,New To Java...
# 3

>how do i deploy an application so that they are executable when i just double >click them....i've tried jar files but i need to type the command in the command >line to execute them...

Normally, if you have JRE installed and configured properly, a double click on your jar file (with manifest file and Main-Class Entry) should work;

You can even create a .bat (.sh) file to execute your jar.

java_2006a at 2007-7-10 10:41:41 > top of Java-index,Java Essentials,New To Java...