Open Robinlovelace opened 11 months ago
Attempting the following fix:
sudo apt install openjdk-17-jdk
# Set the version of Java to use:
sudo update-alternatives --config java
Will select 2:
sudo 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-19-openjdk-amd64/bin/java 1911 auto mode
1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 manual mode
2 /usr/lib/jvm/java-17-openjdk-amd64/bin/java 1711 manual mode
3 /usr/lib/jvm/java-19-openjdk-amd64/bin/java 1911 manual mode
That worked! My guess: it would also work with Java 19 if we gave it a chance.
Your probably right, OTP now seems to be racing through Java versions very quickly. Its a pain to keep up.
Describe the bug
The following code generates an error:
From: https://docs.ropensci.org/opentripplanner/articles/OTPv2.html
The error message is:
To Reproduce
See above.
Expected behavior
I think Java 17 should be the minimum and it should at least try to run. Screenshots If applicable, add screenshots to help explain your problem.
System Please paste
sessionInfo()
here:Additional context Add any other context about the problem here.