diff --git a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis-service.xml b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis-service.xml
index 593a5094a5..6752b1126f 100644
--- a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis-service.xml
+++ b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis-service.xml
@@ -28,7 +28,7 @@
${artemis.instance}\log
roll
- java
+ %JAVA_HOME%\bin\java.exe
-Xbootclasspath/a:%ARTEMIS_HOME%\lib\${logmanager}
-XX:+UseParallelGC
-XX:+AggressiveOpts