Recapping status of JDK 7u4, OpenJDK 7 and embedding a JRE

Fabrizio Giudici Fabrizio.Giudici at tidalwave.it
Wed May 9 02:07:47 PDT 2012


Folks,

perhaps it's just me but I think we need to recap the status of various  
things as per the subject. I try to resume shortly what I'm aware of and  
then put some questions:

1. We have JDK 7u4 from Oracle that for what I see works pretty well on  
Mac OS X, in the sense that NetBeans 7.1.2 and some of my own, simpler  
apps pass a smoke test.
2. I can technically embed the JRE taken out of JDK 7u4 and it works - not  
doing that with one of the two AppBundler out there because my apps are  
based on the NetBeans Platform which requires its own startup, but I'm  
skipping this particular point now.
3. As far as I understand, JDK 7u4 by Oracle has its own licensing that  
prevents us from making any change (I'm explicitly referring on trimming  
some stuff) on the embedded JRE.
4. As far as I understand, JDK 7u4 can't be redistributed in any other way  
than embedding, which forbids e.g. preparing a Maven tar.gz artifact (even  
unstripped) with the JRE bits and publishing it to a public Maven  
repository.
5. As far as I understand, we are allowed to trim the embed JRE from  
OpenJDK as far as we comply with the GPLv2 + CPE rules.
6. As far as I understand, OpenJDK JRE can be redistributed as a Maven  
tar.gz artifact provided that I label it with the proper licensing stuff.

First, I'd like to have some confirmation of the points above. Second, if  
they are correct, it seems that the only way I have to embed a JRE into my  
FLOSS apps is by using OpenJDK, because of that requirement of a Maven  
public artifact.

Thanks.

-- 
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
fabrizio.giudici at tidalwave.it
http://tidalwave.it - http://fabriziogiudici.it


More information about the macosx-port-dev mailing list