01 Jun 2013
June 1, 2013

Installing NetBeans using JDK7

June 1, 2013 Blog, Java, NetBeans 0 Comment

Installing Java

Java 6 and later versions are required for installing and running the PHP and C/C++ NetBeans Bundles. You can download the latest Java at java.com.

Please read before you begin so you can see what happened.

I first started with a latest JRE



I had issues with JRE see my blog.

Netbeans install

https://netbeans.org/downloads/

Ignore the JDK message, I think it will install them anyways

Ha, we see on the next step I do have to download a JDK and install it. Makes sense, but I wish it was clearer.

I am now downloading JDK SE and Java FX as these are required for my development

Ps I did not download the JavaFX samples, as I think JavaFX comes with the JDK.

I was correct, JavaFX is contained as part of the JDK

I changed the path to be

d:\programs\java\jdk1.7.0_21

It now wants to install the JRE

I changed the destination to

d:\programs\java\jre7

How this affects my already installed JRE we will see

Now we can close, see my result below

Now I intend to sort out my JRE that was installed before trying net beans, as we can see we have a 32 bit one. This is crazy. Oracle make this so confusing for 64bit users. I had used the Java site to detect my OS and install the JRE earlier and now I have two instances.

Let’s try and remove?

Right-mouse uninstall the 32 bit version

Result

Ps. If NetBeans installer was running it may want you to remove the lock file i.e. tell it to close NetBeans. It removes and doesn’t tell you it is successful!

OK we now have the JR and JDK installed in my chosen location, let us try NetBeans install again.

This time we get no error notification of JDK missing

Click Next. We can see below that the NetBeans installer now detects the JDK

I double check the install location of NetBeans and click next

I set GlassFish to go to my preferred location

Click Install

Appendix

Installing the complete JDK and Netbeans.

You can also try the packaged NetBeans Ide download as it is a self-contained install.

If this fails, I will do the JDK manually as in the old days as above for a more controlled install.

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Leave a Reply