Reputation: 81
I enrolled myself in the University of Helsinki's Java course. To follow along with this course, I had to install the NetBeans IDE and complete their exercise through this IDE.
However, when running a simple Hello World program:
I receive this error:
Does anyone know how to fix this error? If it helps, I was asked to download this as well:
And I installed NetBeans from this link: https://download.mooc.fi/tmcbeans/installers/tmcbeans_1.4.0_installer.dmg which was provided to me by the website.
Thank you in advance.
Upvotes: 0
Views: 1036
Reputation: 1308
try this:
Right click on the Project -> Properties -> Sources -> Change the Source/Binary Format from JDK 6 to newer version.
Upvotes: 1