Skip to Main Content

Java Programming

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!

How to execute jar file

807603Nov 17 2007 — edited Nov 18 2007
Dear all,
1. I am trying to import a .jar file and execute (run) in eclipse. I know it can be done from command window by java -jar z.jar . But I am supposed to do it in eclipse . I would appreciate your help.

2. jar files are supposed to be executable. But in my premium window vista as well as in XP it doesnot run by double click though I have given the class path. How can it be done?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 16 2007
Added on Nov 17 2007
6 comments
561 views