Install Oracle Java JDK/JRE 7/8 in Ubuntu 13.10

本文介绍如何在Ubuntu 13.10上安装Oracle Java 7和8的JDK版本。首先需要移除现有的OpenJDK,然后通过PPA源安装Oracle Java,并设置了默认的Java环境变量。

Java is the foundation for virtually every type of networked application and is the global standard for developing and delivering mobile applications, games, Web-based content, and enterprise software. Currently there are no .deb packages available for Oracle Java 7/8.

oracle-java-01

Key Features

  • New rcache Types in Kerberos 5 Replay Caching
  • Support for Kerberos 5 Protocol Transition and Constrained Delegation
  • Kerberos 5 weak encryption types disabled by default
  • Unbound SASL for the GSS-API/Kerberos 5 mechanism
  • SASL service for multiple host names
  • JNI bridge to native JGSS on Mac OS X
  • Support for stronger strength ephemeral DH keys in the SunJSSE provider
  • Support for server-side cipher suites preference customization in JSSE
  • The new Modena theme has been implemented in this release. For more information, see the blog at fxexperience.com.
  • The new SwingNode class enables developers to embed Swing content into JavaFX applications. See the SwingNode javadoc and Embedding Swing Content in JavaFX Applications.
  • The new UI Controls include the DatePicker and the TreeTableView controls.

Install Oracle Java JDK

Step 1: Remove existing OpenJDK

sudo apt-get purge openjdk*

Step 2: Install Oracle Java

Java 7

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java7-installer

Java 8

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java8-installer

Step 3: Check Installed Version

java -version
Note: the installer will prompt you to accept the Oracle license before the installation begins

Step 4: Set Java Environment Variable

Java 7

sudo apt-get install oracle-java7-set-default

Java 8

sudo apt-get install oracle-java8-set-default



http://www.sysads.co.uk/2014/04/install-oracle-java-jdkjre-78-ubuntu-13-10/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值