Ritchie Shatter
Ritchie Shatter

Reputation: 195

Adding JDK to netbeans 8.1

I have netbeans set up in a C++ environment. I want to be able to write some java applications. How do I add the java programming environment to netbeans? It asks to run a command line that I know nothing about.

enter image description here

Upvotes: 1

Views: 3767

Answers (2)

Ben
Ben

Reputation: 2255

Or you install a bundle of JDK+NetBeans from http://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-142931.html and then you can upgrade the installation with C++-Plugins at Tools|Plugins within NB itself.

Upvotes: 0

Am_I_Helpful
Am_I_Helpful

Reputation: 19158

You need to install the JDK first before installing the plugin for Java/JRE.

You need to manually install the JDK from the Oracle's Official Java SE Development Kit 8 Downloads.

Then, you need to enable JDK 8 Support in NetBeans IDE using the linked tutorial.

Finally, you can proceed with the installation of the desired plugins.

It asks to run a command line that I know nothing about.

After performing the said steps, you won't need to worry about that. It'd be automatically configured with the listed steps.

Upvotes: 1

Related Questions