Skip to content

Commit 058a733

Browse files
authored
Merge pull request #270 from bci-oss/268-build-with-graalvm
Document building with GraalVM
2 parents d880f22 + 9331745 commit 058a733

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

documentation/developer-guide/modules/tooling-guide/pages/java-aspect-tooling.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,22 @@ To be able to use the artifacts released in this way in your projects, first the
4242
Then the desired dependencies can be referenced in the usual way. For an example, please refer to
4343
https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry#installing-a-package[Github - Installing a package].
4444

45+
[[jdk-requirements]]
46+
== JDK requirements
47+
48+
The sds-sdk components are built with Java 17 and require a JDK >= 17 such as
49+
https://adoptium.net/[Adoptium Temurin].
50+
51+
The sds-sdk can also be used with a Java 17-compatible https://www.graalvm.org/[GraalVM JDK]. With
52+
GraalVM you need to make the Graal JavaScript component available, as parts of the SDK such as the
53+
Aspect Model validation component require embedded JavaScript execution:
54+
55+
* For using the sds-sdk in the GraalVM itself, install the JS component using the
56+
https://www.graalvm.org/22.3/reference-manual/js/[GraalVM Updater]: `gu install js`
57+
* For using the sds-sdk with GraalVM `native-image`, be sure to use the `--language:js` option when
58+
building the native image; for more information see
59+
https://www.graalvm.org/22.3/reference-manual/polyglot-programming/[polyglot programming].
60+
4561
[[parsing-aspect-model-urns]]
4662
== Parsing Aspect Model URNs
4763

0 commit comments

Comments
 (0)