|
3 | 3 | The GraalVM SDK is a collection of APIs for the components of GraalVM.
|
4 | 4 |
|
5 | 5 | * [`org.graalvm.nativeimage`](https://www.graalvm.org/sdk/javadoc/org/graalvm/nativeimage/package-summary.html): The Native Image public API for advanced use cases.
|
6 |
| -* [`org.graalvm.polyglot`](https://www.graalvm.org/sdk/javadoc/org/graalvm/polyglot/package-summary.html): A library that allows to embed polyglot language implementations in Java. |
| 6 | +* [`org.graalvm.polyglot`](https://www.graalvm.org/sdk/javadoc/org/graalvm/polyglot/package-summary.html): A library that allows embedding of polyglot language implementations in Java. |
7 | 7 | * [`org.graalvm.word`](https://www.graalvm.org/sdk/javadoc/org/graalvm/word/package-summary.html): A low-level library for machine-word-sized values in Java.
|
8 |
| -* [`org.graalvm.collection`](https://www.graalvm.org/sdk/javadoc/org/graalvm/collections/package-summary.htmlyes): A collections library for GraalVM components. |
| 8 | +* [`org.graalvm.collections`](https://www.graalvm.org/sdk/javadoc/org/graalvm/collections/package-summary.htmlyes): A collections library for GraalVM components. |
9 | 9 |
|
10 | 10 | ## Getting Started
|
11 | 11 |
|
12 | 12 | To get started, download and install GraalVM for your operating system as described in the [installation guide](https://www.graalvm.org/latest/docs/getting-started/).
|
13 |
| -The GraalVM SDK JAR is put on the class path automatically. |
14 |
| -You can use GraalVM just like any other JDK in your IDE. |
| 13 | +The `org.graalvm.nativeimage`, `org.graalvm.word`, and `org.graalvm.collection` modules from the GraalVM SDK are included in a GraalVM JDK and can be used like any other module. |
15 | 14 |
|
16 |
| -The GraalVM SDK bits are also uploaded to Maven central. |
| 15 | +The GraalVM SDK bits are also available on Maven central. |
17 | 16 | Add these module dependencies to your Maven project configuration file:
|
18 | 17 |
|
19 | 18 | ```xml
|
@@ -43,25 +42,25 @@ Below is an example of the Maven configuration:
|
43 | 42 | <dependency>
|
44 | 43 | <groupId>org.graalvm.polyglot</groupId>
|
45 | 44 | <artifactId>polyglot</artifactId>
|
46 |
| - <version>23.1.2</version> |
| 45 | + <version>${graalvm.polyglot.version}</version> |
47 | 46 | </dependency>
|
48 | 47 | <dependency>
|
49 | 48 | <groupId>org.graalvm.polyglot</groupId>
|
50 | 49 | <artifactId>js|python|ruby|wasm|llvm|java</artifactId>
|
51 |
| - <version>23.1.2</version> |
| 50 | + <version>${graalvm.polyglot.version}</version> |
52 | 51 | <type>pom</type>
|
53 | 52 | </dependency>
|
54 | 53 | <dependency>
|
55 | 54 | <groupId>org.graalvm.polyglot</groupId>
|
56 | 55 | <artifactId>tools</artifactId>
|
57 |
| - <version>23.1.2</version> |
| 56 | + <version>${graalvm.polyglot.version}</version> |
58 | 57 | <type>pom</type>
|
59 | 58 | </dependency>
|
60 | 59 | ```
|
61 | 60 |
|
62 | 61 | ## Learn More
|
63 | 62 |
|
64 |
| -* [Embedding Languages documentation](https://www.graalvm.org/latest/reference-manual/embed-languages/) to learn how to use the Polyglot API to embed GraalVM languages in a Java host application. |
| 63 | +* [Embedding Languages documentation](https://www.graalvm.org/latest/reference-manual/embed-languages/) to learn how to use the Polyglot API to embed GraalVM languages in Java host applications. |
65 | 64 | * [Polyglot Embedding Demonstration on GitHub](https://github.com/graalvm/polyglot-embedding-demo) to find a complete runnable Maven and Gradle examples.
|
66 | 65 |
|
67 | 66 | ## Changes
|
|
0 commit comments