[jedit] Re: Which version of Sun Java have I got?

Knute Johnson ubuntu at knutejohnson.com
Wed Mar 9 02:32:12 UTC 2011


On 03/08/2011 05:33 PM, NoOp wrote:
> On 03/08/2011 05:23 PM, NoOp wrote:
>> On 03/08/2011 04:48 PM, Knute Johnson wrote:
> ...
>>> Did jEdit load a JRE for itself?
>>
>> http://packages.ubuntu.com/maverick/jedit
>> depends: openjdk-6-jre
>> However, it says:
>> or sun-java6-jre
>> So it looks as if you can use both, but jedit will install openjdk by
>> default.
>
> Sorry. Looks like I was wrong. I just installed jedit and it did not
> install openjdk-6-jre:
> $ apt-cache policy openjdk-6-jre
> openjdk-6-jre:
>    Installed: (none)
>    Candidate: 6b20-1.9.7-0ubuntu1
>    Version table:
>       6b20-1.9.7-0ubuntu1 0
>          500 http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main
> i386 Packages
>          500 http://security.ubuntu.com/ubuntu/ maverick-security/main
> i386 Packages
>       6b20-1.9-0ubuntu1 0
>          500 http://us.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
>
>
> $ apt-cache policy jedit
> jedit:
>    Installed: 4.3.2+dfsg-3
>    Candidate: 4.3.2+dfsg-3
>    Version table:
>   *** 4.3.2+dfsg-3 0
>          500 http://us.archive.ubuntu.com/ubuntu/ maverick/universe i386
> Packages
>          100 /var/lib/dpkg/status
>
>
>

It is possible to have multiple Javas installed using the 'alternatives' 
program but I think the OP was getting them both at once.  Not sure 
what's up with that unless a JRE was installed with jEdit in a fashion 
similar to what OpenOffice does.




More information about the ubuntu-users mailing list