JDK installation and its environment variable configuration under Linux

xiaoxiao2021-03-06  108

Install configuration method under Linux: Java.sun.com Download: J2SDK-1_4_2_04-Linux-i586.bin. Save to / MNT / Under, then SU ​​switch to root users, CD / USR / local / chmod x J2SDK-1_4_2_04 -linux-i586.bin then follow the prompts, all the way spaces or enters accept or enter the allowable to enter. Then CD / USR / LOCAL / LN -S J2SDK1.4.2_04 Java Environment Variable Configuration # vi / etc / profile java_home = / usr / local / java / classpath =.: / Usr / local / java / lib / dt.jar: / usr / local / java / lib / Tools / Jar path = / usr / local / java / bin: $ PATH EXPORT PATH JAVA_HOME CLASSPATH

转载请注明原文地址:https://www.9cbs.com/read-125325.html

New Post(0)