Download and install Java SE Development Kit and NetBeans IDE Click on the download link. The setup file will start to download in your computer system. Note: You must accept the JDK 8u111 and NetBeans 8.2 Cobundle License Agreement to download this software. Apache NetBeans 12.0 runs on the JDK LTS releases 8 and 11, as well as on JDK 14, i.e., the current JDK release at the time of this NetBeans release. Community approval As in any other Apache Project, the Apache NetBeans Community approved this release through. I got the following message when opening netbeans that jdk has not been found on this computer. I have got the jdk installed, and set the bin directory in the environment. Btw, I am using Windows 10 pro 64 bit. I have tried this in the command prompt. C:UsersadminDownloadsnetbeans-8.2-windows.exe -javahome 'C:Program Files (x86)Javajdk. Yes, NetBeans 8.2 does use JDK 1.8, and specifically does not support JDK 1.9. It's unclear from the OP which version of Java is desired to run with NetBeans, but the version of NetBeans to use is governed by the version of Java to be used.
The solution is to run NetBeans with JDK 8. The first step in the process is to make sure you are no longer running NetBeans, so select the 'Quit NetBeans' menu item from the 'NetBeans' menu.
The next step involves heading over to Oracle's Java SE download page.
http://www.oracle.com/technetwork/java/javase/overview/index.html.
Left-click on the 'Downloads' tab and then navigate down to the section entitled 'Java SE 8'. Below is a photograph of how that web page looks for the 151/152 updates of the Java 8 platform.
Left-click on the 'Download' button for the Java 8 JDK and follow the on-screen instructions to complete the process of downloading the latest version. After completing the JDK installation process, left-click on the 'Finder' icon in the Dock, left-click on the 'Go' menu and then left-click on the 'Go To Folder...' menu item. When presented with the 'Go to the folder' panel, enter '/Library/Java/JavaVirtualMachines' in the fields as shown in the figure below.Left-click on the 'Go' button and you'll be presented with a window similar to the one shown in the figure below.
Record the name of the JDK 8 folder. For this example, it is 'jdk1.8.0_152.jdk'.
![Jdk with netbeans Jdk with netbeans](/uploads/1/3/3/3/133300948/196838879.png)
Left-double-click on the 'NetBeans' folder.
Right-click on the 'NetBeans 8.2.app' icon and then left-click on the 'Show Package Contents' menu item.
Left double-click on the 'Contents' folder. Left double-click on the 'Resources' folder. Left double-click on the 'NetBeans' folder. Left double-click on the 'etc' folder.
Open the 'netbeans.conf' file with Text Edit. This will open the configuration file in the editor allowing you to make changes. Locate the following line in the configuration file.
#netbeans_jdkhome='/path/to/jdk'
Remove the hash tag at the beginning of the line and replace the '/path/to/jdk' section of the line with the path to where JDK8 is installed on your machine. For our example scenario, the line in the configuration file appears as follows.
netbeans_jdkhome='/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home'
Save the changes to the configuration file.
After following this process, you should be able to run NetBeans 8.2 on your Mac without any problems.
References
morteza08. 'New project and New file do not operate.' NetBeans Forums, 24 Sept. 2017, https://forums.netbeans.org/topic68000.html.
Oracle. 'Java SE Development Kit 8 Downloads.' Oracle.com, 17 Oct. 2017, http://www.oracle.com/technetwork/java/javase/overview/index.html.
Oracle. “Oracle Announces Java SE 9 and Java EE 8.” Oracle.com, Oracle, 21 Sept. 2017, www.oracle.com/corporate/pressrelease/java-se-9-and-ee-8-092117.html.
This page describes how to install and uninstall JDK 8 for OS X computers.
![Download java jdk for netbeans Download java jdk for netbeans](/uploads/1/3/3/3/133300948/111126022.jpg)
This page has these topics:
See 'JDK 8 and JRE 8 Installation Start Here' for general information about installing JDK 8 and JRE 8.
See 'OS X Platform Install FAQ' for general information about installing JDK 8 on OS X.
System Requirements
Observe the following requirements:
- Any Intel-based computer running OS X 10.8 (Mountain Lion) or later.
- Administrator privileges.
Note that installing the JDK on OS X is performed on a system wide basis, for all users, and administrator privileges are required. You cannot install Java for a single user.
Installing the JDK also installs the JRE. The one exception is that the system will not replace the current JRE with a lower version. To install a lower version of the JRE, first uninstall the current version as described in 'Uninstalling the JRE'.
Download Java Jdk For Netbeans
JDK Installation Instructions
When you install the Java Development Kit (JDK), the associated Java Runtime Environment (JRE) is installed at the same time. The JavaFX SDK and Runtime are also installed and integrated into the standard JDK directory structure.
Download Jdk With Netbeans 8.0.2
Depending on your processor, the downloaded file has one of the following names:
jdk-8u
version
-macosx-amd64.dmg
jdk-8u
version
-macosx-x64.dmg
Where
version
is 6 or later.- Download the file.Before the file can be downloaded, you must accept the license agreement.
- From either the Downloads window of the browser, or from the file browser, double click the
.dmg
file to launch it.A Finder window appears containing an icon of an open box and the name of the.pkg
file. - Double click the package icon to launch the Install app.The Install app displays the Introduction window.Note:In some cases, a Destination Select window appears. This is a bug, as there is only one option available. If you see this window, select Install for all users of this computer to enable the Continue button.
- Click Continue.The Installation Type window appears.
- Click Install.A window appears that says 'Installer is trying to install new software. Type your password to allow this.'
- Enter the Administrator login and password and click Install Software.The software is installed and a confirmation window appears.
- Refer to
http://www.oracle.com/technetwork/java/javase/downloads/jdk-for-mac-readme-1564562.html
for more information about the installation. - After the software is installed, delete the
.dmg
file if you want to save disk space.
Determining the Default Version of the JDK
If you have not yet installed Apple's Java OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app. See 'Note for Users of OS X that Include Apple Java 6 Plug-in'.
There can be multiple JDKs installed on a system, as many as you wish.
When launching a Java application through the command line, the system uses the default JDK. It is possible for the version of the JRE to be different than the version of the JDK.
You can determine which version of the JDK is the default by typing
java -version
in a Terminal window. If the installed version is 8u6, you will see a string that includes the text 1.8.0_06. For example:To run a different version of Java, either specify the full path, or use the
java_home
tool:For more information, see the java_home(1) man page.
Uninstalling the JDK
To uninstall the JDK, you must have Administrator privileges and execute the remove command either as root or by using the sudo(8) tool.
For example, to uninstall 8u6:
Do not attempt to uninstall Java by removing the Java tools from
/usr/bin
. This directory is part of the system software and any changes will be reset by Apple the next time you perform an update of the OS.