btasr.blogg.se

Installing openjdk 7 on ubuntu 16.04
Installing openjdk 7 on ubuntu 16.04











installing openjdk 7 on ubuntu 16.04

Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode) Java(TM) SE Runtime Environment (build 1.7.0_80-b15) You should receive a message which displays: java version "1.7.0_80" Sudo update-alternatives -set javaws /usr/local/java/jdk1.7.0_80/bin/javaws Sudo update-alternatives -set javac /usr/local/java/jdk1.7.0_80/bin/javac Sudo update-alternatives -set java /usr/local/java/jdk1.7.0_80/bin/java Sudo update-alternatives -install "/usr/bin/javaws" "javaws" "/usr/local/java/jdk1.7.0_80/bin/javaws" 1 Sudo update-alternatives -install "/usr/bin/javac" "javac" "/usr/local/java/jdk1.7.0_80/bin/javac" 1 Sudo update-alternatives -install "/usr/bin/java" "java" "/usr/local/java/jdk1.7.0_80/bin/java" 1 PATH=$PATH:$JRE_HOME/bin:$JAVA_HOME/binexport Scroll down to the end of the file using arrow keys and add the following lines below to the end of /etc/profile file:.Open /etc/profile with sudo privileges:.Check if tarball has been successfully extracted:.Sudo cp -r jdk-7u80-linux-圆4.tar.gz /usr/local/java/ Create a a directory in /usr/local where java will reside and copy tarball there:.Navigate to your downloaded JDK (for example ~/Downloads):.Download the JDK for Linux 32-bit or 64-bit (for example: jdk-7u80-linux-圆4.tar.gz) here.this tutorial share how to install java 7 along with java 8 and how to switch each other. however recent release of linuxmint 19.1 (based on ubuntu 18.04) come with java 8 as it’s default. Some application still rely on old java, for example iReport 4.0.1 that used by openbravo still rely on java 7.













Installing openjdk 7 on ubuntu 16.04