Re: JavaFX 12

2020-08-10 Thread Neil C Smith
On Mon, 10 Aug 2020 at 15:32, Ernie Rael  wrote:
> If you take a look at /nbactions.xml (or similarly in NB "proj
>  > properties > actions) there's run and debug. Notice the "clean". I'm
> guessing you don't need to do the clean/build because that is implicit
> in the run/debug.
>
> I don't know about the Shift-F6 binding for maven projects...

That's Run file via main() in the Maven actions.

I assume it's probably possible to set that up similarly to run
project, but to pass the main class to the JavaFX plugin instead?

Best wishes,

Neil

-
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



Re: JavaFX 12

2020-08-10 Thread Ernie Rael

On 8/10/2020 5:51 AM, HRH wrote:
Bad habits got me in trouble. I am used to using Shift-F6 on each main 
class and that's why led to the problem. I used the Run->Set Main 
project, then chose Clean and Build Main project and finally Run -> 
Run Main Project. It works great now.


If you take a look at /nbactions.xml (or similarly in NB "proj 
> properties > actions) there's run and debug. Notice the "clean". I'm 
guessing you don't need to do the clean/build because that is implicit 
in the run/debug.


I don't know about the Shift-F6 binding for maven projects...

-ernie



To reproduce the problem, I used Shift-F6 again, and the error 
re-occurred.


Thank you all.

On Monday, August 10, 2020, 5:03:33 PM GMT+4:30, HRH 
 wrote:




Hi Chris,

I already have those properties in the aforementioned files as part of 
the initial setup. Both the pom and nbactions are having your 
recommended elements. I think my problem is somewhere eles, I will 
report back.


On Monday, August 10, 2020, 4:38:34 PM GMT+4:30, Luff,Chris 
 wrote:



You’ll need the javafx-maven-plugin...

org.openjfx
javafx-maven-plugin
0.0.4

Then configure the run action in nbactions to execute that;


run

jar


clean
javafx:run



On 10 Aug 2020, at 12:55, HRH > wrote:


Chuck,
Thanks for the prompt response. During the installation and initial 
setup, I changed the artifact versions per instructions given by 
Getting Started with JavaFX 







Getting Started with JavaFX

Getting started with JavaFX for Java desktop application development



Here is the snap-shot of my pom.xml for these artifacts. Am I missing 
something else?




org.openjfx
javafx-controls
14


org.openjfx
javafx-fxml
14




Thanks
On Monday, August 10, 2020, 3:39:52 PM GMT+4:30, Chuck Davis 
mailto:cjgun...@gmail.com>> wrote:



Update your POM to latest versions of Maven artifacts.

On Mon, Aug 10, 2020 at 3:34 AM HRH > wrote:


I forgot to indicated, that I have already modified the
 
 
org.me.learningfx.control.MavenFxBasicDemo
 

in the pom.xml file.

Thanks


On Monday, August 10, 2020, 2:54:09 PM GMT+4:30, HRH
mailto:hrh...@yahoo.com.invalid>> wrote:


Hi,

While using "Java with Maven"->FXML JavaFX Maven Archtype" works
fine to run its pre-configured App.java, creating a new package
with a new main class fails to compile with the following error.
Any insights on which resources need to be modified?

Thanks in advance.

Error msg:
Error: JavaFX runtime components are missing, and are required to
run this application
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)
--
Total time: 5.034 s
Finished at: 2020-08-10T14:49:10+04:30

Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (default-cli) on
project Mavenbasedlearningfx: Command execution failed.: Process
exited with an error: 1 (Exit value: 1) -> [Help 1]






CONFIDENTIALITY NOTICE This message and any included attachments are 
from Cerner Corporation and are intended only for the addressee. The 
information contained in this message is confidential and may 
constitute inside or non-public information under international, 
federal, or state securities laws. Unauthorized forwarding, printing, 
copying, distribution, or use of such information is strictly 
prohibited and may be unlawful. If you are not the addressee, please 
promptly delete this message and notify the sender of the delivery 
error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, 
Registered in England no 2519305, Registered Office 37 North Wharf 
Road, London W2 1AF.





-
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:

Re: JavaFX 12

