I have been looking at tutorials on http://java.sun.com and the only way I have found to run a compiled Java application is to go to the command line and type in:
java ProgramName.java
I then got curious to how other Java programs operated and so I downloaded one called Jlgui Player which is a Java audio player. I noticed that this program uses executable JAR files. What is a JAR file? I know that it is some type of compression file like Zip but for Java does it also act like an EXE file?
Another thing I noticed was with the NetBeans 3.6 IDE, in the start menu it links to a runidew.exe file in the NetBeans3.6 program files directory. I wasn't aware that you could make EXE files when compiling a Java program or even use EXE files with Java programs. All my compiled programs come out to be a .java file.
I guess my question finally is, what is the best way to create a user friendly Java program that a person can just double-click on a JAR or EXE file and have the Java program run rather than having to go through the command line. The second part of the question is how do I create a JAR or EXE file to use with my Java program?
Thanks for all replies in advance
