lindenb / jvarkit

Java utilities for Bioinformatics
https://jvarkit.readthedocs.io/
Other
478 stars 132 forks source link

Same version of java also fails #186

Open Alqueno opened 3 years ago

Alqueno commented 3 years ago
javac -version
javac 11.0.2
java -version
openjdk version "1.8.0_191"

so you compiled with a modern java compiler (java 11) but you're trying to execute with an old java (8).

the warnings are ok.

I'm closing this one.

Originally posted by @lindenb in https://github.com/lindenb/jvarkit/issues/120#issuecomment-464089587

Alqueno commented 3 years ago

In ubuntu 20.04, javac open-jdk 11.0.11 and java open-jdk 11.0.11 stills produce the same error. Path and java_home set as requested. Only on my old Ubuntu 14 install works... Then on ubuntu 20.04 could managed to make it work by installing oracle java 8 and setting java_home to its dir and path with java_home/bin seems to be something related with dependencies with jdk 11

cheers