Skip to content

Commit 27ff6a7

Browse files
committed
Update Native Image build command
1 parent 54bcd22 commit 27ff6a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/native-image-jmx-demo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
cd native-image-jmx-demo
3535
wget -q https://github.com/jiaqi/jmxterm/releases/download/v1.0.2/jmxterm-1.0.2-uber.jar
3636
javac SimpleJmx.java
37-
native-image --enable-monitoring=jmxserver,jvmstat -H:DynamicProxyConfigurationFiles=proxy-config.json SimpleJmx
37+
native-image --enable-monitoring=jmxserver,jmxclient,jvmstat -H:DynamicProxyConfigurationFiles=proxy-config.json SimpleJmx
3838
./simplejmx -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=9996 -Dcom.sun.management.jmxremote.ssl=false &
3939
sleep 1
4040
echo "get --bean com.jmx.test.basic:name=simple *" | java -jar jmxterm-1.0.2-uber.jar --noninteract --url localhost:9996

0 commit comments

Comments
 (0)