Want this question answered?
You must have a java runtime environment (JRE) installed to run a jar file .. if it is not a jar ( or it is a class ), you should have the java development kit or JDK .. if the file you are running is a jar file, just double click it. if the file you are running is a class file ex. "MainProg.class" then go to the bin directory, and open command prompt and change to that directory. then java MainProg.class it should run ..
78
You double-click on it. You can indeed launch a jar file from the command line, with the following command: java -jar yourfile.jar As well as this you can assign "Jar Launcher" as the default app. to use when you double-click a jar file, as follows (I don't believe you need the developer tools installed for this): Click once on the .jar file in the Finder and then from the menubar in the Finder select File -> Get Info". Click on "Open with" and from the popup menu select "Other". A file browser window will open. In this window, go to the /System/Library/CoreServices folder and select 'Jar Launcher'. Then make sure the "Always Open With" checkbox is checked and then click Add. Then click the "Change all" button so that any jar file will be opened automatically. Finally, close the Info window and now when you double-click any of your jar files they should run automatically.
javaw.exe is the java runtime environment process. If you run a java application(usually a .jar file .class file) there are 2 main ways of doing this. 1 is by using the command 'java' which will show a command prompt window. The other is using the 'javaw' command which wont show a command promps windows. It will, however, show error windows when a appication is damaged.
I believe a jar takes up less memory but requires java to run exe and jar (although a jar is similar to a zip file) can NOT be run on Mac software.
.jar files contain byte-code compiled to run on the Java Virtual Machine.
you can play the jar files by transfer it in to nokia mobile phones
Just run attrib command..
If your dragging the file on top of the jar then thats because the jar is a file and not a folder. If you drag a file on top of another file your say that you want to run file B with file A. Get a zip Archive software like 7zip (google it) If your using a archive software and this is still happening the only think i can think to tell you is open the archive.
if the file is allready runnable you can type in the terminal: ./filename
if the file is allready runnable you can type in the terminal: ./filename
So you mean that you want to run a jar file that requires a seperate program but you don't have that program? If so, you need to get the correct software. If it tells you for a program and you don't have it, you need to get it.