You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference-manual/embedding/embed-languages.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,12 +30,12 @@ The GraalVM Polyglot API lets you embed and run code from guest languages in JVM
30
30
Throughout this section, you will learn how to create a host application in Java that runs on GraalVM and directly calls a guest language.
31
31
You can use the tabs beneath each code example to choose between JavaScript, R, Ruby, and Python.
32
32
33
-
> Note: The usage description for polyglot embeddings was revised with the GraalVM for JDK 21 (23.1.0) release. If you are still using an older GraalVM version, ensure the correct version of the documentation is displayed. More information on the change can be found in the [release notes](https://www.graalvm.org/release-notes/JDK_21/).
33
+
> Note: The usage description for polyglot embeddings was revised with the GraalVM for JDK 21 (23.1.1) release. If you are still using an older GraalVM version, ensure the correct version of the documentation is displayed. More information on the change can be found in the [release notes](https://www.graalvm.org/release-notes/JDK_21/).
34
34
35
35
36
36
## Dependency Setup
37
37
38
-
Since Polyglot version 23.1, all necessary artifacts can be downloaded directly from Maven Central.
38
+
Since GraalVM Polyglot API version 23.1.0, all necessary artifacts can be downloaded directly from Maven Central.
39
39
All artifacts relevant to embedders can be found in the Maven dependency group [`org.graalvm.polyglot`](https://central.sonatype.com/namespace/org.graalvm.polyglot).
40
40
See the [polyglot embedding demonstration](https://github.com/graalvm/polyglot-embedding-demo) on GitHub for a complete runnable example.
41
41
@@ -45,32 +45,34 @@ Here is an example Maven dependency setup that you can put into your project:
Language and tool dependencies use the [GraalVM Free Terms and Conditions (GFTC)](https://www.oracle.com/downloads/licenses/graal-free-license.html) license
69
69
To use community-licensed versions instead, add the `-community` suffix to each artifact (e.g., `js-community`).
70
70
To access [polyglot isolate](#polyglot-isolates) artifacts, use the `-isolate` suffix instead (e.g. `js-isolate`).
71
71
72
-
The artifacts `languages` and `tools` include all available languages and tools as dependencies.
73
-
This artifact might grow or shrink between major releases. We recommend selecting only the needed languages for a production deployment.
72
+
The artifacts `polyglot` and `tools` include all available languages and tools as dependencies.
73
+
This artifact might grow or shrink between major releases. We recommend selecting only the needed language(s) for a production deployment.
74
+
75
+
> The `pom` type is a requirement for language or tool dependencies.
74
76
75
77
Additionally, your _module-info.java_ file should require `org.graalvm.polyglot` when using Java modules.
76
78
@@ -727,7 +729,7 @@ public class PolyglotIsolate {
0 commit comments