A couple naive questions about Java on OS X, re how its arranged, licensing, etc.
Motivation: I have a Java app that I'm getting ready to distribute. I've prepared Linux and Windows distributions, but OS X is proving to be a problem because of the lack of a 1.5 jre. However, I gather that there is beta version available for Tiger, and I'm wondering if there's a way I can use this.
Specific questions:
(i) Does the OS X installation of Java have the same file/directory structure as the Java's distributed by Sun? All of Sun's distributions have the same layout, regardless of target os, e.g. jdk directory/bin/java Is this true of the OS X Java bundle?
(ii) Once Java has been installed, can its files be copied to another system? i.e. can I circumvent the standard installation procedure and provide a copy of the jre with my application? This works with Linux and Windows XP.
(iii) If (ii) is possible, is it legal under whatever license is involved? I know it's acceptable under Sun's licenses. Does Apple attach its own license to the Java it distributes? If so, does it allow redistribution?
(iv) Is it possible that the 'Tiger' version of Java 1.5 will work with earlier versions of OS X? Since most of Java is written in Java, this might be possible. (FYI I explicitly use the 'Metal' look and feel in my app, so issues of resources required for the OS X look and feel (aqua?) may not apply.)
Thanks
Motivation: I have a Java app that I'm getting ready to distribute. I've prepared Linux and Windows distributions, but OS X is proving to be a problem because of the lack of a 1.5 jre. However, I gather that there is beta version available for Tiger, and I'm wondering if there's a way I can use this.
Specific questions:
(i) Does the OS X installation of Java have the same file/directory structure as the Java's distributed by Sun? All of Sun's distributions have the same layout, regardless of target os, e.g. jdk directory/bin/java Is this true of the OS X Java bundle?
(ii) Once Java has been installed, can its files be copied to another system? i.e. can I circumvent the standard installation procedure and provide a copy of the jre with my application? This works with Linux and Windows XP.
(iii) If (ii) is possible, is it legal under whatever license is involved? I know it's acceptable under Sun's licenses. Does Apple attach its own license to the Java it distributes? If so, does it allow redistribution?
(iv) Is it possible that the 'Tiger' version of Java 1.5 will work with earlier versions of OS X? Since most of Java is written in Java, this might be possible. (FYI I explicitly use the 'Metal' look and feel in my app, so issues of resources required for the OS X look and feel (aqua?) may not apply.)
Thanks