Long Term Support (LTS) versionsĪfter Java 8, Oracle introduced the concept of LTS versions of the JDK. GraalVM performs well on the Scala benchmarks, and it benefits from GraalVM runtime and runs faster too. (Some Scala developers use JDK 11 or 17 for their daily work, but do release builds on JDK 8.)Īdditionally, you can also run your Scala application on GraalVM which is a JVM. Therefore, compiling on 8 may be the safest choice in this scenario. If you compile on JDK 11+ but have users on an older JDK version, additional care is needed to avoid using APIs and features that don’t exist in 8.
Since the JVM is normally backwards compatible, it is usually safe to use a newer JVM for running your code than the one it was compiled on, especially if you are not using JVM features designated “experimental” or “unsafe”. JDK 8, 11, and 17 are all good choices both for compiling and running Scala code. The linked page includes contact information for inquiring about supported and recommended versions. Lightbend offers commercial support for Scala 2. In general, Scala works on JDK 11+, including GraalVM, but it probably won’t take special advantage of features that were added after JDK 8. (But Scala 2.12+ definitely doesn’t work at all on JDK 6 or 7.) Version compatibility table JDK versionĮven when a version combination isn’t listed as supported, most features may still work.
Sometimes new JVM and JDK (Java Development Kit) versions require us to update Scala to remain compatible. (Other supported platforms: Scala.js, Scala Native.) Any Java Web Start application that was downloaded and cached with the JDK or JRE will no longer appear in the list of currently installed programs.Scala’s primary platform is the Java Virtual Machine (JVM). To avoid seeing the misleading message, either press F5 or reopen the dialog box. Refresh the Add or Remove Programs by pressing F5 or reopen the panel. The message is displayed when you have removed the Java Web Start application while uninstallating the JDK or JRE, but this is not reflected in the Add or Remove Programs. Please contact your system administrator. You do not have sufficient access to remove Java-Application: nameApp from the Add or Remove Program list. If you say Yes to this, then you will see another Uninstaller Error dialog box saying: Would you like to remove Java-Application: name App from the Add or Remove program list? When you remove the application, you see an Uninstaller Error dialog box saying:Īn error occurred while trying to remove Java-Application: nameApp. Remove the Java Web Start application using Add or Remove Programs.
Remove the JDK or JRE using Add or Remove Programs from the Windows Control Panel. You may see a misleading message if you do the following:ĭownload and cache a Java Web Start application with the JDK or JRE.
Previous releases have separate uninstallation instructions for Java Web Start. Uninstalling the JDK or JRE will not, however, remove the cache for previous versions of Java Web Start. The only way to uninstall Java Web Start is to uninstall the JDK or JRE.
The is a registry string in the "JRE" or "Java Runtime Environment" key. "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime = 1.8 "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0" "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8" "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JRE\ = 10 The is a registry string in the "JDK" or "Java Development Kit" key.įor the same example, if the JRE is installed, then the registry layout is: "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development = 1.8 "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.8.0" "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.8"
"HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JDK\ = 10 "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit" for JDK 1.8.0 and "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JDK" for JDK 10. For example, if JDK 1.8.0 and JDK 10 are installed, then the following registry keys are created: If there are two versions of JDK or JRE installed on a system, one with the new version-string format introduced in JDK 10, and the other with the older version format, then there will be two different CurrentVersion registry key values. HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Web Start\
RuntimeLib: the full path name of the Java runtime DLL JavaHome: the full path name of the directory in which the JRE is installed This key contains the following string values: