[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
How to use Oracle JDK 9 EA with Travis CI
[Java] How to extract the file name from the path
[Java] How to erase a specific character from a character string
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
How to use java Optional
New features from Java7 to Java8
How to minimize Java images
How to use java class
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
How to install JDK8-10 (Mac)
From Ineffective Java to Effective Java
How to initialize Java array
Java conditional branching: How to create and study switch statements
How to store a string from ArrayList to String in Java (Personal)
How to write and notes when migrating from VB to JAVA
How to switch Java in the OpenJDK era on Mac
How to study Java Silver SE 8
How to use Java HttpClient (Get)
Studying Java # 6 (How to write blocks)
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
How to decompile java class files
Switch from JSP + JSTL to Thymeleaf
Java to be involved from today
From Java to VB.NET-Writing Contrast Memo-
[JavaFX] [Java8] How to use GridPane
How to write Java variable declaration
Java, interface to start from beginner
How to use class methods [Java]