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.
Related
when I click on run, it displays this message in a dialog box.
' Glassfish server could not be started with JDK 16. Please select another Java SE platform.
And then it displays this error
Deployment error: Could not find Java SE Development Kit to start GlassFish Server
See the server log for details.
Is it a issue with glassfish version or jdk version? how can I fix this issue? any idea
You asked: "Is it a issue with glassfish version or jdk version?" - It's an issue with the combination of the GlassFish version and the JDK version that you are trying to use. For example, see here.
"GlassFish 6.2.5 ... officially supports JDK 11 ... runs on JDK 17 and JDK 18ea."
"GlassFish 6.1.0 ... supports JDK 11."
"GlassFish 6.0.0 ... only supports JDK 8."
And so on.
Going farther back in time:
"GlassFish 5.1 requires Oracle JDK 8 Update 144 or later."
Generally speaking, unless you have a good reason not to do so, you should try to use a Java LTS (long-term support) release. You can see a list of recent and older JDK releases, which shows which releases are LTS and which are not. LTS releases:
8
11
17
(But that does not mean GlassFish will not run on other versions. Follow the GlassFish release guidelines.)
You also tagged your question as a NetBeans question.
If you need to change the version of Java you are using in NetBeans, you can go to Tools > Java platforms > Add platform. But again, you may hit limitations where certain versions of NetBeans are not able to support certain versions of the Java JDK - so you need to check the NetBeans release guidelines for that.
For example for NetBeans 14:
"The Apache NetBeans 14 binary releases require JDK 11+, and officially support running on JDK 11 and JDK 17."
And going back to NetBeans 9:
"The main goals for this release are ... Java 9 and Java 10 Support."
I have already installed the software "JST Server Adapter" and "JST Server Adapter Extensions" but Tomcat version 9 still does not appear on the server list. The latest version available is version 8.0
Eclipse version: 2020-12 R, IDE for Java Developers
Apache Tomcat: Version 9
I have already tried removing "JST Server Adapter" but that didn't solve the problem either.
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?
I got this error message when trying to install NetBeans 8.2 in Windows 10 64-bit.
Java SE Development Kit (JDK) was not found on this computer
I installed the JDK, and set the bin directory in the environment.
I had the same problem when I first tried to install Netbeans 8.2. I had JDK 11 installed and I tried everything but was not successful. The problem was with Netbeans 8.2 as it does not support JDK above 9. So I installed JDK 8 and it solved the problem for me. You should try this.
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.