Java is currently available from the command-line but not yet supported for web applications.

Choosing a version of Java

You can choose among multiple versions of Java, depending on which silk platform version your account is hosted on:

Silk platform Java version Command-line path
silkv2 1.8 (IBM, default) /etc/alternatives/java_sdk_1.8.0/bin/java
silkv2 11 (OpenJDK) /etc/alternatives/java_sdk_11/bin/java

If you need to switch Java versions, you can do so by creating or editing your site's .silk.ini file (for example ~/www-root/.silk.ini) and adding the version to the [java] section:

version = 11

Valid version choices are default, any of the versions listed in the table above, or newest (which provides the newest available on the system).