Solution for NetBeans 8.2 not working in Java 9 environment

NetBeans 8.2 doesn't work in JDK9 environment!

2018.4.12 The latest stable version of NetBeans 8.2 at the time of writing does not support JDK 9 and will not work properly. Although it starts, nothing is displayed when the project is opened, so it is useless.

By using the Nightly version, it will work in the JDK9 environment for the time being, but I do not recommend it because it has a bad reputation on StackOverFlow. Nightly version download link

Use JDK8 obediently

Download if you don't have JDK8

For Mac


You can check if there is a 1.8.x directory here If it is not included, please download it from the link below.

Specify the JDK that runs NetBeans

There is no problem if you edit the environment variable JAVA_HOME to make JDK8 the main. JAVA_HOME settings on Mac If you want to use JDK8 only with NetBeans, please set as follows. For Mac


To edit.

# netbeans_jdkhome="/path/to/jdk"

Uncomment the commented out and specify the path of Contents / Home of your JDK8 directory. Example:


Now it works.

Recommended Posts

Solution for NetBeans 8.2 not working in Java 9 environment
I dealt with Azure Functions not working in Java
JavaFX environment construction in Java 13
Web application development environment construction in Java (for inexperienced people)
Rock-paper-scissors game for beginners in Java
Java Spring environment in vs Code
[For beginners] Run Selenium in Java
[Java] Do not use "+" in append!
Build Java development environment (for Mac)
[Java & SpringBoot] Environment Construction for Mac
Settings for SSL debugging in Java
First steps for deep learning in Java
Key points for introducing gRPC in Java
must not return in the for statement
Play Framework 2.6 (Java) environment construction in Eclipse
Image is not displayed in production environment
Working with huge JSON in Java Lambda
Modern Java environment for Windows using Chocolatey
Do not declare variables in List in Java
Java application development environment created in VM environment
Summary of Java environment settings for myself [mac]
ChatWork4j for using the ChatWork API in Java
Technology for reading Java source code in Eclipse
When there are environment variables in Java tests
Practice working with Unicode surrogate pairs in Java
Set pop-up display for Java language in vim.
Build a development environment for Docker, java, vscode
Points stuck in building VSCode & Java development environment
[Beginner] Install java development tool in cloud9 development environment.
Compare PDF output in Java for snapshot testing
Enable / disable SNI in Java for each communication
Things to watch out for in Java equals
Replacing system environment variables by reflection in java
Remedy for command not found in rails s
Guidelines for writing processing when a value exists / does not exist in Java Optional
For JAVA learning (2018-03-16-01)
Partization in Java
[Java] Environment construction
Changes in Java 11
Rock-paper-scissors in Java
Java environment construction
Java development environment
2017 IDE for Java
Study Note / Waiting for read () in Java Socket InputStream is not released by Thread.interrupt ()
Pi in Java
Java for statement
FizzBuzz in Java
[LeJOS] Let's program mindstorm-EV3 in Java [Environment construction part 2]
How to create a Java environment in just 3 seconds
Make "I'm not a robot" in Java EE (Jakarta EE)
Do not write if (isAdmin == true) code in Java
Maven fails in Java7 environment (Received fatal alert: protocol_version)
Things to watch out for in future Java development
A note for Initializing Fields in the Java tutorial
[For beginners] Minimum sample to display RecyclerView in Java
Get Locale objects for all locales available in Java
[Java] Get the file in the jar regardless of the environment
[Java] Environment construction procedure for developing struts 1.3 with Eclipse
This and that for editing ini in Java. : inieditor-java
[Java] Explains ConcurrentModificationException that occurs in java.util.ArrayList for newcomers
I tried using an extended for statement in Java