The JDK is missing and is required to run some NetBeans modules Please use the –jdkhome command line option to specify a JDK installation

Jika mendapat error “The JDK is missing and is required to run some NetBeans modules Please use the –jdkhome command line option to specify a JDK installation” ketika menginstall netbeans 8 di ubuntu Anda, maka lakukan hal-hal berikut ini:
1. Edit file netbeans.conf yang terletak di folder /usr/local/netbeans-8.2 dengan perintah berikut:
$sudo gedit /usr/local/netbeans-8.2/etc/netbeans.conf
2. Ubah lokasi netbeans_jdkhome seperti baris berikut:
netbeans_jdkhome=”/usr/lib/jdk1.8.0_121″
kemudian save perubahan file text netbeans.conf

Buka aplikasi Netbeans-8.2, maka error diatas tidak akan muncul lagi 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s