- 安装组件 Java On Truffle 后的提示:
monica@monicas-iMac@~/Development/tempspace/test4java sudo gu -L install espresso-installable-java11-darwin-amd64-21.1.0.jar
Processing Component archive: espresso-installable-java11-darwin-amd64-21.1.0.jar
Installing new component: Java on Truffle (org.graalvm.espresso, version 21.1.0)
This version of Java on Truffle is experimental. We do not recommended it for production use.
Usage: java -truffle [-options] class [args...]
(to execute a class)
or java -truffle [-options] -jar jarfile [args...]
(to execute a jar file)
To rebuild the polyglot library:
gu rebuild-images libpolyglot -cp ${GRAALVM_HOME}/lib/graalvm/lib-espresso.jar
IMPORTANT NOTE:
---------------
Set of GraalVM components that provide language implementations have changed. The Polyglot native image and polyglot native C library may be out of sync:
- new languages may not be accessible
- removed languages may cause the native binary to fail on missing resources or libraries.
To rebuild and refresh the native binaries, use the following command:
/Library/Java/JavaVirtualMachines/graalvm-ce-java11-21.1.0/Contents/Home/bin/gu rebuild-images
2021-11-13
monica@monicas-iMac /Library/Java/JavaVirtualMachines/jdks sudo ../graalvm-ce-java17-21.3.0/Contents/Home/bin/gu install -L espresso-installable-svm-java17-darwin-amd64-21.3.0.jar
Password:
Processing Component archive: espresso-installable-svm-java17-darwin-amd64-21.3.0.jar
Installing new component: Java on Truffle (org.graalvm.espresso, version 21.3.0)
This version of Java on Truffle is experimental. We do not recommended it for production use.
Usage: java -truffle [-options] class [args...]
(to execute a class)
or java -truffle [-options] -jar jarfile [args...]
(to execute a jar file)
To rebuild the polyglot library:
gu rebuild-images libpolyglot -cp ${GRAALVM_HOME}/lib/graalvm/lib-espresso.jar
IMPORTANT NOTE:
---------------
Set of GraalVM components that provide language implementations have changed. The Polyglot native image and polyglot native C library may be out of sync:
- new languages may not be accessible
- removed languages may cause the native binary to fail on missing resources or libraries.
To rebuild and refresh the native binaries, use the following command:
/Library/Java/JavaVirtualMachines/graalvm-ce-java17-21.3.0/Contents/Home/bin/gu rebuild-images
网友评论