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 run an application packaged as an executable Jar

807588Jul 29 2009 — edited Jul 31 2009
I have started learning how to create a executable jar file which contains an application and execute it by double clicking the jar file,Here my jar file is schedule.jar. but i have one problem, i cannot run my application. The problem is that the application contains another jar file in it.

Here schedule.jar file contains the contents as follows:

META-INF/MANIFEST.MF
com/mymdworld/server/scheduler/ScheduleManager.class
com/mymdworld/server/scheduler/ScheduleThread.class
com/mymdworld/server/scheduler/BackupParser.class
com/mymdworld/server/scheduler/Backupschedule.xml
com/mymdworld/server/scheduler/generated/ObjectFactory.class
com/mymdworld/server/scheduler/generated/ScheduleItem.class
com/mymdworld/server/scheduler/generated/ScheduleItems.class
jsch-0.1.37.jar //this is another jar file with in the application
SftpServerDetails.properties

So please help me how to run the application by double clicking on the schedule.jar.Its Urgent....
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 28 2009
Added on Jul 29 2009
34 comments
742 views