Sun Java

Avi Greenbury lists at avi.co
Wed Apr 25 11:13:56 UTC 2012


Kipton Moravec <kip at kdream.com> wrote:
> So I tested.
> 
> kip at k5prk-ms:/usr/local$ java -version
> The program 'java' can be found in the following packages:
>  * gcj-4.4-jre-headless
>  * openjdk-6-jre-headless
>  * cacao
>  * gij-4.3
>  * jamvm
> 
> This looks like OpenJDK not Sun-6-java. 

No, this is neither. It's suggesting packages you can install to get
something called 'java' that you can run; there's no 'java' binary in
your $PATH so you probably haven't got any Javas installed.

> kip at k5prk-ms:/usr/local$ sudo apt-get install update-sun-jre
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> update-sun-jre is already the newest version.
[...] 
> So it says it was already installed. 

Can you do a

dpkg -l | grep jre

and paste the output, please? 

-- 
Avi




More information about the ubuntu-users mailing list