> To create a JAR file, go to the directory where your files are located and
> type:
>
> jar -cf test.jar *.*
i tried just as you mentioned
java test.jar indicated some class not found exception could not find
the main class
java -jar test.jar told me failed to load Main-Class manifest
attribute from test.jar
the folder in which i tried these has two classes J1.class and
J2.class and J1 is the main class

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to