I'm trying to deploy my javafx project as .exe in e(fx)clipse with the build.fxbuild. After creating all the folders, the consoles tells me the following:
BUILD FAILED
C:\Users\XXX\Build\build.xml:53: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre8"
A simple .jar file would also do the job but I can't make this work either. I'm getting several exceptions when I try to start my .jar ( I think this might be because It trys to run it on jre7, not on jre8 as it's supposed to ). However, launching my program in eclipse works. Anyone has an Idea how to fix this? Thank you.