Java: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
 
Line 7: Line 7:
  emacs /etc/environment
  emacs /etc/environment
   JAVA_HOME="/usr/lib/jvm/java-9-oracle"
   JAVA_HOME="/usr/lib/jvm/java-9-oracle"
There was reorganization of some xml parsers from/to EE, from what I was told, so you might need to stick with Java 8:
apt-get install oracle-java8-installer

Latest revision as of 20:40, 28 March 2018

Installation

Install Oracle JDK 9 (considered stable in 3/2018)

su -
add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install oracle-java9-installer
emacs /etc/environment
 JAVA_HOME="/usr/lib/jvm/java-9-oracle"

There was reorganization of some xml parsers from/to EE, from what I was told, so you might need to stick with Java 8:

apt-get install oracle-java8-installer