Oracle themselves have the
official guide to install their JDK - below is based upon those instructions.
-
Download the 32bit or 64bit Linux "compressed binary file" - it has a ".bin" file extension
-
Give it permissions to execute and extract it
chmod a+x [version]-linux-i586.bin
./[version]-linux-i586.bin
During installation it will ask you to register - press ENTER. Firefox will open with the registration page. Registration is optional.
JDK 6 package is extracted into ./jdk1.6.0_x
directory, for example
./jdk1.6.0_30
.
Lets rename it:
mv jdk1.6.0_30 java-6-oracle
- Now move the JDK 6 directory to
/usr/lib
sudo mkdir /usr/lib/jvm
sudo mv java-6-oracle /usr/lib/jvm
switch to Oracle JDK 6
webupd8.googlecode.com hosts a nice-easy script to help with this.
wget http://webupd8.googlecode.com/files/update-java-0.5b
chmod +x update-java-0.5b
sudo ./update-java-0.5b
don't worry - 0.5b refers to the script version - not the version of java!
An alternative to this is to use the
webupd8 ppa and the update-java
package.
Finally test the switch has been successful:
java -version
javac -version
分享到:
相关推荐
Oracle SQL Developer 1.5.5.59.69-with-jdk6下载地址: part1: http://download.csdn.net/source/1986539 part2: http://download.csdn.net/source/1986547 ====================================================...
openSuse安装Oracle-JDK 帮助在OpenSuse上安装Oracle JDK的简短脚本
Itamae::Plugin::Recipe::OracleJdk 安装 Oracke JDK安装将此行添加到应用程序的 Gemfile 中: gem 'itamae-plugin-recipe-oracle_jdk' 然后执行: $ bundle或者自己安装: $ gem install itamae-plugin-recipe-...
docker-alpine-oraclejdk7-mvn 该镜像基于 Alpine Linux 镜像,只有 5MB 镜像,并且包含捆绑了 3.2.5 的 。 使用示例 $ cd my/jdk7/project $ docker run --rm -v ` pwd ` :/tmp --workdir /tmp caarlos0/alpine-...
Metabase最新1.46.1、jdk-16.0.2、启动metabase.sh文件、oracle驱动ojdbc8.jar
Install software 0. software oracle 10g for linux ubuntu server 7.0.4 xming,Xmanage putty 1. Update ubuntu ... sudo apt-get update ...2. install the ... sudo apt-get install sun-java6-jdk 。。。。
Oracle SQL Developer 1.5.5.59.69-with-jdk6下载地址: part1: http://download.csdn.net/source/1986539 part2: http://download.csdn.net/source/1986547 ====================================================...
包中包含jdk-7u80-linux-x64.tar.gz和oracle-java7-jdk_7u80_amd64.deb,其中deb包是使用命令把tar.gz转换生成的,Ubunt18.04无法直接安装openjdk-7-jdk,Oracle官网不好下载,而且网上很多下载的都是tar.gz包,不是...
默认使用OpenJDK,但支持安装Oracle的JDK。 本说明书还提供了java_arkLWRP,其他 Java 说明书可以使用该 LWRP 从二进制包安装与 Java 相关的应用程序。 LWPRjava_ark可能会在未来的某个时候转向它自己的食谱,因为...
Oracle SQL Developer 1.5.5.59.69-with-jdk6下载地址: part1: http://download.csdn.net/source/1986539 part2: http://download.csdn.net/source/1986547 ====================================================...
Oracle SQL Developer 1.5.5.59.69-with-jdk6下载地址: part1: http://download.csdn.net/source/1986539 part2: http://download.csdn.net/source/1986547 ====================================================...
SQL Developer can connect to an Oracle Database irrespective of the database character set and the database national (NCHAR) character set. All functionality which does not involve entering or ...
如果安装出错,那么可以参考 /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录 yum install glibc.i686
Oracle SQL Developer 1.5.5.59.69-with-jdk6下载地址: part1: http://download.csdn.net/source/1986539 part2: http://download.csdn.net/source/1986547 ====================================================...
Oracle SQL Developer 1.5.5.59.69-with-jdk6下载地址: part1: http://download.csdn.net/source/1986539 part2: http://download.csdn.net/source/1986547 ====================================================...
graalvm jdk 17 社区版22.3.1配套的镜像windows amd64文件,参考官方的安装部署教程安装 自行安装Build Tools,编译时需要Command Prompt下才能编译。 安装命令: 进入到这个jar根目录下 gu install -L native-...
mvn install:install-file -Dfile=D:/oracle_qdong/ojdbc6-11.2.0.1.0.jar -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.1.0 -Dpackaging=jar -DgeneratePom=true 上述命令需要修改你需要的版本号...
Oracle SQL Developer 1.5.5.59.69-with-jdk6下载地址: part1: http://download.csdn.net/source/1986539 part2: http://download.csdn.net/source/1986547 ====================================================...
Oracle SQL Developer 1.5.5.59.69-with-jdk6下载地址: part1: http://download.csdn.net/source/1986539 part2: http://download.csdn.net/source/1986547 ====================================================...
Oracle SQL Developer 1.5.5.59.69-with-jdk6下载地址: part1: http://download.csdn.net/source/1986539 part2: http://download.csdn.net/source/1986547 ====================================================...