one. JDK installation under Linux 1. Download a JDK for Linux Platform. It is recommended to download the RPM self-extracting format RPMinself-extractingfile. [root@LinuxServerrpm]#chmod755j2sdk-1_4_2_06-linux-i586-rpm.bin[root@LinuxServerrpm]#./j2sdk-1_4_2_06-linux-i586-rpm.bin At this time, there will be a Sun contract. Type the spaces several times. When asked if you agree, just hit yes. SunMicrosystems,Inc.BinaryCodeLicenseAgreementfortheJAVATM2SOFTWAREDEVELOPMENTKIT(J2SDK)linux Getting Started,STANDARDEDITION,VERSION1.4.2_X…Doyouagreetotheabovelicenseterms?[yesorno]yesUnpacking…Checksumming…00Extracting…UnZipSFX5.40of28November1998lin ux installation j2sdk Linux installation j2sdk Commonly used Linux systems, byInfo-ZIP().inflating:j2sdk-1_4_2_06-linux-i586.rpmDone.3. The program will manually generate a j2sdk-1_4_2_06-linux-i586.rpm file. This is the main program Package to install below [root@LinuxServerrpm]#rpm–ivhj2sdk-1_4_2_06-linux-i586.rpmPreparing...
######### ###################[100%]1:j2sdk######################## ###################[100%]4. To set environment variables, it is generally preferable to use the export command to set them directly under the shell### ######### ###The above is the detailed content of Go to JDK installation 1 to download a JDK for Linux Platform. For more information, please follow other related articles on the PHP Chinese website!