2020-08-10 Thread HRH
 Bad habits got me in trouble. I am used to using Shift-F6 on each main class 
and that's why led to the problem. I used the Run->Set Main project, then chose 
Clean and Build Main project and finally Run -> Run Main Project. It works 
great now.
To reproduce the problem, I used Shift-F6 again, and the error re-occurred.

Thank you all.

On Monday, August 10, 2020, 5:03:33 PM GMT+4:30, HRH 
 wrote:  
 
  
Hi Chris,
I already have those properties in the aforementioned files as part of the 
initial setup. Both the pom and nbactions are having your recommended elements. 
I think my problem is somewhere eles, I will report back.

On Monday, August 10, 2020, 4:38:34 PM GMT+4:30, Luff,Chris 
 wrote:  
 
 You’ll need the javafx-maven-plugin...
org.openjfxjavafx-maven-plugin0.0.4
Then configure the run action in nbactions to execute that;
    run                    
jar                            
clean            javafx:run            


On 10 Aug 2020, at 12:55, HRH  wrote:
Chuck,Thanks for the prompt response. During the installation and initial 
setup, I changed the artifact versions per instructions given byGetting Started 
with JavaFX

| 
| 
|  | 
Getting Started with JavaFX
Getting started with JavaFX for Java desktop application development |

 |

 |


Here is the snap-shot of my pom.xml for these artifacts. Am I missing something 
else?

    
    org.openjfx
    javafx-controls
    14
    
    
    org.openjfx
    javafx-fxml
    14
    
    

Thanks
On Monday, August 10, 2020, 3:39:52 PM GMT+4:30, Chuck Davis 
 wrote:

Update your POM to latest versions of Maven artifacts.

On Mon, Aug 10, 2020 at 3:34 AM HRH  wrote:

I forgot to indicated, that I have already modified the 
 
 
    
org.me.learningfx.control.MavenFxBasicDemo
 
in the pom.xml file.
Thanks


On Monday, August 10, 2020, 2:54:09 PM GMT+4:30, HRH  
wrote:

Hi,
While using "Java with Maven"->FXML JavaFX Maven Archtype" works fine to run 
its pre-configured App.java, creating a new package with a new main class fails 
to compile with the following error. Any insights on which resources need to be 
modified?
Thanks in advance.
Error msg:Error: JavaFX runtime components are missing, and are required to run 
this application
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)
--
Total time:  5.034 s
Finished at: 2020-08-10T14:49:10+04:30

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec 
(default-cli) on project Mavenbasedlearningfx: Command execution failed.: 
Process exited with an error: 1 (Exit value: 1) -> [Help 1]







 
CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: JavaFX 12

2020-08-10 Thread HRH
 
Hi Chris,
I already have those properties in the aforementioned files as part of the 
initial setup. Both the pom and nbactions are having your recommended elements. 
I think my problem is somewhere eles, I will report back.

On Monday, August 10, 2020, 4:38:34 PM GMT+4:30, Luff,Chris 
 wrote:  
 
 You’ll need the javafx-maven-plugin...
org.openjfxjavafx-maven-plugin0.0.4
Then configure the run action in nbactions to execute that;
    run                    
jar                            
clean            javafx:run            


On 10 Aug 2020, at 12:55, HRH  wrote:
Chuck,Thanks for the prompt response. During the installation and initial 
setup, I changed the artifact versions per instructions given byGetting Started 
with JavaFX

| 
| 
|  | 
Getting Started with JavaFX
Getting started with JavaFX for Java desktop application development |

 |

 |


Here is the snap-shot of my pom.xml for these artifacts. Am I missing something 
else?

    
    org.openjfx
    javafx-controls
    14
    
    
    org.openjfx
    javafx-fxml
    14
    
    

Thanks
On Monday, August 10, 2020, 3:39:52 PM GMT+4:30, Chuck Davis 
 wrote:

Update your POM to latest versions of Maven artifacts.

On Mon, Aug 10, 2020 at 3:34 AM HRH  wrote:

I forgot to indicated, that I have already modified the 
 
 
    
org.me.learningfx.control.MavenFxBasicDemo
 
