This package provides Oracle Java JDK 7 (which includes Java JDK, JRE
and the Java browser plugin). However, you can't only install Oracle JRE
- the PPA only provides the full Oracle JDK7 package.
To install:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-jdk7-installer
And to uninstall:
sudo apt-get remove oracle-jdk7-installer
And to verify your installation:
java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)
And to verify the web browser installation:
http://java.com/en/download/installed.jsp
Verified Java Version
Congratulations!
You have the recommended Java installed (1.7.0_51).
And to update:
If for some reason, the Java version in use is not 1.7.0, you can try to run the following command:
sudo update-java-alternatives -s java-7-oracle
To Install and Set in environment variable:
To automatically set up the Java 7 environment variables, you can install the following package:
sudo apt-get install oracle-jdk7-set-default
To install:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-jdk7-installer
And to uninstall:
sudo apt-get remove oracle-jdk7-installer
And to verify your installation:
java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)
And to verify the web browser installation:
http://java.com/en/download/installed.jsp
Verified Java Version
Congratulations!
You have the recommended Java installed (1.7.0_51).
And to update:
If for some reason, the Java version in use is not 1.7.0, you can try to run the following command:
sudo update-java-alternatives -s java-7-oracle
To Install and Set in environment variable:
To automatically set up the Java 7 environment variables, you can install the following package:
sudo apt-get install oracle-jdk7-set-default
Comments
Post a Comment