I'm developing an application to be used by a group of users within my company. The company have yet to certify JDK 8 onwards but JRE 8 onwards is fine and all company PCs have this latest JRE installed. The application I'm building is currently a Maven Project and whenever I run a clean install and create a Fat JAR I need to use my own locally installed verison of JDK 8 to ensure the JAR is created - otherwise the build process fails with the message "No compiler is provided."
Does this mean that my application won't run on machines that don't have JDK 8? If I create a Fat JAR with a JDK 8 dependecy and distribute it to machines that don't have a JDK installed what will be the result?
The reason I ask is that the application I'm developing uses a GUI built with JavaFX. JavaFX (as far as I'm aware) needs Java V8 to run. In Eclipse all of my classes compile and run fine. But when I run a Maven clean install I get a stack of compilation errors all indicating that the Maven compiler doesn't recognise JavaFX. So I'm not sure what's happening here.
Won't you be my neighbor? - Fred Rogers. tiny ad:
Devious Experiments for a Truly Passive Greenhouse!