New
#1
Having an issue with jre 6u24
Hi,
I have a jar file that I want to execute on my Win 7 box but when I run it, it says "main class not found" when double-clicking on it to launch. When I open a command-line box and type in "java -jar ap.jar", then it works fine. This problem is just when I double-click it.
To make sure it tries to run it with the JRE, I did an "open with.." and selected the JRE there, but still no go.
I have then copied the jar file across to another box that had the jre already installed and it works there, so there is nothing wrong with the jar file itself.
Any ideas what the issue could be?
Thanks!