in the pom.xml file.
Thanks


On Monday, August 10, 2020, 2:54:09 PM GMT+4:30, HRH  
wrote:

Hi,
While using "Java with Maven"->FXML JavaFX Maven Archtype" works fine to run 
its pre-configured App.java, creating a new package with a new main class fails 
to compile with the following error. Any insights on which resources need to be 
modified?
Thanks in advance.
Error msg:Error: JavaFX runtime components are missing, and are required to run 
this application
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)
--
Total time:  5.034 s
Finished at: 2020-08-10T14:49:10+04:30

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec 
(default-cli) on project Mavenbasedlearningfx: Command execution failed.: 
Process exited with an error: 1 (Exit value: 1) -> [Help 1]







 
CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.
  

Re: JavaFX 12

2020-08-10 Thread Chuck Davis
You'll also have to update the plugins.  i.e. change the compiler plugin to
3.8.1 and any others that have a newer version available.  Following
section of my POM.


org.apache.maven.plugins
maven-compiler-plugin
3.8.1

13
false
true



org.ow2.asm
asm
7.0 




org.apache.maven.plugins
maven-jar-plugin
3.1.1


org.apache.maven.plugins
maven-javadoc-plugin
3.0.1

false



On Mon, Aug 10, 2020 at 4:55 AM HRH  wrote:

> Chuck,
> Thanks for the prompt response. During the installation and initial setup,
> I changed the artifact versions per instructions given by Getting Started
> with JavaFX 
>
>
>


Re: JavaFX 12

2020-08-10 Thread Luff,Chris
You’ll need the javafx-maven-plugin...

org.openjfx
javafx-maven-plugin
0.0.4

Then configure the run action in nbactions to execute that;


run

jar


clean
javafx:run



On 10 Aug 2020, at 12:55, HRH 
mailto:hrh...@yahoo.com.INVALID>> wrote:

Chuck,
Thanks for the prompt response. During the installation and initial setup, I 
changed the artifact versions per instructions given by Getting Started with 
JavaFX


Getting Started with JavaFX
Getting started with JavaFX for Java desktop application development

Here is the snap-shot of my pom.xml for these artifacts. Am I missing something 
else?



org.openjfx
javafx-controls
14


org.openjfx
javafx-fxml
14




Thanks
On Monday, August 10, 2020, 3:39:52 PM GMT+4:30, Chuck Davis 
mailto:cjgun...@gmail.com>> wrote:


Update your POM to latest versions of Maven artifacts.

On Mon, Aug 10, 2020 at 3:34 AM HRH 
mailto:hrh...@yahoo.com.invalid>> wrote:
I forgot to indicated, that I have already modified the
 
 

org.me.learningfx.control.MavenFxBasicDemo
 

in the pom.xml file.

Thanks


On Monday, August 10, 2020, 2:54:09 PM GMT+4:30, HRH 
mailto:hrh...@yahoo.com.invalid>> wrote:


Hi,

While using "Java with Maven"->FXML JavaFX Maven Archtype" works fine to run 
its pre-configured App.java, creating a new package with a new main class fails 
to compile with the following error. Any insights on which resources need to be 
modified?

Thanks in advance.

Error msg:
Error: JavaFX runtime components are missing, and are required to run this 
application
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)
--
Total time:  5.034 s
Finished at: 2020-08-10T14:49:10+04:30

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec 
(default-cli) on project Mavenbasedlearningfx: Command execution failed.: 
Process exited with an error: 1 (Exit value: 1) -> [Help 1]







CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: JavaFX 12

2020-08-10 Thread HRH
 Chuck,Thanks for the prompt response. During the installation and initial 
setup, I changed the artifact versions per instructions given by Getting 
Started with JavaFX

| 
| 
|  | 
Getting Started with JavaFX

Getting started with JavaFX for Java desktop application development
 |

 |

 |


Here is the snap-shot of my pom.xml for these artifacts. Am I missing something 
else?

    
    org.openjfx
    javafx-controls
    14
    
    
    org.openjfx
    javafx-fxml
    14
    
    

