Netbeans and Java implementations

Wulfy wulfmann at tiscali.co.uk
Mon Jun 23 10:33:04 UTC 2008


kbl at adept-hosting.net wrote:
> On Sunday 22 June 2008 14:35:00 Pablo L. Berdaguer wrote:
>   
>> Hello,
>> 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?
>>
>> Thanks
>>     
>
> 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.

-- 
Blessings

Wulfmann

Wulf Credo:
Respect the elders. Teach the young. Co-operate with the pack.
Play when you can. Hunt when you must. Rest in between.
Share your affections. Voice your opinion. Leave your Mark.
Copyright July 17, 1988 by Del Goetz





More information about the kubuntu-users mailing list