Saturday, May 22, 2010

How can i run a jar file by double clicking it?

after double clicking a jar file, a message box (named Java Virtual Machine Launcher) appears, saying "Failed to load Main-Class manifest attribute from c:\users\bigBytes\destop\TryClass.jar"

How can i run a jar file by double clicking it?
looks like you have a problem with your java installation, if java is installed correctly you should be able to run a .jar
Reply:If the jar doesn't have a main class then it is not executable. It might just be an archive file similar to a zip that is used by some other java code.


No comments:

Post a Comment