Issue
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:
href="https://i.stack.imgur.com/70gsQ.png" rel="nofollow noreferrer">
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.
Solution
try this:
Right click on the Project -> Properties -> Sources -> Change the Source/Binary Format from JDK 6 to newer version.
Answered By - sittsering
Answer Checked By - Willingham (JavaFixing Volunteer)