Results 1 to 3 of 3
Thread: JAR execution
- 11-26-2008, 07:20 AM #1
Member
- Join Date
- Nov 2008
- Posts
- 1
- Rep Power
- 0
JAR execution
Hi! am new to java and am trying to create an executable jar .The problem arises when i try execute the created jar file .i've tried using the command line "java -jar Develop.jar" but an error
Exception in thread "main" java.lang.NoClassDefFoundError: Develop
is displayed.
The manifest file is in the same directory as the class file clearly stating what file has the main() method
help
- 11-26-2008, 07:30 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Can you post here the content of the manifest file.
You can find lots of information from the Suns' tutorial as well.
Here is the link.
Search the forum, you can find lots of such similar thread discuss here in our community.
- 11-26-2008, 09:09 AM #3
i too have the similar issue like urs in the past...
please compile ur java files, create a *.jar file again.
The important thing is too add a "blank" line break at the end of the manifest file.
you could also refer from here : Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment) <----- recommended xD
Similar Threads
-
execution of threads
By jyotigupta6 in forum Threads and SynchronizationReplies: 5Last Post: 11-16-2008, 12:28 AM -
Package/Execution woes...
By Hiro ZA in forum New To JavaReplies: 2Last Post: 01-09-2008, 07:42 AM -
Method execution time
By javaplus in forum Advanced JavaReplies: 3Last Post: 11-26-2007, 09:51 AM -
Execution methods – Reflection
By Java Tip in forum Java TipReplies: 0Last Post: 11-15-2007, 03:19 PM -
Execution cut
By Eric in forum Advanced JavaReplies: 1Last Post: 06-27-2007, 03:52 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks