I'm trying to install NetBeans on macOS Mojave - I want to work with the Matisse GUI builder.
I installed Open JDK 12 via SDKMan. Then I ran this installation script, which the Apache NetBeans docs refer to.
However, after installation NetBeans didn't start. I downgraded to Open JDK 11 via SDKMan, but it also didn't work.
Any ideas how to debug the problem? Anyone used NetBeans with a recent JDK version (10+) on MacOS?
Related
I've recently installed a fresh Mac OS and installed java using SDKMAN but no windows apps recognize the jdk throwing a java not installed error. Trying to install NetBeans using the .pkg throws a similar error.
Meanwhile, all terminal apps like gradle have no problem with the JDK that was installed using SDKMAN.
How can I use the jdk installed with SDKMAN with windowed apps in Mac?
Checking this answer I've solved it by temporarily installing a similar Java in question through the .dmg file. After that, I've installed Netbeans 14 through the .dmg file as well.
Once NetBeans was installed, I deleted the Java installed through the dmg to manage all my JDKs through sdkman. Since sdkman sets java_home, NetBeans continued to work without a problem.
For some reason, NetBeans installer doesn't detect the current java by the java_home environment but through something else. But NetBeans works without a problem.
Exception:
java.lang.NoClassDefFoundError:
java/util/jar/Pack200
This error occur when I tried to uninstall Apache Netbeans 11.2. I've tried to uninstall it using Windows' "Add and Remove" setting and CCleaner. Both show same error. I've tried look into other stackoverflow questions regarding this issue but their issues are different from mine.
I had JDK 8 installed and then I installed Apache Netbeans 11.3. After
I wanted to update the JDK and uninstall JDK 8 and install JDK 16. Then
I wanted to update Netbeans and I tried to uninstall Netbeans 11.3, but I
couldn't, I got the same error mentioned above, fix it as follows
1.- Uninstall the JDK 16
2.- Install the JDK 8 again
3.- Uninstall Netbeans 11.3 (this time I got it)
I got the following message when opening netbeans that jdk has not been found on this computer. I have got the jdk installed, and set the bin directory in the environment. Btw, I am using Windows 10 pro 64 bit.
I have tried this in the command prompt.
C:\Users\admin\Downloads>netbeans-8.2-windows.exe --javahome "C:\Program Files (x86)\Java\jdk-10.0.2"
but then i get this message.
It's only the launcher stub.
OS: x64
Does someane know what i can do about this?
Thanks.
Java 8 is still the standard for now. Uninstall java 10 and install this and reset your env vars.
http://www.oracle.com/technetwork/pt/java/javase/downloads/jdk8-downloads-2133151.html
Your computer is 64bit. so your jdk should be in Program Files not Program Files(x86)
C:\Users\admin\Downloads>netbeans-8.2-windows.exe -javahome "C:\Program Files\Java\jdk-10.0.2"
JDK 8 was the latest version at time of NetBeans 8.2 is developed. For that reason, JDK 8 is required for installing and running all NetBeans Bundles of version 8.0 - 8.02. They do not run on JDK 9 or later.
Download JDK 8
Download latest version of NetBeans
I had netbeans 8.1 installed on my PC (windows 8.1) with JDK version 8. I uninstalled netbeans 8.1 and then installed netbeans 8.2. After installation I ran it and everything worked fine.
After installing netbeans 8.1, I uninstalled JDK 8 and then installed JDK 9.
After installing JDK 9, when I tried to run NetBeans again, it gave me error that
Java SE Development Kit not found on this computer
I looked it up on the internet and came to know that cause of this error was that when NetBeans 8.2 was installed with JDK version 8, NetBeans was configured to use JDK 8. So when JDK 9 was installed, NetBeans couldn't find the JDK 8 which it was configured to use by default and hence this error was thrown.
I then uninstalled NetBeans again and then when I tried to run its setup again, it gave me the same error. Now I can't even run the NetBeans setup.
Can someone suggest a solution to this problem?
PS. I have already added JDK 9 to environment path variable.
So after some searching i have come to know that for netbeans 8.2, you need JDK 8 because JDK 8 is required to use JavaFX 8 features in NetBeans IDE 8.2.
After installing JDK 8, Problem was fixed.
I want to know How to configure NetBeans 7.3.1 with Tomcat 8.0 without getting the specified server location (catalina home) folder is not valid error?
I have searched over internet but found no solution.
Netbeans currently supports Tomcat 7.0.34 per the download page and installation notes.
The Java SE Development Kit (JDK) 6 Update 26 (or later) or JDK 7 Update 10 (or later) is required to install the NetBeans IDE.