I try to make a JAR file but I'm having problems with the main class.
I am using Windows. When I write in the command prompt "jar cfe
MyHelloProject2.jar Hello.class MyHelloProject2" the JAR file appears,
but i get the following error message:

'Could not find the main class: Hello.class. Program will exit.'

I have tried with many alternatives, (such as MyHelloProject2/
Hello.class) but no route seems to be the correct one. I don't know
what is the problem.
Also, it would be of great help if you could explain me how to extract
the manifest file from the jar archive.

Thanks.

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to