James
James

Reputation: 1

Netbeans 10 not installing

I'm having issues trying to install NetBean 10 (incubating) on a laptop. I've checked that Java is installed, as well as JDK (jdk1.8.0_191). I've checked that Java is installed correctly by going to the command line and typing "java -version" and it correctly responds

java version "1.8.0_191"
Java(TM)SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

I've checked that the environment varible "JAVA_HOME" is correct (echo %JAVA_HOME%), and that the Path variable is correct.

However when I try installing NetBeans (from the C:\netbeans10\bin\netbeans64.exe) (yes, also double checked the laptop is correctly running Win10 64bit, it is) a logo for netbeans briefly appears, goes away after 1 sec, and nothing else happens.

I've tried downloading a fresh NetBeans, reinstalling Java, rebooting the system, disabled anti-virus, disabled firewall, tried from safe boot, however it just does not install.

Anyone have any ideas on what step I'm missing so that I can get this installed?

Thanks in advance.

Upvotes: 0

Views: 980

Answers (1)

skomisa
skomisa

Reputation: 17383

A possible caused of your problem is that NetBeans is trying to run using a version of Java that does not exist on your machine. To eliminate this as a possibility:

  • Locate the file netbeans.conf. It will be in the etc directory within the NetBeans installation directory.
  • Open the file in any text editor. It is just a properties file containing name/value pairs,
  • Locate the line containing the text netbeans_jdkhome.
  • If the line is commented out delete the leading # character.
  • Set the value to the actual path to your JDK. For example, on my machine it would be: netbeans_jdkhome="C:\Java\jdk1.8.0_191".
  • Save the file and (re)start NetBeans. NetBeans will now use the JDK specified by the netbeans_jdkhome property.
  • If NetBeans still doesn't start then update your question with the content of the NetBeans log. See NetBeans - where to find the IDE log? for details on locating that file.

One other point: although you can run NetBeans 10.0 using JDK 8, I can't think of any good reason to do that. Most users will probably download and install JDK 11, and use that instead.

Upvotes: 1

Related Questions