Browse Source

SDK:
- add fix for desktop creation failing when no JVM options are set

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9876 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

nor..67 13 years ago
parent
commit
2cffb50298

+ 1 - 1
jme3-desktop-executables/src/com/jme3/gde/desktop/executables/DesktopExeCompositeProvider.java

@@ -62,7 +62,7 @@ public class DesktopExeCompositeProvider implements ProjectCustomizer.CompositeC
         public SavePropsListener(ProjectExtensionProperties props, Project project) {
             this.properties = props;
             this.project = project;
-            launch4j = new ProjectExtensionManager("launch4j", "v1.3", new String[]{"jar", "-launch4j-exe"});
+            launch4j = new ProjectExtensionManager("launch4j", "v1.4", new String[]{"jar", "-launch4j-exe"});
             launch4j.setAntTaskLibrary("launch4j");
             launch4j.setDataZip("nbres:/com/jme3/gde/desktop/executables/winapp-data.zip");
             macapp = new ProjectExtensionManager("macapp", "v1.2", new String[]{"jar", "-mac-app"});

BIN
jme3-desktop-executables/src/com/jme3/gde/desktop/executables/winapp-data.zip


+ 2 - 2
jme3-desktop-executables/winapp-data/winapp-config.xml

@@ -18,9 +18,9 @@ and open the template in the editor.
   </singleInstance> 
   <jre>
     <!-- Specify one of the following or both -->
-    <path>bundled JRE path</path>
+    <!--path>bundled JRE path</path-->
     <minVersion>1.5.0</minVersion>
-    <opt>${run.jvmargs}</opt>
+    <opt>${run.jvmargs} -Xnoagent</opt>
   </jre>
   <!--splash>
     <file>file</file>