How do i run my .Jar files that i made in NetBeans? I built the project and got the .Jar file executable java file.
I heard that you need JRE (java run time environment) to execute them.
I got the JRE and when i double click on my java program, it does not do anything.
I have been trying forever to get this working.
i tried the CMD way (java -jar *name*) that did not work.
I dont know how to make my java app work.
I worked hard on my project to find out of that i cant use it
(only in the IDE) it will let me use it.
Please help me.
thanks
modulo_function replied: "The best thing to do is use the command prompt and get yourself into the save directory as the jar file. THEN you can use:
java -jar "name"
to get to the directory:
get the command open
use dir to get a listing of files there
use cd to change directories
if your directory name has a space in it then you will need to put the name within quotation marks."