Linux _ install JDK in Linux first we need to download JDK that can be installed in linux. ========================================================== ===================================: JDK: Release
========================================================== ======================== Description: winISO installation version: Ghost (this is arbitrary. I like it personally. The production process is very simple ....) prepare for the installation. Step 1: Set mypackage. mounting the iso file to Linux mount/mnt/cdrom read the cdrom impression file Step 2: copy the installation file to the/home directory cp dk-6u33-linux-i586.bin/home Step 3: Enter the home directory: step 4: Install jdk. /dk-6u33-linux-i586.bin note :". /There is no space between "and" dk-6u33-linux-i586.bin "installed, such:
Step 5: configure the environment variable vi/etc/profile as follows (in the white box): JAVA_HOME, PATH, CLASS
Step 6: Save and exit. To make the configuration take effect, you must log out and log on again. Therefore, after logging on to logout again, enter java-version:
The following prompt appears, indicating that JDK is installed on Linux.