`

Linux学习之路--fc15安装jdk

 
阅读更多

 卸载系统自带到jdk

写道
rpm -ef|grep gcj
rpm -e --nodeps java-1.5.0-gcj-1.5.0.0-35.fc15.x86_64
rpm -qa|grep jdk
rpm -e --nodeps java-1.6.0-openjdk-1.6.0.0-59.1.10.3.fc15.x86_64
 

去oracle官网上下载jdk

写道
./jdk-6u27-linux-x64.bin

 解压出来之后

写道
vim /etc/profile

 在最后加入

写道
export JAVA_HOME=/opt/jdk1.6.0_27
export PATH=$PATH:$JAVA_HOME/bin:
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

 使之生效

写道
source /etc/profile

 

 

分享到:
评论

相关推荐

    jdk-8u211-linux-i586-demos

    文件名称: jdk-8u211-linux-i586-demos.rpm 文件大小: 56.1 MB (58,911,210 字节) MD5: dfb27a2479bc1f253592c93b71c1f108 SHA1: fc3831965c8669fcf6108f75ff6e67669c0c4f26 SHA256: 495985fcc5e8ca1855287130b2843...

    jdk-8u231-linux-x64

    这是从2019年10月28日Oracle官网上搬运来的最新版JDK1.8,适用于...jdk-8u231-linux-x64.tar.gz sha256: a011584a2c9378bf70c6903ef5fbf101b30b08937441dc2ec67932fb3620b2cf md5: c1fef2e714be761773ee0fc2be5dd78e

    jdk-8u211-linux-x64.tar.gz

    jdk-8u211-linux-x64.tar.gz 截至2019.04.19 最新版JDK for linux 64位 .tar.gz 安装包 tar.gz文件的检验码: sha256: c0b7e45330c3f79750c89de6ee0d949ed4af946849592154874d22abc9c4668d md5: e8fc44a4be6d6b5c...

    jdk-8u91-linux-i586.tar.gz

    jdk-8u91-linux-i586.tar.gz java jdk-8u91 linux-i586 .tar.gz 32位 截至2016.04.20 最新版JDK For Linux x32 gar.gz sha256: 5ecd05b5e566cbe688fc1e3159f04004ccad14d4faa3f50d15ffba1d50b4cd52 md5: f18cbe901f2...

    jdk-8u231-linux-x64.tar.gz

    jdk-8u231-linux-x64.tar.gz JDK for linux x64 tar.gz 大小:185.16 MB sha256: a011584a2c9378bf70c6903ef5fbf101b30b08937441dc2ec67932fb3620b2cf md5: c1fef2e714be761773ee0fc2be5dd78e

    jdk-8u211-linux-i586.tar.gz

    jdk-8u211-linux-i586.tar.gz 截至2019.04.19 最新版JDK for linux 32位 .tar.gz 安装包 sha256: d7ea3dc9690ac2e301b278fc440ebab93d6c433a560fa5f6253af10cb4a4b955 md5: c4fc198f42a50bcc67f2041e532c92c3 请不要...

    jdk-8u221-linux-x64.tar.gz

    jdk-8u221-linux-x64.tar.gz JDK for Linux x64 压缩包 大小:186.06 MB sha256: bac52b7f120a03c4c0815ca8fc77c02a8f3db2ded121ffad7449525f377e2479 md5: 9e1ecd461c3b848af45ab41c528d9a95

    jdk-11_linux-x64_bin.deb

    jdk-11_linux-x64_bin.deb MD5:050FC79EB3173058E130F32CB7AFEA34

    jdk-8u211-linux-x64.tar.gz.zip

    jdk-8u211-linux-x64.tar.gz 截至2019.04.19 最新版JDK for linux 64位 .tar.gz 安装包 tar.gz文件的检验码: sha256: c0b7e45330c3f79750c89de6ee0d949ed4af946849592154874d22abc9c4668d md5: e8fc44a4be6d6b...

    jdk-8u211-linux-x86 with demos

    jdk-8u211-linux-x86 with demos jdk-8u211-linux-i586.tar.gz sha256: d7ea3dc9690ac2e301b278fc440ebab93d6c433a560fa5f6253af10cb4a4b955 md5: c4fc198f42a50bcc67f2041e532c92c3

    jdk-8u231-linux-i586-demos.tar.gz

    文件名称: jdk-8u231-linux-i586-demos.tar.gz 文件大小: 56.2 MB (59,014,874 字节) MD5: b1b71ae93ee7c3db962304bf7f70cb90 SHA1: 068179d1374cb766fc4186416000470556fb387c SHA256: e790dad7d404cf858499cec9...

    jdk-8u91-linux-i586.rpm

    jdk-8u91-linux-i586.rpm java jdk-8u91 linux-i586 .rpm 32位 截至2016.04.20 最新版JDK For Linux 32位 .rpm sha256: 30df5b10197f0e9550f6914ad53ce96378d8c01b3b401022f49fc18307d3ad5d md5: aa51e55b8d9a62dc...

    jdk-8u211-linux-i586

    文件名称: jdk-8u211-linux-i586.tar.gz 文件大小: 188 MB (198,097,966 字节) MD5: c4fc198f42a50bcc67f2041e532c92c3 SHA1: d1507027257a49d0cce597cbf33a27da39dc66c1 SHA256: d7ea3dc9690ac2e301b278fc440ebab93...

    jdk-8u211-linux-x64

    文件名称: jdk-8u211-linux-x64.tar.gz 文件大小: 185 MB (194,990,602 字节) MD5: e8fc44a4be6d6b5c9407b5e48853a3fb SHA1: 5b529988d0c6980f0bd2f6b9548abd11e6bb914d SHA256: c0b7e45330c3f79750c89de6ee0d949ed4...

    jdk-8u231-linux-x64.tar.gz.zip

    jdk-8u231-linux-x64.tar.gz JDK for linux x64 tar.gz 大小:185.16 MB sha256: a011584a2c9378bf70c6903ef5fbf101b30b08937441dc2ec67932fb3620b2cf md5: c1fef2e714be761773ee0fc2be5dd78e

    最新的jdk-8u211-linux-x64.tar.gz

    网上的资源有问题,下载不了,这里最新版JDK for linux 64位 .tar.gz 安装包 tar.gz文件的检验码: sha256: c0b7e45330c3f79750c89de6ee0d949ed4af946849592154874d22abc9c4668d md5: e8fc44a4be6d6b5c9407b5e48853...

    jdk-8u211-linux-x64 with demos

    jdk-8u211-linux-x64.tar.gz + jdk-8u211-linux-x64.Demos.tar.gz jdk-8u211-linux-x64.tar.gz sha256: c0b7e45330c3f79750c89de6ee0d949ed4af946849592154874d22abc9c4668d md5: e8fc44a4be6d6b5c9407b5e48853a3...

    java jdk-8u66-linux-i586.rpm

    jdk-8u66-linux-i586.rpm java jdk 8u66 for Linux x86 rpm 截至2015.11.26 最新版JDK For Linux x86 rpm sha256: 47fc43721600f35f90f78fc6009ea197286b7c13c62d3016ed08f776cdf12e06 md5: a35792c4d9ae325404148...

    jdk-8u73-linux-i586.tar.gz

    java jdk-8u73 Linux x86 .tar.gz 截至2016.02.11 最新版JDK For Linux x86 .tar.gz sha256: f4f1f7ab1b5986aa2ee2a2f035a2d7a8ab57a673bdee4fc51d8127dd84f423ae md5: b747c177ad616e2f23e679ea867ae15d 大小:174....

    Linux Fedora6 + JDK6 + mysql5 + tomat5.5+MyEclipse5.5环境搭建.docx

    1. jdk-6u11-linux-i586-rpm.bin:这是Oracle JDK 6的RPM安装包。 2. apache-tomcat-5.5.27.tar.gz:Apache Tomcat 5.5.27的归档文件,用于部署Java Web应用程序。 3. MySQL-client-community-5.0.67-0.rhel3.i386....

Global site tag (gtag.js) - Google Analytics