[Java] How to switch from open jdk to oracle jdk

/usr/lib/jvm


Insert the downloaded oracle jdk

Environment path setting


export JAVA_HOME=Make the path here the upper path

Java default settings


sudo update-alternatives --set java /usr/lib/jvm/jdk1.8.0_version/bin/java
java -version

Recommended Posts

[Java] How to switch from open jdk to oracle jdk
How to change from Oracle Java 8 to Adopt Open JDK 9
How to get jdk etc from oracle with cli
How to pass Oracle Java Silver
How to dynamically switch JDK when building Java in Gradle
[Talend] Switching from Oracle JDK to OpenJDK
How to switch Java versions on Mac
Java: How to send values from Servlet to Servlet
How to switch between multiple Java versions
How to download Oracle JDK 8 rpm with curl
Changes from Java 8 to Java 11
Sum from Java_1 to 100
How to get Class from Element in Java
From Java to Ruby !!
How to Install Oracle JDK 1.8 in Ubuntu 18.04 LTS?
How to jump from Eclipse Java to a SQL file
How to write Scala from the perspective of Java
[Java] How to extract the file name from the path
[Java] How to erase a specific character from a character string
[Java] How to use Map
How to lower java version
Migration from Cobol to JAVA
[Java] How to use Map
How to uninstall Java 8 (Mac)
Switch from slim3-gen to slim3-gen-jsr269
Java --How to make JTable
New features from Java7 to Java8
How to write java comments
How to use java class
[Java] How to use Optional ②
Connect from Java to PostgreSQL
[Java] How to use removeAll ()
[Java] How to display Wingdings
How to use Java Map
How to set Java constants
How to use Java variables
How to convert Java radix
[Java] How to implement multithreading
[Java] How to use Optional ①
How to install JDK8-10 (Mac)
From Ineffective Java to Effective Java
How to migrate from JUnit4 to JUnit5
How to initialize Java array
Java conditional branching: How to create and study switch statements
[Java] How to convert a character string from String type to byte type
How to store a string from ArrayList to String in Java (Personal)
How to switch Java in the OpenJDK era on Mac
How to study Java Silver SE 8
How to use Java HttpClient (Get)
How to push from Tarminal to GitHub
Studying Java # 6 (How to write blocks)
[Java] How to update Java on Windows
How to make a Java container
How to disassemble Java class files
How to use Java HttpClient (Post)
[Java] How to use join method
Install Java Open JDK 8 on CentOS 7
How to learn JAVA in 7 days
[Processing × Java] How to use variables
[Java] How to create a folder
[Java] How to use LinkedHashMap class