Java 7 Installer for Mac / Windows

I am programming software in Java 7. Software users are not all updated (especially Mac users). Therefore, I need an installer (Windows / OSX) that can be easily integrated with software installation. There is a regular installer for Windows 7, so I am especially focused on finding it for Mac. Bonus points if he can also check Xcode and other requirements.)

I think another option would be to just use some of the Java 7 libraries (like a file system library). However, I think this may not be possible due to the version number in the compiled classes? I could not use the Java 6 compiler to compile these libraries (because it is Java 7 code).

I do not think that I am the only one with this problem. There must be a solution somewhere, but I did not find it.

Any help would be appreciated.

+3
source share
3 answers

For a better user experience, I would recommend using PackageMaker to create a .pkg file that you can then provide to your Mac users. This allows them to make one click to install your application.

In the package, you can link your application archive (JAR file), any necessary resources and two scripts, one to check for Java 7 in the target system, and the other to install it if not found. I would recommend linking the latest version of OpenJDK7 with your pkg, at least until the official release of the Java 7 SDK for Mac.

+2

JAva 7 Mac OS X, JAva 7 Mac OS X, openjdk-osx-build Google Code.

+2

: Java 7 .

Java 6 + JNI- (: JNotify, JavaXT...)

Objective-C JNI


Mac OS X Java runtime Snow Leopard (JRE6)

Lion JRE6,

via Software Update

, JDK7 Oracle, , , (: Java Web Start)

Edit: Oracle JDK 1.7 Preview Release only supports Mac OS X Lion

-1
source

All Articles