Home > Back-end >  Netbeans project won't run
Netbeans project won't run

Time:01-09

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:

Hello World

I receive this error:

Error Message

Does anyone know how to fix this error? If it helps, I was asked to download this as well:

Temurin

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.

CodePudding user response:

try this:
Right click on the Project -> Properties -> Sources -> Change the Source/Binary Format from JDK 6 to newer version.

  •  Tags:  
  • Related