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

[1270 byte] By [pishi13a] at [2007-10-3 5:18:18]
# 1
Duplicated (and answered) here: http://forum.java.sun.com/thread.jspa?threadID=769499&messageID=4385466#4385466
ChuckBinga at 2007-7-14 23:25:09 > top of Java-index,Desktop,Deploying...