sellgaq.blogg.se

Openjdk 7 ubuntu 18.04
Openjdk 7 ubuntu 18.04










openjdk 7 ubuntu 18.04

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.
  • openjdk 7 ubuntu 18.04

    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.












    Openjdk 7 ubuntu 18.04