You will not need a batch file to execute a jar file. The JDK and JRE installations make the Registry entries needed to execute a jar file. Put your class files in a jar file with a correct manifest...
Type: Posts; User: Norm
You will not need a batch file to execute a jar file. The JDK and JRE installations make the Registry entries needed to execute a jar file. Put your class files in a jar file with a correct manifest...
Batch files are strictly an OS thing.
Java is definitely interpreted. A benefit is that the same code can run on many OSs without any changes. Copy the jar file and the program runs.
Sorry, this is a java programming forum. Try a forum for the OS you are working on.
In the command line in the Registry you use a place holder like: %1 or %*
If you do the steps that I posted in #2 you will see what a command line looks like.
Here is a sample command line from...
Yes you can on Windows and perhaps on linux.
This isn't related to java programming. It's an OS setup problem.
In windows you can specify the commandline you want executed when double click on a...