Java – use GlassFish Library in proprietary software
I want to use some parts of GlassFish in a proprietary software licensed under CDDL gplv2 Am I allowed to do this? I didn't modify any content in the code of these libraries, so this can, or my software, because it uses these libraries, is still considered derivative works, so it is a big taboo?
I mean, according to http://jaxb.java.net/ JAXB also belongs to CDDL gplv2, but I know I can use it freely in proprietary software Is this because CDDL gplv2 is actually allowed, or is it distributed with different licenses when bundled with JRE?
Solution
OK, I found the answer Wikipedia says:
Classpath exception is the main content here See the yellow section at the bottom of the GlassFish website license agreement:
Basically, this means that as long as I distribute licenses using the GlassFish library, I am free to put them in the classpath of my proprietary software Searching the downloaded Metro source code (the part I want to use), I found that only a few java files did not contain the required lines in the comments (to be more precise, they have no headline comments at all.)