Thanks
On Monday, August 10, 2020, 3:39:52 PM GMT+4:30, Chuck Davis 
 wrote:  
 
 Update your POM to latest versions of Maven artifacts.

On Mon, Aug 10, 2020 at 3:34 AM HRH  wrote:

 I forgot to indicated, that I have already modified the 
 
 
    
org.me.learningfx.control.MavenFxBasicDemo
 
in the pom.xml file.
Thanks


On Monday, August 10, 2020, 2:54:09 PM GMT+4:30, HRH 
 wrote:  
 
  Hi,
While using "Java with Maven"->FXML JavaFX Maven Archtype" works fine to run 
its pre-configured App.java, creating a new package with a new main class fails 
to compile with the following error. Any insights on which resources need to be 
modified?
Thanks in advance.
Error msg:Error: JavaFX runtime components are missing, and are required to run 
this application
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)
--
Total time:  5.034 s
Finished at: 2020-08-10T14:49:10+04:30

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec 
(default-cli) on project Mavenbasedlearningfx: Command execution failed.: 
Process exited with an error: 1 (Exit value: 1) -> [Help 1]




  
  

Re: JavaFX 12

2020-08-10 Thread Chuck Davis
Update your POM to latest versions of Maven artifacts.

On Mon, Aug 10, 2020 at 3:34 AM HRH  wrote:

> I forgot to indicated, that I have already modified the
>  
>  
>
> org.me.learningfx.control.MavenFxBasicDemo
>  
>
> in the pom.xml file.
>
> Thanks
>
>
> On Monday, August 10, 2020, 2:54:09 PM GMT+4:30, HRH
>  wrote:
>
>
> Hi,
>
> While using "Java with Maven"->FXML JavaFX Maven Archtype" works fine to
> run its pre-configured App.java, creating a new package with a new main
> class fails to compile with the following error. Any insights on which
> resources need to be modified?
>
> Thanks in advance.
>
> Error msg:
> Error: JavaFX runtime components are missing, and are required to run this
> application
> 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)
> --
> Total time:  5.034 s
> Finished at: 2020-08-10T14:49:10+04:30
> 
> Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
> (default-cli) on project Mavenbasedlearningfx: Command execution failed.:
> Process exited with an error: 1 (Exit value: 1) -> [Help 1]
>
>
>
>
>


Re: JavaFX 12

2020-08-10 Thread HRH
 I forgot to indicated, that I have already modified the 
 
 
    
org.me.learningfx.control.MavenFxBasicDemo
 
in the pom.xml file.
Thanks


On Monday, August 10, 2020, 2:54:09 PM GMT+4:30, HRH 
 wrote:  
 
  Hi,
While using "Java with Maven"->FXML JavaFX Maven Archtype" works fine to run 
its pre-configured App.java, creating a new package with a new main class fails 
to compile with the following error. Any insights on which resources need to be 
modified?
Thanks in advance.
Error msg:Error: JavaFX runtime components are missing, and are required to run 
this application
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.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:764)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:711)
    at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:289)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
    at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:564)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:347)

BUILD FAILURE

Total time:  5.034 s
Finished at: 2020-08-10T14:49:10+04:30

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec 
(default-cli) on project Mavenbasedlearningfx: Command execution failed.: 
Process exited with an error: 1 (Exit value: 1) -> [Help 1]




On Thursday, August 6, 2020, 9:05:32 AM GMT+4:30, HRH  
wrote:  
 
  Thank you, using JavaWithMaven worked.

On Wednesday, August 5, 2020, 11:40:52 PM GMT+4:30, Ernie Rael 
 wrote:  
 
 The easiest way to run jfx with NetBeans is through maven. In NetBeans 
you can do

    NewProject.. > JavaWithMaven > "Simpe JavaFX Maven Archetype"

(or the FXML one if that's what you're after)

This gives you a simple project that you can run and debug.

-ernie

On 8/5/2020 11:52 AM, HRH wrote:
> Hi,
>
> Trying to build a JavaFX project with Netbeans 12.0 IDE, using the 
> online documentation Getting Started with JavaFX 
> 
>
>
>     
>
>
>    Getting Started with JavaFX
>
> Getting started with JavaFX for Java desktop application development
>
> 
> In step 3 of this page, adding the JavaFX12 to the library, I don't 
> seem to locate such a library from the dropdown list. Please help.
>
> Thanks
>
>
>


