Search code examples
javadeploymentjava-web-start

Java webstart issues with Java 7u65 "Could not find main-class..."


After updating java to 7u65 (from 7u60) one of our java web start applications will not launch.

The error I get is 'Could not find main-class ... in jar'

I read through the release notes and bug fixes for 7u65 in addition to searching on SO to find any information. I have not found any documentation that would explain why this worked fine in 7u60 but not 7u65

WebStart error


Solution

  • I had the same issue. solutions:

    • Move the jar which contains main class on top, or

    • add main="true" for the jar which contains main class