Is it possible to upgrade Java to v17?

Is it possible to upgrade Java to v17? I am trying to use Replit to work on a project while I do not have access to a console. However, one of its dependencies requires Java 17. Replit does not appear to provide Java 17, but it is in nixos/nixpkgs. Is it possible to install Java 17 or update my repl’s nixpkgs?

try after running in shell

sed -i 's/stable-\w*/unstable/' .replit

This did not work for me (sorry for the late reply), I only see packages for 8, 11, 15, and 16. Also, when looking at the suggested packages (for javac), it seems to use a completely different list.

Is this the same as this: Update to JDK 17 ?

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.