I've created a java application that should be deployed. However, on every deployment, when i first run the jar file, i get this error:
"Could not find the main class. Program will exit".
When i run the file again, it works, and it works every time after that..
I'm using netbeans, and the Main Class under project properties are set to "project".Main, which is the correct class. Does anyone have a suggestion?