You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Bart van der Ouderaa <ba...@masterobjects.com> on 2005/09/07 15:02:53 UTC
OT sun jvm licenses (was: Re: com.sun.net.ssl Error)
Hi all,
To explain this (as far as i understand):
Sun only makes implementations for windows, linux (but only since i
think 1.4) and solaris.
To be certified as a java vm you have to pass a testkit (aka your
implementation has to be certified). To pass this test you need an
expensive license to get access (you also get access to the source of
the sun vm) . Current licensees include Apple (for macos ), IBM
(linux versions, windows (because they don't trust sun to be fast
enough on the bugfixes), AIX, Z/OS), HP (HP-UX, OPEN VMS) and others.
Most open source implementations have not passed the testkit (they
can't since they have no access to it), nor are certified as java vms.
Linux had two "blessed" implementations until sun did their own, and
that was the IBM version and the "blackdown" version. The last one
was a group that got access through a licensee to the code (don't
know which one).
sun recently changed the license terms to make it more easy for open
source groups to gain certification and access to the testkit
(although you still need to buy an expensive license to get access to
the jvm code). Apache was one of the groups that got access this way
(initially for the j2ee license because of Tomcat, but now also used
for geronimo). Harmony may be the first OS implementation that could
pass the testkit.
I think at the moment only Apache conforms to the terms to get
access. All the gnu implementations (Kaffe, GCJ etc.) still don't
qualify.
Basically unless you are a part of the Apache group, you can't
implement a JVM and say it's a JVM unless you pay Sun.
Bart van der Ouderaa
MasterObjects
Reigerskamp 393
3607 HX Maarssen
The Netherlands
Phone +31 (0) 346 285 134
Fax +31 (0) 346 285 754
Mobile +31 (0) 653 707 570
http://www.masterobjects.com
bart.van.der.ouderaa@masterobjects.com
Op 7-sep-2005, om 14:39 heeft Sébastien LE CALLONNEC het volgende
geschreven:
> Hi Jake,
>
>
> Not sure about the fee: the Harmony project's aim
> (http://incubator.apache.org/harmony/) is to build an Open-Source VM
> and I don't think they had to pay for it. Same story for other
> Open-Source VMs such as Kaffe, SableVM or even (IBM) Jikes.
>
> Glad I helped.
>
> Regards,
> Sebastien.
>
>
> --- "Vanderdray, Jake" <JV...@aarp.org> a écrit :
>
>
>> Picking IBM's JVM was a relatively random decision. Sun allows
>> other people to develop their own Java implementations after paying a
>> licensing fee as I understand it.
>>
>> Installing the JSSE extensions (from Sun) fixed my problem.
>> Thanks to Sebastien for the quick response.
>>
>> Jake.
>>
>> -----Original Message-----
>> From: Michael Ji [mailto:fji_00@yahoo.com]
>> Sent: Tuesday, September 06, 2005 9:19 PM
>> To: nutch-user@lucene.apache.org
>> Subject: Re: com.sun.net.ssl Error
>>
>> Why JVM from IBM? All Java package is from Sun, right?
>>
>> Michael Ji
>>
>> --- "Vanderdray, Jake" <JV...@aarp.org> wrote:
>>
>>
>>> I'm trying to get nutch-0.7 setup on a RedHat
>>> Enterprise 3
>>> machine. I've installed the JVM from IBM and gotten
>>> tomcat up and
>>> running, but when I try to use ant to compile nutch,
>>> I get a bunch of
>>> errors like this:
>>>
>>> compile:
>>> [echo] Compiling plugin: protocol-httpclient
>>> [javac] Compiling 12 source files to
>>>
>>>
>> /var/lib/tomcat5/webapps/nutch-0.7/build/protocol-httpclient/classes
>>
>>> [javac]
>>>
>>>
>>
>>
> /var/lib/tomcat5/webapps/nutch-0.7/src/plugin/protocol-httpclient/
> src/ja
>
>>>
>>>
>>
>>
> va/org/apache/nutch/protocol/httpclient/
> DummySSLProtocolSocketFactory.ja
>
>>> va:25: package com.sun.net.ssl does not exist
>>> [javac] import com.sun.net.ssl.SSLContext;
>>> [javac] ^
>>> [javac]
>>>
>>>
>>
>>
> /var/lib/tomcat5/webapps/nutch-0.7/src/plugin/protocol-httpclient/
> src/ja
>
>>>
>>>
>>
>>
> va/org/apache/nutch/protocol/httpclient/
> DummySSLProtocolSocketFactory.ja
>
>>> va:26: package com.sun.net.ssl does not exist
>>> [javac] import com.sun.net.ssl.TrustManager;
>>> [javac] ^
>>> [javac]
>>>
>>>
>>
>>
> /var/lib/tomcat5/webapps/nutch-0.7/src/plugin/protocol-httpclient/
> src/ja
>
>>>
>>>
>>
>>
> va/org/apache/nutch/protocol/httpclient/
> DummySSLProtocolSocketFactory.ja
>
>>> va:33: cannot resolve symbol
>>> [javac] symbol : class SSLContext
>>> [javac] location: class
>>>
>>>
>> org.apache.nutch.protocol.httpclient.DummySSLProtocolSocketFactory
>>
>>> [javac] private SSLContext sslcontext = null;
>>>
>>> Do I need the Sun JVM, or am I just missing another
>>> package?
>>>
>>> Thanks,
>>> Jake.
>>>
>>>
>>
>>
>>
>>
>>
>> ______________________________________________________
>> Click here to donate to the Hurricane Katrina relief effort.
>> http://store.yahoo.com/redcross-donate3/
>>
>>
>
>
>
>
>
>
>
> ______________________________________________________________________
> _____
> Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo!
> Messenger
> Téléchargez cette version sur http://fr.messenger.yahoo.com
>