NetBeans Installation - java

Is it true that just JDK version 7 could be used to install NetBeans IDE 8.0.2?
On my device, I have been installed the last version of JDK, but while I am installing Netbeans, a message appeared to tell that I have to install JDK. In other words, Netbeans didn't recognize that there is already a JDK and successfully installed !!

NetBeans 8.0 runs just fine with Java 8.
If NetBeans doesn't detect or find your JDK, you can always provide the location on the command line when starting NetBeans, e.g.:
netbeans64.exe --jdkhome c:\Java8
I have never used the NetBeans installer, but I think you can pass that parameter to the installer as well.
Once, installed, you can also edit conf/netbeans.conf and un-comment the line #netbeans_jdkhome="/path/to/jdk" and make it point to your JDK:
netbeans_jdkhome="c:\Java8"

The Java SE Development Kit (JDK) 7 Update 10 (or later) or JDK 8 is required to install NetBeans IDE.
As seen on NetBeans 8.0.2 Installation Instructions it seems you really have to be on JDK 7 or 8.
While installing one of those versions, remind yourself to set the PATH variable.

Related

NetBeans Installation issues with JDK 10

I'm trying to run NetBeans 8.2.
So I installed the necessary requirement (JDK/JRE) but when I select the JDK folder it's says :
An unknown error has occurred while validating the path.
It's already peculiar that it didn't get recognized automatically but even if I select the folder manually it won't accept it.
]
Use JDK 8, not JDK 10.
The installation instructions for NetBeans 8.2 say:
The Java SE Development Kit (JDK) 8 is required to install NetBeans IDE.

Installing NetBeans 8.0.2 with JDK 9.0.1

When I try to install NetBeans 8.0.2 on my PC (Win10-64bit) I get the error message:
despite that I already installed JDK 9.0.1, as evident in the command prompt:
My path variables are set as follows:
AFAIK Netbeans which supports JDK 9 is yet to release (i.e, Netbeans 9.0 which is in development mode).
And the documentation states this.
By: jkovalsky, 09 Oct 2017
If you have downloaded JDK 9 recently and try to convince your NetBeans 8.2 IDE to run on top of it we will probably disappoint you, because 8.2 version is not designed to work with JDK 9.
In order to use JDK 9 happily you will need to download a NetBeans 9.0 development build from Apache Incubator. For more information please read Geertjan Wielenga's post on Using Apache NetBeans IDE.
Thank you!
NetBeans team
I've also faced the same issue with Netbeans 8.2 (but you're trying with Netbeans 8.0.2). So, I installed JDK 8 and the Netbeans installation went fine.
Still if you want to use JDK 9 you can install it alongside with JDK 8. But you need to set JDK path as JDK 8 in the system path (like you did for JDK 9). While installing Netbeans select JDK 8 installation path as JDK for Netbeans.
I hope it'll be helpful.
As mentioned, you are getting error when trying to install NetBeans, in that case you can specify the JDK at command line
<netbeans_installer>.exe --javahome "C:\Program Files\Java\jdk1.9.0"
FaqSuitableJvmNotFound

Issue installing Netbeans in Windows 10: Java SE Development Kit (JDK) was not found on this computer [duplicate]

This question already has answers here:
How can I install Netbeans with JDK 10
(3 answers)
Closed 3 years ago.
I'm trying to install the TMC Netbeans version on Windows 10. I'm getting this error:
Java SE Development Kit (JDK) was not found on this computer
JDK 7 is required for installing Netbeans with TMC 1.1.8. Make sure that the JDK is properly installed and run installer again. You can specify valid JDK location using --javahome installer argument.
I got the same error using the regular version of Netbeans. I know it is installed correctly because I got IntelliJ to work just fine. How do I fix this issue? I've been searching for answers, but I haven't found anything for Windows 10?
Also, I have JDK 9 installed.
Download and install jdk-8u181.exe for Netbeans 8.2 to install properly. Its a requirement under the Netbeans 8.2 installation instructions
Netbeans with JDK
https://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-3413139-esa.html
Open cmd > Change directory to wherever your netbeans executable installer is present > type {name of the netbeans executable installer}.exe --javahome"C:\Program Files\Java\{name of the jdk folder}
This worked for me.
Took me some time to overcome this. This is what I did:
1.During installation of JDK change the path from jdk-9.x.x to jdk
2.open netbeans installer location in command prompt and type:
netbeans.exe --javahome "C:\Program Files\Java\jdk"
Just install java 8. because java 10 is not work properly with netbeans
I think you setting Environment variables for java wrong. You should check Environment variables for java installation
JAVAHOME : C:\Program Files\Java\jdk-9.0.4
path : C:\Program Files\Java\jdk-9.0.4\bin
On Win10 I tried this and it works:
1. jdk-8u181-windows-x64.exe
2. netbeans-8.2-windows.exe
This works.
Else, with JDK 10, I got everytime the error message listed in this Topic.
Just install java 8. Because java 10 is not work properly with netbeans.
Download and install jdk-8u181.exe for Netbeans 8.2 to install properly.
I just had the same error.
I downloaded the netbeans IDE then downloaded the JDK, still had the error.
I restarted my computer and tried the installer again and it worked.
Download and install:
a. jdk-10.0.2_windows-x64_bin;
b. jre-8u181-windows-x64
c. netbeans-8.2-windows.

Netbeans 6.9.1 not working on windows 8

I want to make Java Desktop Application but Netbeans 6.9.1 is not working on windows 8.1 (it crashes on double click to run). I have installed JDK8 along with Jre7 (both 32 and 64 bit). How to make it run, Netbeans 8 is working properly.
Netbeans 6.9.1 is not working on windows 8.1
You must have JDK 6.0 on your system to install and run NetBeans IDE 6.9.1.
Source NetBeans IDE 6.9.1 Release Notes.
To make Netbeans run on JDK 6, if you have more than one JDK do this:
You can change the JDK for Netbeans by modifying the config file:
Open netbeans.conf file available under etc folder inside the NetBeans
installation. Modify the netbeans_jdkhome variable to point to new JDK
path, and then Restart your Netbeans.
Sample
# Default location of JDK, can be overridden by using --jdkhome <dir>:
#netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_45"
netbeans_jdkhome="C:\Program Files\Java\jdk1.6.0_45"
mainly the problem is that your netbeans and jdk are not compatible. you should download lastest jdk 8 and netbeans which you can from here.
DONT FORGET TO SET PATH.
I got a Solution
You must have JDK 6.0 on your system.
Then SET PATH at time of installation to JDK 6.0 .

How to install Netbeans 7.4 on mac os mavericks (with jdk 7 update 45 already installed)?

I am trying to install Netbeans 7.4 on my mavericks mac os system but I get this very strange message at the start of installation :
No JDK found
NetBeans IDE cannot be installed.
Java (JRE) found on your computer but JDK 7 update 10 or newer is required.
Please download and install the latest update of JDK 7 from http://www.oracle.com/technetwork/java/javase/downloads/index.html and restart NetBeans installation.
What is so strange here is that I have already installed jdk 7 update 45 on my system, since I use it to work on projects made with IntelliJ Idea, the other IDE that I use.
Update1 : Here is what java -version gives
Update2 : System Preferences --> Java
Are you sure that you are not confusing jre with Java development tool kit a.k.a JDK. You may have jre but may not have JDK.
Try this and let us know the JDK version .
Open the terminal in OSX and type this -
java -version

Categories

Resources