File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "JavFX - JNLP" Watch "JavFX - JNLP" New topic


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?

John Damien Smith
Ranch Hand

Joined: Jan 26, 2012
Posts: 230
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.

I agree. Here's the link:
subject: JavFX - JNLP
It's not a secret anymore!