Help Center/ FunctionGraph/ devg/ Java/ Creating a Dependency
Updated on 2024-11-11 GMT+08:00

Creating a Dependency

You are advised to create function dependencies in Huawei Cloud EulerOS 2.0. If other OSs are used, an error may occur due to underlying dependent libraries. For example, the dynamic link library cannot be found.

  • If the modules to be installed need dependencies such as .dll, .so, and .a, archive them to a .zip package.

When you compile a function using Java, dependencies need to be compiled locally. For details about how to add a dependency to a Java function, see Developing Functions in Java (Using an IDEA Java Project).