Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JVM Launcher Error

924657Mar 18 2012 — edited Mar 18 2012
Hello!


I've got a problem. Everytime i run a .jar file the same error occours:


Java Virtual Machine Launcher
*Could not find the main class: [package].[projectname]. Program will exit.*

or

*Could not find the main class: [package]. Program will exit.*


(without the [ ])
This does not only occour at "self made" programs.

I'm running Win7 x64, the newest JRE, the 7.02 JDK and Netbeans (It does not only occour at "self-made" .jar files).
I've already uninstalled everything that had sth to do with java, rebooted my pc and reinstalled everything (JRE+JDK). But nothing changed.
Please help me.

Armin

Edited by: 921654 on 18.03.2012 06:25
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 15 2012
Added on Mar 18 2012
0 comments
129 views