This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 214
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.

jQuery in Action, 3rd edition
subject: JavFX - JNLP
It's not a secret anymore!