0

I have developed application in Netbeans IDE 6.9 Using javafx Script based Application. i can able to build and run using IDE successfully .

But My requirement is i have to Run Same App in different machine where No Netbeans IDE.I have Jar file which developed by netbeans . How to launch that in different machine.

Am newbie for java .Please Guide me to install my app

Thanks in advance

Vasu Ashok
  • 1,413
  • 3
  • 17
  • 37

2 Answers2

0

If a JRE is installed on this machine you can launch the jar with this shell command:

java -jar yourjar.jar

I am not familiar with javafx but you might need to include javafx libraries in your command (and maybe install them on the target machine before). See Launching JavaFX script via a jar file

Matt Handy
  • 29,855
  • 2
  • 89
  • 112
0

Launching javafx quit simple..... instead of using jar file .We can Find JNLP files which is inside the dist folder of your project.Using that We can lunch our app.

Vasu Ashok
  • 1,413
  • 3
  • 17
  • 37