I am building an app on mac osx using javafx maven plugin
. This plugin automatically creates the complete JRE
inside the Java.runtime
folder during the build process. But it doesnt contain the java.exe
inside it.
I want to launch a jar
within the app but for that I need java
executable also inside the app. If I paste the java
executable from system java bin folder inside the Java runtime folder of my app , I am able to launch my jar (problem gets resolved) but I am not able to launch this app to the mac app store because the Java
executable is code signed with Developer ID Application: Oracle America, Inc. and has a bundle identifier of net.java.openjdk.cmd
.This doesnt allow my app to be uploaded on itunes.
Is there any way out , where using javafx maven plugin
I also get the java executable inside my app during the build process rahter than copying it from my system java inside my app which has a different code signature.