Downgrade Java on openSUSE Linux

This is the procedure when you want to downgrade the Java version on openSUSE Linux. In this example, we will downgrade from Java 11 to Java 8.

Implementation environment

openSUSE Leap 15.1

Check the installed packages

$ sudo zypper search -i java

S  |name|Overview|type
---+--------------------------------+---------------------------------------+-----------
i  | antlr-java                     |Another tool for language recognition(->   |package
i+ | devel_java                     |Java development|pattern
i  | java-11-openjdk                | OpenJDK 11 Runtime Environment        |package
i  | java-11-openjdk-devel          | OpenJDK 11 Development Environment    |package
i  | java-11-openjdk-headless       | OpenJDK 11 Runtime Environment        |package

Removed version 11 packages from the above list

$ sudo zypper remove -y java-11-openjdk java-11-openjdk-devel java-11-openjdk-headless

Install Version 8 package

$ sudo zypper install -y java-1_8_0-openjdk java-1_8_0-openjdk-devel java-1_8_0-openjdk-plugin

Check the installed version

$ java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (IcedTea 3.15.0) (build 1.8.0_242-b08 suse-lp151.2.9.1-x86_64)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)

You have successfully downgraded to Java 8.

Recommended Posts

Downgrade Java on openSUSE Linux
Install java 1.8.0 on Amazon linux2
Install Java8 with Yum on Amazon Linux
Downgrade Java MacOS
Try to build Java8 environment on Amazon Linux2
Install Java, Apache, Tomcat9 on EC2 (Amazon Linux2)
Let's touch on Java
Install Java on Mac
Run PostgreSQL on Java
Using JDBC on Linux
Java version control on macOS
Install OpenJDK7 (JAVA) on ubuntu 14.04
Reflection on Java string manipulation
On passing Java Gold SE 8
Install rbenv on Amazon Linux
Oracle Java 8 on Docker Ubuntu
Run R from a tomcat-powered Java process on Amazon Linux
Install Java on WSL Ubuntu 18.04
Run java applet on ubuntu
Put Oracle Java 8 on CircleCI 2
Java version change on CentOS
[Java] [Spring] Spring Boot 1.4-> 1.2 Downgrade Note
Run Java EE applications on CICS
Using Java on OSX 10.15 (Catalina) β
Consideration on Java Persistence Framework 2017 (Summary) -1
Install Java with zip on Windows
Get Java Silver on your commute!
Consideration on Java Persistence Framework 2017 (5) Iciql
[Java] How to update Java on Windows
Consideration on Java Persistence Framework 2017 (7) EclipseLink
Install Java Open JDK 8 on CentOS 7
Is Java on AWS Lambda slow?
Hello World on AWS Lambda + Java
Notes on signal control in Java
Consideration on the 2017 Java Persistence Framework (1)
Consideration on Java Persistence Framework 2017 (8) Hibernate5
Java9 (based on Oracle JVM) catchup
Run tomcat shell script on java8
Enable Java 8 and Java 11 SDKs on Ubuntu
Java cannot be installed on Ubuntu 13.04
Notes on Android (java) thread processing
Consideration on Java Persistence Framework 2017 (2) Doma2
Notes on Java path and Package
Install Java 9 on windows 10 and CentOS 7
Develop gRPC on Windows + Java 7 + Maven 2
Install Java development environment on Mac