Netbeans and Java implementations
Derek Broughton
news at pointerstop.ca
Mon Jun 23 14:04:19 UTC 2008
Wulfy wrote:
> kbl at adept-hosting.net wrote:
>> On Sunday 22 June 2008 14:35:00 Pablo L. Berdaguer wrote:
>>
>>> I installed the sun-java6 packages and Netbeans IDE... but the netbeans
>>> package from ubuntu repositories depends on the onpenjdk-6-jre packages.
>>> Why is that? Do I really need openjdk if I already have the sun
>>> implementation installed? How can I manage to delete the openjdk while
>>> keeping netbeans?
>>>
>> I don't know this package specifically but I would think you will need
>> some form of JDK. JRE is the run-time environment and JDK is the
>> development kit. You need *a* development kit to work with the IDE. So,
>> logically, you will need the openjdk package. I don't know if the
>> sun-java6 packages you installed include a compatible jdk but I'm
>> assuming openjdk *is* a dependancy of Netbeans.
> Netbeans depends on libnb-platform7-java which in turn depends on
> openjdk-6-jre OR sun-java6-jre. I assume that the packagers *prefer*
> the openjdk version because it is FOSS
>
> Of course you need a full -jdk to compile so one or other (openjdk-6-jdk
> OR sun-java6-jdk) is required but not both. Either contains the
> (appropriate) -jre files.
As Wulfy says, it doesn't need openjdk. I just tried installing netbeans,
and it wants the @#$%! gcj packages, that I spend so much time trying to
keep OFF my system, but it's just fine with the sun jdk.
--
derek
More information about the kubuntu-users
mailing list