-
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

  

Re: JavaFX 12

2020-08-10 Thread HRH
 Hi,
While using "Java with Maven"->FXML JavaFX Maven Archtype" works fine to run 
its pre-configured App.java, creating a new package with a new main class fails 
to compile with the following error. Any insights on which resources need to be 
modified?
Thanks in advance.
Error msg:Error: JavaFX runtime components are missing, and are required to run 
this application
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.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:764)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:711)
    at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:289)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
    at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:564)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:347)

BUILD FAILURE

Total time:  5.034 s
Finished at: 2020-08-10T14:49:10+04:30

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec 
(default-cli) on project Mavenbasedlearningfx: Command execution failed.: 
Process exited with an error: 1 (Exit value: 1) -> [Help 1]




On Thursday, August 6, 2020, 9:05:32 AM GMT+4:30, HRH  
wrote:  
 
  Thank you, using JavaWithMaven worked.

On Wednesday, August 5, 2020, 11:40:52 PM GMT+4:30, Ernie Rael 
 wrote:  
 
 The easiest way to run jfx with NetBeans is through maven. In NetBeans 
you can do

    NewProject.. > JavaWithMaven > "Simpe JavaFX Maven Archetype"

(or the FXML one if that's what you're after)

This gives you a simple project that you can run and debug.

-ernie

On 8/5/2020 11:52 AM, HRH wrote:
> Hi,
>
> Trying to build a JavaFX project with Netbeans 12.0 IDE, using the 
> online documentation Getting Started with JavaFX 
> 
>
>
>     
>
>
>    Getting Started with JavaFX
>
> Getting started with JavaFX for Java desktop application development
>
> 
> In step 3 of this page, adding the JavaFX12 to the library, I don't 
> seem to locate such a library from the dropdown list. Please help.
>
> Thanks
>
>
>


-
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



Re: JavaFX 12

2020-08-05 Thread Chuck Davis
Thanks for those links, Scott.

On Wed, Aug 5, 2020 at 3:00 PM Scott Palmer  wrote:

> You might also consider running with a distribution of OpenJDK that
> includes JavaFX. That simplifies things quite a bit. No need to fiddle with
> the module path.
>
> One such distribution is Bell Soft’s Liberica JDK (Full version, not
> Standard)
> https://bell-sw.com/pages/downloads/#/java-14-current
>
> Azul has a version of Zulu that does the same. Just pick JDK FX under
> “Java Package” ON the download page:
> https://www.azul.com/downloads/zulu-community/?architecture=x86-64-bit
>
> Scott
>
> On Aug 5, 2020, at 4:03 PM, Chuck Davis  wrote:
>
> 
> I suggest you take Ernie's suggestion to get started (use the fxml
> archtype).  You can build and run your application in NB.  The first thing
> to do after creating the project is edit the POM to update to newer
> versions of Maven artifacts.  Then, when you wish to run your application
> outside NB you will have to install JavaFX and set the module path per the
> document you linked in your post.  I think I even saw a post from Geertjan
> a few weeks ago where he used jlink (from within NB) to build a fat jar
> that included all the FX modules to run your app.  When jpackager hits the
> JDK perhaps deployments of JavaFX will get easier -- it's already worth the
> additional effort.  I need to find Geertjan's jlink demo again and do
> some testing.
>
>
> On Wed, Aug 5, 2020 at 11:52 AM HRH  wrote:
>
>> Hi,
>>
>> Trying to build a JavaFX project with Netbeans 12.0 IDE, using the online
>> documentation Getting Started with JavaFX
>> 
>>
>> Getting Started with JavaFX
>>
>> Getting started with JavaFX for Java desktop application development
>> 
>> In step 3 of this page, adding the JavaFX12 to the library, I don't seem
>> to locate such a library from the dropdown list. Please help.
>>
>> Thanks
>>
>>
>>
>>


Re: JavaFX 12

2020-08-05 Thread Scott Palmer
You might also consider running with a distribution of OpenJDK that includes 
JavaFX. That simplifies things quite a bit. No need to fiddle with the module 
path. 

