Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
No way to set fx:platform basedir #127
added a commit
Jun 16, 2015
@hinerm: Thanks! It doesn't seem like you're setting the fx:platform basedir, but instead just setting runtime="" (which doesn't include JRE in the bundle).
The issue I'm having is that running the built EXE still looks for the runtime to be included and throws an error.
@AugustKarlstedt Our use case was that we wanted the ability to build a self-contained version of our application without bundling a JRE - allowing a user's system JRE installation to be picked up instead.
You may want to verify that your JRE installation - e.g. if you open a command prompt can you use Java? If not, then a JavaFX app built with
Note that if you're running 32-bit windows, it sounds like you also need to add
If you are able to verify your Java installation and are still having problems starting your app, I recommend opening a new issue and providing more information about your particular setup/pom configuration, and what you're trying to accomplish, as you may be coming up against a bug or other limitation.