Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

executable jar files

807598Jun 10 2006 — edited Jun 10 2006
Hi All,
I am created a executable jar file.its working fine and doing its task when I click on that file in windows.Samething is also working fine in Linux OS.But its working only through console by giving the following command.

java -jar test.jar

Its not working by just clicking on that jar file in Linux OS.In Linux its just unzipping the file.How to make the jar file runs automatically when we just clicks on that file.Do we need to change the OS settings????
thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 8 2006
Added on Jun 10 2006
5 comments
128 views