+ 2
Netbeans error
I've installed JDK 16 and Netbeans 12. The first one I used with Ant it's no problem. But when I opened it yesterday, I got messages that it cannot execute. I don't know what's the problem, I didn't change anything. Maybe anyone can help me or has the same problem. Thanks
7 odpowiedzi
0
try using IntelliJ IDEA by Jetbrains. Perfect for JAVA. Here's a link //
https://www.jetbrains.com/idea/
0
Did you fix it? I was using NetBeans 12.3 with JDK 11 and tried to switch to OpenJDK 11. Now I can't open, run or debug projects. I've just reinstalled the IDE with JDK11 again but still broken. I get an error message named "unexpected error"
0
ogoxu Sorry I can't fix it with JDK 11. Now I use NetBeans 12.2 and JDK 8. There is no problem with jdk 8
0
Sonal Naidu Uhm, my lecturer asked to us to use NetBeans. Anyway, thank for your suggestion
0
ogoxu yes, i uninstalled the netbeans and jdk and downloaded jdk 8, i hope there is no big difference from JDK 16
0
An "easier" way to fix this problem is to set your project view to File - then go to the file build-impl. xml right click it and select clean. Then shut down the compiler - restart it and clean and build the application. It sorted the problem out on my compiler.
0
To fix the error, you need to uninstall JAVA 14 and install Java 13 and rerun NetBeans installer. Now, you would be thinking, why we need to do this. Well, it’s very simple. This error occurred because the following is mentioned on the NetBeans official website’s download page:
“The installers will NOT run under JDK 14 because usage is made of the Pack200 Tools and API, for packing and unpacking, which is removed in JDK 14, see JEP 367.”
NetBeans doesnt support JAVA JDK 14
This means the problem was the JAVA JDK version. JAVA 14 removed the Pack200 Tools, which the current NetBeans installation is using.
Therefore, uninstall JAVA 14 and install JAVA 13. After that, begin NetBeans installation again and it will work correctly. This is how to fix NetBeans installation error.
Regards,
Rachel Gomez