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
The manifest file is in the same directory as the class file clearly stating what file has the main() method
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.
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