Noob question: How can I upgrade JVM version installed by `cs setup`?

This page summarizes the projects mentioned and recommended in the original post on /r/scala

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • jenv

    Manage your Java environment

  • It installs Java 8 by default so if you wanted to override that you'd have to install Java 19 yourself. You can either do it manually, through a package manager if you're on an OS that has one, or use something like SDKMAN or JEnv. How you tell Scala to use that version of java depends on the way you're running Scala but generally setting your JAVA_HOME environment variable to the Java 19 install (or letting a tool do that for you) should work.

  • SDKMan

    The SDKMAN! Command Line Interface

  • It installs Java 8 by default so if you wanted to override that you'd have to install Java 19 yourself. You can either do it manually, through a package manager if you're on an OS that has one, or use something like SDKMAN or JEnv. How you tell Scala to use that version of java depends on the way you're running Scala but generally setting your JAVA_HOME environment variable to the Java 19 install (or letting a tool do that for you) should work.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts