This topic describes the Java runtime environments in which you can write function code in Function Compute.
Unlike scripting languages such as Python and Node.js, Java code must be compiled before it can be run on a Java virtual machine (JVM). For Java, Function Compute has the following limits:
- No support for code compilation: You can upload only developed and compiled ZIP packages or JAR packages. Function Compute does not support Java-based compilation.
- No support for online editing: You cannot edit code online because code cannot be uploaded. You can submit code only by uploading JAR packages or using Object Storage Service (OSS).
Function Compute supports the following Java runtime environments:
Function Compute provides the following dependency libraries for Java runtime: