Ask Your Question

NetBeans - JDK is missing and is required to run some modules

asked 2016-09-22 10:09:24 -0500

azemda gravatar image

I have installed NetBeans IDE 8.1 on Fedora 23, but when I open it shows this error

The JDK is missing and is required to run some NetBeans modules

I have already installed the latest openjdk package. Any help?

edit retag flag offensive close merge delete


Hello, This answer maybe suitable, but pay attention to the comments in the answer if you are using openjdk.

IcyBox gravatar imageIcyBox ( 2016-09-22 10:22:32 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2017-01-15 17:13:21 -0500

maarten gravatar image

updated 2017-01-16 16:11:05 -0500

No need to install Oracle JDK. Use OpenJDK as can be downloaded from the Fedora package servers.

The location of OpenJDK is /usr/lib/jvm/java-openjdk.

Read for passing it to NetBeans.

Don't forget to install java-1.8.0-openjdk

I discovered this folder using the command rpm -ql java-1.8.0-openjdk

edit flag offensive delete link more

answered 2016-09-22 11:07:35 -0500

hhlp gravatar image

updated 2016-09-22 11:11:03 -0500

Adapted to the Original IDEA :

Find the file some/where/netbeans-8.x/etc/netbeans.conf

or find

sudo find / -name netbeans.conf 2>/dev/null

The following line needs to be set:


or run Netbeans with :

netbeans --jdkhome /usr/lib/jvm/java-8-oracle


from here

and here


edit flag offensive delete link more


I have openjdk and not oracle jdk

azemda gravatar imageazemda ( 2016-09-22 11:18:49 -0500 )edit
hhlp gravatar imagehhlp ( 2016-09-22 11:28:10 -0500 )edit

Question Tools

1 follower


Asked: 2016-09-22 10:09:24 -0500

Seen: 8,605 times

Last updated: Jan 16 '17