⑴ WIN8系統,自帶IE11,通過瀏覽器打開oracle時,java程序提示安裝,重復安裝還不能正常使用,重復安裝多次
1.在網路搜索jdk下載,然後打開第一個網站
⑵ 64浣峸in8瀹夎卝ava1.8.0_45鐜澧冨彉閲忓埌搴曞備綍閰嶇疆鍛錛熷氳阿濂藉績浜轟簡
ubuntu瀹夎卝dk,ubuntu璁劇疆java鐜澧冨彉閲忥紝ubuntu瀹夎卝dk,ubuntu璁劇疆java鐜澧冨彉閲忥紝ubuntu瀹夎卝dk,ubuntu璁劇疆java鐜澧冨彉閲
涓嬭澆jdk-6u12-linux-i586.bin,
寮濮嬪畨瑁卝dk錛
浣跨敤緇堢榪涘叆瀛樻斁jdk-6u12-linux-i586.bin鐨勭洰褰曪紝鎴戠殑浣嶇疆鏄:/home/liujicheng/java
絎涓姝ワ細鏇存敼鏉冮檺錛涢粯璁ゆ枃浠舵病鏈夊彲鎵ц屾潈闄
chmod g+x jdk-6u12-linux-i586.bin
絎浜屾: 瀹夎
sudo -s ./jdk-6u12-linux-i586.bin
瀹夎呭畬姣曪紝涓嬮潰閰嶇疆鐜澧冨彉閲
閰嶇疆classpath錛屼慨鏀規墍鏈夌敤鎴風殑鐜澧冨彉閲
$ sudo vi /etc/profile 鎴栬 $sudo gedit /etc/profile
鍦ㄦ枃浠舵渶鍚庢坊鍔
#set java environment
JAVA_HOME=/home/liujicheng/java/jdk1.6.0_12
export JRE_HOME=/home/liujicheng/java/jdk1.6.0_12/jre
export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
閲嶆柊鍚鍔ㄨ$畻鏈猴紝鐢ㄥ懡浠ゆ祴璇昷dk鐨勭増鏈
java -version
鏄劇ず濡備笅淇℃伅錛氭垚鍔熷畨瑁
java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) Server VM (build 11.2-b01, mixed mode)