I have several versions of java installed (via the apt package manager) and I have also manually installed oracle java 1.8 (usinbg these instructions https://docs.datastax.com/en/jdk-instal ... dkDeb.html).
My java directory looks like this:
Code: Select all
% ls -lh /usr/lib/jvm
total 12K
lrwxrwxrwx 1 root root 21 Jul 22 09:44 java-1.18.0-openjdk-amd64 -> java-18-openjdk-amd64
lrwxrwxrwx 1 root root 20 Oct 25 18:26 java-1.8.0-openjdk-amd64 -> java-8-openjdk-amd64
drwxr-xr-x 7 root root 4.0K Dec 31 22:28 java-18-openjdk-amd64
drwxr-xr-x 5 root root 4.0K Dec 31 22:22 java-8-openjdk-amd64
drwxr-xr-x 7 10143 10143 4.0K Dec 15 2021 jre1.8.0_321
Code: Select all
java -version
java version "1.8.0_321"
Java(TM) SE Runtime Environment (build 1.8.0_321-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.321-b07, mixed mode)
Code: Select all
which java
/usr/bin/java
% ls -lh /usr/bin/java
lrwxrwxrwx 1 root root 22 Dec 31 22:22 /usr/bin/java -> /etc/alternatives/java
% ls -lh /etc/alternatives/java
lrwxrwxrwx 1 root root 34 Jan 1 09:54 /etc/alternatives/java -> /usr/lib/jvm/jre1.8.0_321/bin/java
'makemkvcon' defaults to using java-1.18.0-openjdk-amd64 (when nothing is specified in makemkv preferances > protection > Custom Java Executable Location) or, if something is specified -- whatever is specified
What I am trying to work out:
- is there any way from the command line makemkvcon to specify which version of java to use; and
- how does makemkv decide what the default version is?