Skip to content

Commit cd08b4d

Browse files
committed
Update build command in Native Image JMX guide
1 parent 8d88e31 commit cd08b4d

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

docs/reference-manual/native-image/guides/build-and-run-native-executable-with-remote-jmx.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ In the next step, you will pass this JSON file to the `native-image` builder.
110110
Build a native executable with VM monitoring enabled:
111111
112112
```shell
113-
$JAVA_HOME/bin/native-image --enable-monitoring=jmxserver,jvmstat -H:DynamicProxyConfigurationFiles=proxy-config.json SimpleJmx
113+
$JAVA_HOME/bin/native-image --enable-monitoring=jmxserver,jmxclient,jvmstat -H:DynamicProxyConfigurationFiles=proxy-config.json SimpleJmx
114114
```
115115
116116
The `--enable-monitoring=jmxserver` option enables the JMX Server feature which allows accepting incoming connections.

sdk/README.md

+8-9
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,16 @@
33
The GraalVM SDK is a collection of APIs for the components of GraalVM.
44

55
* [`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.
77
* [`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.
99

1010
## Getting Started
1111

1212
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.
1514

16-
The GraalVM SDK bits are also uploaded to Maven central.
15+
The GraalVM SDK bits are also available on Maven central.
1716
Add these module dependencies to your Maven project configuration file:
1817

1918
```xml
@@ -43,25 +42,25 @@ Below is an example of the Maven configuration:
4342
<dependency>
4443
<groupId>org.graalvm.polyglot</groupId>
4544
<artifactId>polyglot</artifactId>
46-
<version>23.1.2</version>
45+
<version>${graalvm.polyglot.version}</version>
4746
</dependency>
4847
<dependency>
4948
<groupId>org.graalvm.polyglot</groupId>
5049
<artifactId>js|python|ruby|wasm|llvm|java</artifactId>
51-
<version>23.1.2</version>
50+
<version>${graalvm.polyglot.version}</version>
5251
<type>pom</type>
5352
</dependency>
5453
<dependency>
5554
<groupId>org.graalvm.polyglot</groupId>
5655
<artifactId>tools</artifactId>
57-
<version>23.1.2</version>
56+
<version>${graalvm.polyglot.version}</version>
5857
<type>pom</type>
5958
</dependency>
6059
```
6160

6261
## Learn More
6362

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.
6564
* [Polyglot Embedding Demonstration on GitHub](https://github.com/graalvm/polyglot-embedding-demo) to find a complete runnable Maven and Gradle examples.
6665

6766
## Changes

0 commit comments

Comments
 (0)