Ask Your Question
0

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

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

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

Comments

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

http://stackoverflow.com/questions/33...

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

2 Answers

Sort by ยป oldest newest most voted
0

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

maarten gravatar image

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

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 http://wiki.netbeans.org/FaqRunningOnJre 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
0

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

hhlp gravatar image

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

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:

netbeans_jdkhome="/usr/lib/jvm/java-8-oracle"

or run Netbeans with :

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

Regards.,

from here

and here

Regards.,

edit flag offensive delete link more

Comments

I have openjdk and not oracle jdk

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

Question Tools

1 follower

Stats

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

Seen: 8,489 times

Last updated: Jan 16 '17