This question already has answers here:
Installing NetBeans 8.0.2 with JDK 9.0.1
(2 answers)
Closed 3 years ago.
NetBeans does not download and shows me the message shown in the image below, knowing that I installed the jdk 13 and included in the environment variables correctly
Based on the icon in the top left corner of your screenshot, it looks like you are trying to install NetBeans version 8.x using JDK 13. That is an invalid combination since NetBeans 8.x only supports the use of Java 7 or Java 8.
From the NetBeans IDE 8.0.2 Installation Instructions:
The Java SE Development Kit (JDK) 7 Update 10 (or later) or JDK 8 is
required to install NetBeans IDE.
So unfortunately that error message is more than misleading; it is incorrect. Using releases newer than JDK 8 simply won't work.
To fix the problem you should install the latest release of JDK 8 before repeating your installation of NetBeans.
Alternatively, you could download and install the latest version of NetBeans, Apache NetBeans 11.1. That approach is definitely preferable if it is feasible for you it since it offers three advantages:
You are using the latest version of NetBeans.
You are using the most recent JDK.
Since you have already installed JDK 13 you won't need to download any other JDK. Apache NetBeans 11.1 will run fine using JDK 13.
Related
So, I migrated from Java 6 to Java 8 and from Eclipse Kapler to Neon. Before I used eclipse-SDK-3.7.1-linux-gtk-x86_64 for the SDK in my build.xml.
Now I'm trying to figure out which SDK I need to use and where should I download it. Should it be eclipse-SDK-4.6-linux-gtk-x86_64? How do I know which version of SDK is the needed for Eclipse Neon and JDK 8?
Neon was indeed version 4.6, but it was released in June of 2016, meaning it's old enough to have been archived. The current release, 2020-03, is capable of writing for Java 8 just fine.
I have been using Netbeans upto 8.2 for several years. But now I have installed JDK 10 and was forced to migrate to Eclipse. But I do not feel very comfortable. I would like to go back to Netbeans.
Does Netbeans support JDK version 10 now? I mean July, 2018.
Yes, NetBeans supports Java 10, but there are several important caveats to be aware of:
NetBeans 8.2 does not support Java 10. It just won't work.
NetBeans 9 supports Java 10. It was released yesterday (July 29, 2018).
NetBeans 9 only officially supports Java SE. Some options (plugins) available on NetBeans 8.2 are not provided on NetBeans 9 by default, such as Java EE and C/C++. However, there is a way to add those options (at your own risk). See this answer to How to get Netbeans 9 to deploy a valid webapp on Tomcat for details. Also see What's Happened to My Favorite NetBeans Plugins?
Notes:
NetBeans 8.2 is an Oracle product, but they are in the process of handing the NetBeans components over to Apache, and NetBeans 9 comes from Apache. The transition explains why many plugins are not available in the initial release of NetBeans 9, but they will become available in coming releases.
The NetBeans 9 download is in the form of a single zip file for all operating systems. Just unzip to a folder, then locate and run netbeans64.exe (or netbeans.exe for 32-bit).
Updated to add further notes:
You can safely install and run NetBeans 8.2 and NetBeans 9 concurrently.
The default platform for NetBeans 9 is still Java 8. You must explicitly add JDK 10 as a platform: Tools > Java Platforms > Add Platform...
To create a Java 10 project, open the project's properties and ensure that the following are set:
Properties > Libraries > Java Platform: JDK 10
Properties > Sources > Source/Binary Format: JDK 10
An easy way to verify that JDK 10 is set up correctly is to create a trivial Java application and put this code in the main() method: var v = 123; System.out.println("v=" + v); If that compiles and runs you are fine (and vice versa).
Netbeans 9 started working for me after I moved to JDK 10.0.2 instead of 10.0.1 ..... may be it will help guys who are struggling like me.
Enjoy.
I wish to compile my code with jdk 10 using eclipse IDE. For this I have added jdk-10.0.1 to installed jres and have selected that as my default
.
But in the compiler compliance level I do not get 10 in the dropdown. If only I could download java 9 which is currently not possible I could have compiled the same using java 9. Also eclipse photon which is the latest one available does not have java 10 in the dropdown
.
Question
How can I compile my code using java 10 with eclipse, since we need an upgrade from java 8 to java 10.
Java 9 support not available
Eclipse photon download link
Yes it worked with the latest version of oxygen eclipse. Thanks
After some experiences with Scratch, they told me the best option for beginners is Java, if I want to learn something usefulin future. I downloaded Java SE (JDK 10) and Netbeans and installed both. Netbeans ask for a folder that is Java, which I just installed. But it doesn't recognize the folder and says firstly no compatible version found and later the specified JDK folder does not contain JDK. What is wrong?
You have installed JDK 10 I guess. There was a contradiction in your question since you have downloaded JDK10 and installed JDK8. First of all, I would like to mention that the latest version of of Netbeans supports only JDK8.
Try installing JDK 8 and reconfigure Netbeans accordingly.
NetBeans only supports JDK 8. Install that and point to the folder for JDK 8 when NetBeans asks. If it doesn't ask again you can do it manually, shown here Changing java platform on which netbeans runs
I have downloaded the ADT bundle from Google to develop Android applications. Also I have installed Java with JDK 8u5 for MacOSX 64 bits. When I try to open Eclipse by clicking over Eclipse icon, it shows a dialog saying it's necessary to install a Java 6 version.
Is it possible to execute Eclipse (and other java applications) with Java 8? If yes, How can I do it?
(I have seen solutions for JDK 7 but not for JDK 8)
Many thanks and kind regards
The current ADT is built on Eclipse Keplar base. Eclipse (Keplar), currently, does have built in support for using Java 8 .. but it can be added (here are directions from Eclipse). There are builds of the next Eclipse (Luna) release stream that should have Java 8 "builtin" this week. However, I have not seen any plans to build ADT on top of a pre-release Eclipse (Luna) version. The Android team has typically waited beyond release.