I'm trying to package a JavaFX/DukeScript application into native bundles. For Windows that's achieved with Inno Setup, that's what the javafxpackager uses. I can't find much documentation about it, so I'll create a question and provide the answers I find below.
How to debug problems with the javafx native bundle for Windows?
1k Views Asked by ZiglioUK At
1
There are 1 best solutions below
Related Questions in JAVAFX
- JAVAFX error incompatible types: FXMLLoader cannot be converted to node
- How to resolve browser crash issue in JavaFX?
- JavaFX can't play mp3 files
- JavaFX 8 Load external FXML
- All my JavaFX TextFields have lines in them
- Javafx TableView with custom row color using CSS
- Java for Mobile and Desktop Development
- Create Dialogs with Default Images in JavaFX (Info/Warning/Error)
- In javaFx is it possible to make rounded corner of a Rectangle except right-bottom?
- using javafx 8 (java 8 install) How to extend Label.setTooltip Display time to 20secs (while mouse is inside Tooltip)
- javaFX : How to periodically load information from db and show it on a Label?
- How to enable right click option in JavaFX Pane?
- Using ReactFX to resize stage when nodes become invisible?
- How to change collapse and expand icon for a particular treeview in javafx?
- is it possible to set a javaFX Pane origin to bottom-left?
Related Questions in JAVAFX-WEBENGINE
- Can''t get JavaScript to work in WebView
- JavaFX WebView can't load certain sites
- How to debug problems with the javafx native bundle for Windows?
- JavaFX webview: How to forward System.out and System.err to the Firebug Lite console?
- does JavaFx Webview shares cookies with native OS Browser windows platform
- after restore from minimize WebView become disabled in javafx
- javafx webengine url interception
- JavaFX webview does not support filters?
- JavaFX disable highlight and copy mode in WebEngine
- Java getting text content from an element to include line breaks
- WebEngine isn't loading anything
- javafx webEngine.print empty pages at the end
- JavaFX - How to capture loaded Url in WebEngine
- how to load pdf viewer from html2pdf on javafx WebView
- How to use platform.runlater() to disable link/hyperlink/navigation in one webview and open that link/hyperlink/navigation in another webview in java
Related Questions in DUKESCRIPT
- Can we use Dukescript as an applet replacement?
- How to debug problems with the javafx native bundle for Windows?
- JavaFX webview: How to forward System.out and System.err to the Firebug Lite console?
- How can I define writable computed observables in Dukescript?
- How to handle routing in a DukeScript web application
- What does browser.bootstrap stand for in dukescript projects?
- Chocolate chip UI Navigation not working on Dukescript
- How to debug JavaScript in DukeScript
- How to reload a page in DukeScript
- DukeScript: How do native calls into JavaScript work?
- DukeScript: how to access the Java model from the JavaScript context?
- DukeScript, why using @JavaScriptResource rather than importing a js resource with <script>?
- How can I navigate through views in controls.js
- packaging dukescript as native windows app
- How to integrate admob to Dukescript generated apk?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
So I've created a build.xml Ant script using e(fx)clipse (see example here). I've been following this excellent blog post. Now, the bundle task worked and produced an installer and executable app. I've been having trouble running the app and couldn't see a stack trace. So here's how to display a window with the stack trace when running the executable from the command line:
That brings up a popup, with the stack trace. In my case, a jar dependency was missing. So just for testing, I manually added that jar under
deploy\bundles\goGPS_FX\app\libs.For the JavaFX launcher to include this new jar, I need to modify the file
app\package.cfg. As far as I understand, that's JavaFX specific, it's not needed by Inno Setup. Also, I couldn't find much information about this file. Anyway, there's a property calledapp.classpathwe can update. The other relevant property isapp.mainclass. Here the mainclass is not specified with the standard dotted notation, but rather as a path:Finally, other properties might be available. One I've found was:
So that's a way to pass arguments to the jvm, should you need to.