Saturday, July 30, 2016

How to install Oracle Java 7 (7u79) on Ubuntu

   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


Java 7 Update 79 (7u79)  Changelog
  • ANA Data 2015a
       JDK 7u79 contains IANA time zone data version 2015a. For more information, refer to Timezone Data Versions in the JRE Software.
  • Bug Fix: Improve jar file handling. Starting with JDK 7u79 release, the jar tool no longer allows the leading slash "/" and ".." (dot-dot) path component in zip entry file name when creating new and/or extracting from zip and jar file. If needed, the new command line option "-P" should be used explicitly to preserve the dot-dot and/or absolute path component. See 8064601 (not public). 
Installation instructions:

Open terminal from Unity Dash, App Launcher, or via Ctrl+Alt+T keys. When it opens, run below commands one by one:
 
$ sudo apt-get purge openjdk*

$ sudo add-apt-repository ppa:webupd8team/java

$ sudo apt-get update

$ sudo apt-get install oracle-java7-installer

To set Oracle Java 7 by default, do:

$ sudo apt-get install oracle-java7-set-default
 
Check Installed Version
  
java -version


No comments:

Post a Comment