How to debug problems with the javafx native bundle for Windows? -


i'm trying package javafx/dukescript application native bundles. windows that's achieved inno setup, that's javafxpackager uses. can't find documentation it, i'll create question , provide answers find below.

related questions: 1, 2, 3, 4

so i've created build.xml ant script using e(fx)clipse (see example here). i've been following this excellent blog post. now, bundle task worked , produced installer , executable app. i've been having trouble running app , couldn't see stack trace. here's how display window stack trace when running executable command line:

 gogps_fx.exe /debug 

that brings popup, stack trace. in case, jar dependency missing. testing, manually added jar under deploy\bundles\gogps_fx\app\libs.

for javafx launcher include new jar, need modify file app\package.cfg. far understand, that's javafx specific, it's not needed inno setup. also, couldn't find information file. anyway, there's property called app.classpath can update. other relevant property app.mainclass. here mainclass not specified standard dotted notation, rather path:

app.mainclass=org/gogpsproject/gogps_fx 

finally, other properties might available. 1 i've found was:

jvmarg.1=-djavafx.verbose=true 

so that's way pass arguments jvm, should need to.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -