oracle jdk 13 install help please

Help with issues regarding installation of Debian

oracle jdk 13 install help please

Postby 1885 » 2019-10-02 03:37

Debian 10
I just noticed Oracle java has *.deb installer and I am having trouble setting the class path.
jdk-13_linux-x64_bin.deb
https://www.oracle.com/technetwork/java ... 72538.html

I tried to set the classpath as follows:

Code: Select all
$cat <<EOF | sudo tee /etc/profile.d/jdk13.sh
export JAVA_HOME=/usr/lib/jvm/jdk-13
export PATH=\$PATH:\$JAVA_HOME/bin
EOF

$source /etc/profile.d/jdk13.sh



and I still get the openJDK vdersion.

Code: Select all
$ java -version
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Debian-1deb10u1)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Debian-1deb10u1, mixed mode, sharing)
1885
 
Posts: 117
Joined: 2014-06-05 04:23

Return to Installation

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable