Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
Launch4J is really awesome!
I know that with JavaFX you can generate a launcher with an ant task, but I was willing to keep using Launch4J.
My app uses Swing and I'm starting to include some JavaFX components, but the problem is that I must include the jfxrt.jar to the classpath but it could be in many different places.
Starting with Java 7u6, the JavaFX is installed with the JRE.
It would be really nice if Launch4J could also look for JavaFX and include the required libraries to the classpath.
I have the same question.
I cannot figure out how to include jfxrt.jar in the classpath.
The only dirty workaround is to add:
<!-- JRE (>1.7.0_06) -->
<!-- JDK (>1.7.0_06) -->
However, this relies on the facts that:
This is too unreliable.
Is there a variable to know the JRE location that Launch4j uses at runtime?
It seems that Feature Request #61 would answer my requirement...
I changed the priority of that feature request, planned for next release.
I tried the patch from feature request #61 and can confirm that it works.
Waiting for next release!