问题
Install4j v5.1.6: Creating Media File type "Mac OSX Single Bundle" bundled with Java 1.7 JRE (Java 1.7u45) causes the following error displayed when the Install File is launched:
"You need at least a 1.7 Java Virtual Machine to install [my app name]. Please download it from http://www.apple.com"
Works fine if I bundle without JRE by selecting in the Media Wizard JRE step: "Installed OpenJDK JRE (Java 7 and higher)", but I need app bundled with a JRE. Install File launched on OSX version 10.7.5. Created Install File with Install4j running on Win 7 64bit.
回答1:
can u elaborate on how did you add jre and from where u download those bundles? Usually you need to download jre from install4j IDE and can bundle the same with your application.
来源:https://stackoverflow.com/questions/19458383/install4j-mac-osx-single-bundle-with-java-7-app-launch-error