wood burning stoves*
The moose likes JavaFX and the fly likes JavFX - JNLP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "JavFX - JNLP" Watch "JavFX - JNLP" New topic
Author

JavFX - JNLP

Ally Cavs
Ranch Hand

Joined: Aug 25, 2008
Posts: 89
Hi Guys

I have my javafx app running but i want to build a JNLP. Im using Java 7. I included the below snippet in my pom.xml to specify javafx dependency but i still get when i run the jnlp






where the variables are declared as properties



Please help?

Thanks
Alan
John Damien Smith
Ranch Hand

Joined: Jan 26, 2012
Posts: 130
    
    9
Do not manually edit jnlp files, let the packaging tools create the appropriate jnlp files for you.

As you are working with maven, use the JavaFX maven plugin instead of specifying JavaFX as a system dependency.

If you don't want to use the JavaFX maven plugin, then use the the maven-antrun-plugin to execute the ant tasks to package your application.

If you don't want to use the JavaFX maven plugin nor the maven-antrun-plugin, then use the JavaFX ant tasks or JavaFX packager tool to package your application.

 
 
subject: JavFX - JNLP
 
Similar Threads
java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel Java7
Using jar without a shared repository in Maven
Javassist with Maven
java.lang.NoClassDefFoundError: oracle/toplink/essentials/ejb/cmp3/EntityManagerFactoryProvider
Java Security Exception