Java executable file .jar
Dear Friends,
Actually I am programming an e-learning application so people may learn to use a device after passing through my application. For this I have to create an executable file so it can be executed from any PC or MAC station. So I would like to ask few questions in this regard:
1- I know that a .jar files can be a java executable file but if there any other solutions for creating a .exe file from java?
2- I have tried to create a .jar file by:
a) taking the package of .class files
b) the principal programme file .class
c) and by changing the META-INF file to Main-Class: ProgrammeTest
|_classPackages Folder
|_ all .class files
|_META-INF Folder
|_MANIFEST.MF file
|_ PrincipalProgramme.class
I have made a .zip file from all of this files and folders and after that I changed the extention to .jar. But this seems not to work! Each time that I want to run the file .jar it will open a zipped file so any idea hw can I run this file?
3- What files or programmes does a station (PC or Mac ) need to be able to run a java file?
Thank you so much for taking the time and reading this Topic and also thanx in advance for replying me.
Best Regards
Pishi

