{"action":"created","issue":{"url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/136","labels_url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/136/comments","events_url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/136/events","html_url":"https://github.com/javafx-maven-plugin/javafx-maven-plugin/issues/136","id":97353522,"number":136,"title":"Correct Maven Parameters to set userJvmArgs, when set the App won't start","user":{"login":"sselvia","id":3527730,"avatar_url":"https://avatars.githubusercontent.com/u/3527730?v=3","gravatar_id":"","url":"https://api.github.com/users/sselvia","html_url":"https://github.com/sselvia","followers_url":"https://api.github.com/users/sselvia/followers","following_url":"https://api.github.com/users/sselvia/following{/other_user}","gists_url":"https://api.github.com/users/sselvia/gists{/gist_id}","starred_url":"https://api.github.com/users/sselvia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sselvia/subscriptions","organizations_url":"https://api.github.com/users/sselvia/orgs","repos_url":"https://api.github.com/users/sselvia/repos","events_url":"https://api.github.com/users/sselvia/events{/privacy}","received_events_url":"https://api.github.com/users/sselvia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/labels/documentation%20needed","name":"documentation needed","color":"5319e7"},{"url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/labels/Mac","name":"Mac","color":"104b65"}],"state":"open","locked":false,"assignee":{"login":"FibreFoX","id":1042579,"avatar_url":"https://avatars.githubusercontent.com/u/1042579?v=3","gravatar_id":"","url":"https://api.github.com/users/FibreFoX","html_url":"https://github.com/FibreFoX","followers_url":"https://api.github.com/users/FibreFoX/followers","following_url":"https://api.github.com/users/FibreFoX/following{/other_user}","gists_url":"https://api.github.com/users/FibreFoX/gists{/gist_id}","starred_url":"https://api.github.com/users/FibreFoX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FibreFoX/subscriptions","organizations_url":"https://api.github.com/users/FibreFoX/orgs","repos_url":"https://api.github.com/users/FibreFoX/repos","events_url":"https://api.github.com/users/FibreFoX/events{/privacy}","received_events_url":"https://api.github.com/users/FibreFoX/received_events","type":"User","site_admin":false},"milestone":null,"comments":39,"created_at":"2015-07-26T22:00:56Z","updated_at":"2015-08-03T00:33:23Z","closed_at":null,"body":"What is the correct way to set the userJvmArgs and/or jvmProperties, when I set the userJvmArgs as shown below the generated application won't start in Mac OSx.  When I set the jvmProperties as shown below the application will start but the property is not set.  I'm using 8.1.3 Snapshot with JDK 1.8 update 60.  I'm having to use update 60 because of a TableView refresh issue that is resolved in update 60.\r\n\r\n            <plugin>\r\n                <groupId>com.zenjava</groupId>\r\n                <artifactId>javafx-maven-plugin</artifactId>\r\n                <version>8.1.3-SNAPSHOT</version>\r\n                <configuration>\r\n\r\n                    <mainClass>com.thundercloudresources.examineit.pro.ExamineITPro</mainClass>\r\n                    <preLoader>com.thundercloudresources.examineit.preloader.ExamineITPreloader</preLoader>\r\n                    <nativeReleaseVersion>2.0.0</nativeReleaseVersion>\r\n                    <needMenu>true</needMenu>\r\n                    <needShortcut>true</needShortcut>\r\n                    <verbose>true</verbose>\r\n\r\n                    <jvmArgs>\r\n                        <jvmArg>-Xmx2g</jvmArg>\r\n                    </jvmArgs>\r\n\r\n                    <jvmProperties>\r\n                        <jvmProperty>-DTCR.ExamineIT.Pro=true</jvmProperty>\r\n                    </jvmProperties>                    \r\n\r\n                    <userJvmArgs>\r\n                        <userJvmArg>ProVersion</userJvmArg>\r\n                    </userJvmArgs>\r\n\r\n                </configuration>\r\n            </plugin>\r\n"},"comment":{"url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/comments/127091435","html_url":"https://github.com/javafx-maven-plugin/javafx-maven-plugin/issues/136#issuecomment-127091435","issue_url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/136","id":127091435,"user":{"login":"sselvia","id":3527730,"avatar_url":"https://avatars.githubusercontent.com/u/3527730?v=3","gravatar_id":"","url":"https://api.github.com/users/sselvia","html_url":"https://github.com/sselvia","followers_url":"https://api.github.com/users/sselvia/followers","following_url":"https://api.github.com/users/sselvia/following{/other_user}","gists_url":"https://api.github.com/users/sselvia/gists{/gist_id}","starred_url":"https://api.github.com/users/sselvia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sselvia/subscriptions","organizations_url":"https://api.github.com/users/sselvia/orgs","repos_url":"https://api.github.com/users/sselvia/repos","events_url":"https://api.github.com/users/sselvia/events{/privacy}","received_events_url":"https://api.github.com/users/sselvia/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T00:33:23Z","updated_at":"2015-08-03T00:33:23Z","body":"I’m still having a problem with the mac os version of the application.  I installed the 8.1.4-SNAPSHOT plugin and I’ve built your version of the application.  I created a windows 8.1 VM and got everything installed and setup.  When I execute the generated application I’m getting an error when running the code with the packager reference code is not commented out.  I comment out the two lines that reference the packager jar and the application displayed the parameters except for the argument3 command line parameter.\n\nEven with the packager jar declared in the dependencies I cannot run the application using Netbeans, I still get the stack trace issue with the class def not found for the UserJvmOptionsService\n\n    UserJvmOptionsService ujo = UserJvmOptionsService.getUserJVMDefaults();\n    MainApp.MainAppLogger.info(\"UserJvmOptionsService.getUserJVMOptions: Argument3 > \" + ujo.getUserJVMOptions().get(\"Argument3\") );\n\n------------------------------------------------------------------------\nBuilding TestPluginUserJVMArgsAppStore 1.0-SNAPSHOT\n------------------------------------------------------------------------\n\n--- exec-maven-plugin:1.2.1:exec (default-cli) @ TestPluginUserJVMArgsAppStore ---\njava.lang.reflect.InvocationTargetException\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:497)\n\tat com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)\n\tat com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:497)\n\tat sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)\nCaused by: java.lang.NoClassDefFoundError: jdk/packager/services/UserJvmOptionsService\n\tat my.test.project.MainApp.main(MainApp.java:26)\n\t... 11 more\nCaused by: java.lang.ClassNotFoundException: jdk.packager.services.UserJvmOptionsService\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:381)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\n\t... 12 more\nException running application my.test.project.MainApp\n------------------------------------------------------------------------\nBUILD FAILURE\n------------------------------------------------------------------------\nTotal time: 5.147s\nFinished at: Sun Aug 02 20:32:10 EDT 2015\nFinal Memory: 5M/109M\n------------------------------------------------------------------------\nFailed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project TestPluginUserJVMArgsAppStore: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]\n\nTo see the full stack trace of the errors, re-run Maven with the -e switch.\nRe-run Maven using the -X switch to enable full debug logging.\n\nFor more information about the errors and possible solutions, please read the following articles:\n[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException\n\n\n\n\n> On Aug 2, 2015, at 8:53 AM, Danny Althoff <notifications@github.com> wrote:\n> \n> No problem, this is a spare-time project for me  so at weekends i have more time to spend than at the other days ;)\n> \n> —\n> Reply to this email directly or view it on GitHub <https://github.com/javafx-maven-plugin/javafx-maven-plugin/issues/136#issuecomment-127022670>.\n> \n\n"}}