I want to create a jar file which can be run simply by clicking on it.
Here are the steps which I have followed.
I have created a manifest file which has a listing of main class.
Created jar file using -jar option available in java.
Now the problem is when I try to run this jar file, it gives this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
Though all necessary jar files are included in classpath.
Small Note: When I try to run class files, it runs fine.
Pls help me out.
Thanks and Regards,