Can't create project on Netbeans 8.2 with JDK 10

蓝咒 提交于 2019-11-28 05:17:37

问题


I am trying to create project on Ubuntu.It just can't do it. Doesn't give me an error or something, just this blank screen.

Help/About:

Product Version: NetBeans IDE 8.2 (Build 201609300101)
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
Java: 10.0.2; OpenJDK 64-Bit Server VM 10.0.2+13-Ubuntu-1ubuntu0.18.04.1
Runtime: OpenJDK Runtime Environment 10.0.2+13-Ubuntu-1ubuntu0.18.04.1
System: Linux version 4.15.0-33-generic running on amd64; UTF-8; en_US (nb)
User directory: /home/q/.netbeans/8.2
Cache directory: /home/q/.cache/netbeans/8.2

My Installation Steps:

Step 1- I have installed latest JDK from Oracle:jdk-10.0.2_linux-x64_bin.tar.gz

Step 2- Extract all packages move file with

sudo mv jdk-10.0.2 /usr/lib/jvm

Step 3- Set environment variable as we do in Windows System Update your .bashrc file and add the following line

export JAVA_HOME=/usr/lib/jvm/jdk-10.0.2
export PATH="$PATH:$JAVA_HOME/bin"

Step 4-

chmod a+x netbeans-8.2-linux.sh

Step 5-

./netbeans-8.2-linux.sh

Step 6- Change the JDK directory in the Netbeans installation

/usr/lib/jvm/jdk-10.0.2

Step 7- Finish Installation

I have also looked at the following question. But I don't want to use JDK 8 which is an ancient version of JDK. Can't create project on Netbeans 8.2

This problem has started when I have moved Wİndows 10 to Ubuntu LTS 18.04.

IDE Log(Too much long for stackoverflow):https://shrib.com/#0waz1WhsX_zc_.FCtjex


回答1:


NetBeans IDE 8.2 does not support JDK 10. Go to netbeans.apache.org and install the latest release of NetBeans instead.



来源:https://stackoverflow.com/questions/52246826/cant-create-project-on-netbeans-8-2-with-jdk-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!