How to install JDK 8u131 with NetBeans 8.2 on RHEL 7.2 For the 32-bit and 64-bit Linux operating system
Installing the Software Bundle on Linux
Download the bundle from
http://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-142931.html
the installation procedures is here
http://www.oracle.com/technetwork/java/javase/overview/install-jdk6-22nb691-177131.html
How to proceed?
Answer:
After downloading the <jdk-8u131-nb-8_2-linux-x64.sh>(For the 64-bit Linux operating system, the installer file name is jdk-8u131-nb-8_2-linux-x64.sh)
You can install the JDK software and NetBeans IDE in directories of your choice. You do not have to be a root user to use this installer unless you choose to install this bundle in a system-wide location.
Note: This installer does not displace the system version of the Java platform that is supplied by the operating system.
Before you install
1. Verify that your system meets or exceeds the recommended minimum hardware requirements:
Pentium III workstation, 800 MHz
512 MB of RAM
700 MB of free space
Note: The installer uses the /tmp or the /var/tmp directory for temporary files.
2. Download the installer file and save it on your system.
For the 32-bit Linux operating system, the installer file name is jdk-8u131-nb-8_2-linux-i586.sh
For the 64-bit Linux operating system, the installer file name is jdk-8u131-nb-8_2-linux-x64.sh
3. Navigate to the directory into which you downloaded the installer file and type:
chmod +x to change the installer file's permissions so it can be executed.
Or you can just navigate to the download and click mouse right button any empty space and then choose open in terminal then follow the following
chmod +x jdk-8u131-nb-8_2-linux-x64.sh
- Installing the Software
- Type the following command from the directory where you placed the installation file:
./dk-8u131-nb-8_2-linux-x64.sh - At the Welcome page of the installation wizard, click Next.
- At the JDK Installation page, specify the directory where to install the JDK and click Next.
- At the NetBeans IDE Installation page, do the following:
a. Specify the directory for the NetBeans IDE installation.
b. Accept the default JDK installation to use with the IDE or specify another JDK location. - Click Next.
- Review the Summary page to ensure the software installation locations are correct.
- Click Install to begin the installation.
- At the Setup Complete page, provide anonymous usage data if desired, and click Finish.
When the installation is complete, you can view the log file, which resides in the following directory: ~/.nbi/log.
Note: If you choose to install this bundle into a system-wide location such as /usr/local, you must first login as root to gain the necessary permissions.
Note :
i did it for 2 of my systems and successfully Done!
hope that help you too
All the best .