⑴ 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)