Hi Eby,
thank you very much for your suggestions with the Java version. That was exactly the point and I found a workaround.
I'll post it here in case somebody else runs into the same problem.
1. Install original java 8 as described in
https://thishosting.rocks/install-java-ubuntu/- sudo apt-get install software-properties-common
- sudo add-apt-repository ppa:webupd8team/java
- sudo apt-get update
- sudo apt-get install oracle-java8-installer
2. check what versions of java are installed and where they are
- update-alternatives --config java
There are 3 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 auto mode
1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 manual mode
2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
* 3 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 manual mode
3. Don't bother to set one as default as - at least in my case - it wouldn't change anything and I am not such a Ubuntu buff to search out all environmental variables that have to be changed for the new default choice to take effect.
Start IGV directly with the appropriate java by entering in a terminal the correct path. In this case:
-
/usr/lib/jvm/java-8-oracle/jre/bin/java -jar '/home/anaconda3/bin/igv.jar'
(path where oracle java sits as above) (path to the igv.jar file, in this case installed by 'conda' and therefore in the anaconda3 folder)
This did the job. Actually igv runs also with the java-8-openjdk-amd64 version. I've no idea why the simple command 'java" brings up a different older version and where that may be located. See below:
java -version
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (Zulu 8.20.0.5-linux64) (build 1.8.0_121-b15)
OpenJDK 64-Bit Server VM (Zulu 8.20.0.5-linux64) (build 25.121-b15, mixed mode)
But:
echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle
and:
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -version
openjdk version "1.8.0_162"
OpenJDK Runtime Environment (build 1.8.0_162-8u162-b12-1-b12)
OpenJDK 64-Bit Server VM (build 25.162-b12, mixed mode)
so if only the build _162 is installed, how can 'java' point to build_121 ??? (mysteries of Ubuntu)
Anyway, I can go on analyzing my data with IGV, hurray!
Best wishes
Robert