Re: How to deploy JavaFX application writen in JavaScript unsing Nashorn

2014-05-07 Thread Danno Ferrin
The JJS command line tool delegates to jdk.nashorn.tools.Shell, with a lot of custom command line switches. Some of these command line switches also do custom things, particularly the -fx flag. The problem with using the Shell class as the main for javapackager its that currently we don’t supp

Re: How to deploy JavaFX application writen in JavaScript unsing Nashorn

2014-05-07 Thread Mike Hearn
It's probably easiest to have a tiny Java app that just loads the JS files from resources in the JAR and runs it via Nashorn directly. Then all existing tools like jfxpackager, JWrapper etc can treat it like a Java app. On Wed, May 7, 2014 at 3:30 AM, Bilal Soidik wrote: > Hi! > As you know, we

How to deploy JavaFX application writen in JavaScript unsing Nashorn

2014-05-06 Thread Bilal Soidik
Hi! As you know, we can write JavaFX application in JavaScript using Nashorn Engine, but I have to run application with command line like: > jjs app_all.js -fx . So I wont know how can I deploy application that let me click on and lunch it or make a self-contained application packaging using JDK 7(