Sure it does. You just didn't see the stackoverflow thread where I got help 
installing JNA, which I need as part of my app. I wandered down the rathole of 
newer JDK versions trying to solve the problem. I'm back to being a happy bunny 
now that I've reverted to JDK 8.

As I said I would, I'm attaching the log from trying to run HelloFXWithMaven. I 
would like to return to my regularly scheduled nap. I realize that I'm probably 
cutting myself off from getting any help in the future, but I'm massively sleep 
deprived and have no choice today.

-----Original Message-----
From: Geertjan Wielenga <geert...@apache.org> 
Sent: Saturday, September 28, 2019 2:21 PM
To: Walter Oney <walter.o...@oneylaw.com>
Cc: Neil C Smith <neilcsm...@apache.org>; NetBeans Mailing List 
<users@netbeans.apache.org>
Subject: Re: A Bad Thing has happened to the promise of platform independence



On Sat, Sep 28, 2019 at 8:14 PM Walter Oney <walter.o...@oneylaw.com 
<mailto:walter.o...@oneylaw.com> > wrote:


        Look, I'm just tired. This isn't the main focus of my life, after all. 
If I can recreate the build that failed so spectacularly,


But that's a question of creating a new sample from the OpenJFX category and 
then building it and running it -- how is that hard to achieve, we just need to 
see the error message so we can help you further and the above takes about 3 
minutes?

Indeed, JNA has nothing at all to do with any of this.

Gj


 

        I will post the log. But I'm in the middle of reverting to JDK right 
now. Once again, thanks for your efforts.
        
        -----Original Message-----
        From: Geertjan Wielenga <geert...@apache.org 
<mailto:geert...@apache.org> > 
        Sent: Saturday, September 28, 2019 2:10 PM
        To: Walter Oney <walter.o...@oneylaw.com 
<mailto:walter.o...@oneylaw.com> >
        Cc: Neil C Smith <neilcsm...@apache.org <mailto:neilcsm...@apache.org> 
>; NetBeans Mailing List <users@netbeans.apache.org 
<mailto:users@netbeans.apache.org> >
        Subject: Re: A Bad Thing has happened to the promise of platform 
independence
        
        The OpenJFX samples work out of the box.
        
        However, it appears your Java environment is misconfigured in some way 
-- though we're not going to know unless you provide the error messages you're 
seeing with the OpenJFX samples. Is it during the build, or during deployment? 
What are the error messages, please?
        
        Gj
        
        On Sat, Sep 28, 2019 at 8:08 PM Walter Oney <walter.o...@oneylaw.com 
<mailto:walter.o...@oneylaw.com>  <mailto:walter.o...@oneylaw.com 
<mailto:walter.o...@oneylaw.com> > > wrote:
        
        
                From: Geertjan Wielenga <geert...@apache.org 
<mailto:geert...@apache.org>  <mailto:geert...@apache.org 
<mailto:geert...@apache.org> > > 
        
                > You're going to have to do better than this in terms of error 
reporting.
        
                I don't want to be on the leading edge here -- I just want to 
get back to developing my app. I got sidetracked by not knowing I needed 
JNA.JAR in addition to JNA-PLATFORM.JAR. But thanks all the same -- today's 
experience reinforces my notion that the toolset, considered as a whole, isn't 
yet ready for prime time. In the fullness of time, I may try to help fix the 
installers so they're more robust in terms of version management.
        
                --
                Walter C. Oney, Jr., Esq.
                267 Pearl Hill Rd., Fitchburg, MA 01420
                Tel.: 978-343-3390
                http://www.oneylaw.com
        
        
        
        
        
        
        
        

cd C:\railroad\HelloFXWithMaven1; "JAVA_HOME=C:\\Program 
Files\\Java\\jdk-11.0.4" cmd /c "\"\"C:\\Program 
Files\\NetBeans-11.1\\netbeans\\java\\maven\\bin\\mvn.cmd\" 
-Dmaven.ext.class.path=\"C:\\Program 
Files\\NetBeans-11.1\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
-Dfile.encoding=UTF-8 clean javafx:run\""
Scanning for projects...
                                                                        
------------------------------------------------------------------------
Building HelloFXWithMaven 1.0-SNAPSHOT
------------------------------------------------------------------------

--- maven-clean-plugin:2.5:clean (default-clean) @ HelloFXWithMaven ---
Deleting C:\railroad\HelloFXWithMaven1\target

--- javafx-maven-plugin:0.0.2:run (default-cli) @ HelloFXWithMaven ---
Using 'UTF-8' encoding to copy filtered resources.
Copying 1 resource
Changes detected - recompiling the module!
Compiling 3 source files to C:\railroad\HelloFXWithMaven1\target\classes
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Unrecognized option: --module-path
Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit 
value: 1)
        at 
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
        at 
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
        at 
org.openjfx.JavaFXBaseMojo.executeCommandLine(JavaFXBaseMojo.java:447)
        at 
org.openjfx.JavaFXBaseMojo.executeCommandLine(JavaFXBaseMojo.java:409)
        at org.openjfx.JavaFXRunMojo.execute(JavaFXRunMojo.java:97)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit 
value: 1)
        at 
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
        at 
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
        at 
org.openjfx.JavaFXBaseMojo.executeCommandLine(JavaFXBaseMojo.java:447)
        at 
org.openjfx.JavaFXBaseMojo.executeCommandLine(JavaFXBaseMojo.java:409)
        at org.openjfx.JavaFXRunMojo.execute(JavaFXRunMojo.java:97)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 4.249 s
Finished at: 2019-09-28T14:20:27-04:00
Final Memory: 23M/80M
------------------------------------------------------------------------
Failed to execute goal org.openjfx:javafx-maven-plugin:0.0.2:run (default-cli) 
on project HelloFXWithMaven: Error: Command execution failed. Process exited 
with an error: 1 (Exit value: 1) -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the 
following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to