One such distribution is Bell Soft’s Liberica JDK (Full version, not Standard) 
https://bell-sw.com/pages/downloads/#/java-14-current 

Azul has a version of Zulu that does the same. Just pick JDK FX under “Java 
Package” ON the download page: 
https://www.azul.com/downloads/zulu-community/?architecture=x86-64-bit

Scott

> On Aug 5, 2020, at 4:03 PM, Chuck Davis  wrote:
> 
> 
> I suggest you take Ernie's suggestion to get started (use the fxml archtype). 
>  You can build and run your application in NB.  The first thing to do after 
> creating the project is edit the POM to update to newer versions of Maven 
> artifacts.  Then, when you wish to run your application outside NB you will 
> have to install JavaFX and set the module path per the document you linked in 
> your post.  I think I even saw a post from Geertjan a few weeks ago where he 
> used jlink (from within NB) to build a fat jar that included all the FX 
> modules to run your app.  When jpackager hits the JDK perhaps deployments of 
> JavaFX will get easier -- it's already worth the additional effort.  I 
> need to find Geertjan's jlink demo again and do some testing.
> 
> 
>> On Wed, Aug 5, 2020 at 11:52 AM HRH  wrote:
>> Hi,
>> 
>> Trying to build a JavaFX project with Netbeans 12.0 IDE, using the online 
>> documentation Getting Started with JavaFX
>> 
>> Getting Started with JavaFX
>> Getting started with JavaFX for Java desktop application development
>> In step 3 of this page, adding the JavaFX12 to the library, I don't seem to 
>> locate such a library from the dropdown list. Please help.
>> 
>> Thanks
>> 
>> 
>> 


Re: JavaFX 12

2020-08-05 Thread Chuck Davis
I suggest you take Ernie's suggestion to get started (use the fxml
archtype).  You can build and run your application in NB.  The first thing
to do after creating the project is edit the POM to update to newer
versions of Maven artifacts.  Then, when you wish to run your application
outside NB you will have to install JavaFX and set the module path per the
document you linked in your post.  I think I even saw a post from Geertjan
a few weeks ago where he used jlink (from within NB) to build a fat jar
that included all the FX modules to run your app.  When jpackager hits the
JDK perhaps deployments of JavaFX will get easier -- it's already worth the
additional effort.  I need to find Geertjan's jlink demo again and do
some testing.


On Wed, Aug 5, 2020 at 11:52 AM HRH  wrote:

> Hi,
>
> Trying to build a JavaFX project with Netbeans 12.0 IDE, using the online
> documentation Getting Started with JavaFX
> 
>
> Getting Started with JavaFX
>
> Getting started with JavaFX for Java desktop application development
> 
> In step 3 of this page, adding the JavaFX12 to the library, I don't seem
> to locate such a library from the dropdown list. Please help.
>
> Thanks
>
>
>
>


Re: JavaFX 12

2020-08-05 Thread Ernie Rael
The easiest way to run jfx with NetBeans is through maven. In NetBeans 
you can do


   NewProject.. > JavaWithMaven > "Simpe JavaFX Maven Archetype"

(or the FXML one if that's what you're after)

This gives you a simple project that you can run and debug.

-ernie

On 8/5/2020 11:52 AM, HRH wrote:

Hi,

Trying to build a JavaFX project with Netbeans 12.0 IDE, using the 
online documentation Getting Started with JavaFX 







Getting Started with JavaFX

Getting started with JavaFX for Java desktop application development


In step 3 of this page, adding the JavaFX12 to the library, I don't 
seem to locate such a library from the dropdown list. Please help.


Thanks






-
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



JavaFX 12

2020-08-05 Thread HRH
Hi,
Trying to build a JavaFX project with Netbeans 12.0 IDE, using the online 
documentation Getting Started with JavaFX

| 
| 
|  | 
Getting Started with JavaFX

Getting started with JavaFX for Java desktop application development
 |

 |

 |

In step 3 of this page, adding the JavaFX12 to the library, I don't seem to 
locate such a library from the dropdown list. Please help.
Thanks