how do i install java?

Horst Schlonz horst.schlonz at gmx.de
Wed Oct 26 19:01:42 UTC 2005


you can choose, which java is to be used by calling

# sudo update-alternatives --config java

this is nice.

Am Mittwoch, den 26.10.2005, 14:50 +1000 schrieb David Coldrick:
> Hi Horst,
> 
> There are a few Java installation guides floating about: if you follow
> the instructions on my blog
> (http://blogs.sun.com/roller/page/coldrick?entry=java_development_on_ubuntu_part), you should be OK. Those instructions are for the jdk, but ut work for just the jre if that's all you need.
> 
> You're right, you can't get rid of libgcj because of some (totally
> bogus, AFAIK) dependencies. Very annoying!
> 
> Regards,
> David
> 
> On 10/26/05, Horst Schlonz <horst.schlonz at gmx.de> wrote:
>         hi,
>         
>         i followed this guide
>         http://help.ubuntu.com/starterguide/C/ch03s02.html, but it
>         doesn't get
>         me java, because there is no /usr/bin/java in the package. 
>         
>         i seem to have some fake java installed:
>         # java -version
>         java version "1.4.2"
>         gij (GNU libgcj) version 4.0.2 20050808 (prerelease) (Ubuntu
>         4.0.1-4ubuntu9)
>         
>         Copyright (C) 2005 Free Software Foundation, Inc. 
>         This is free software; see the source for copying
>         conditions.  There is
>         NO
>         warranty; not even for MERCHANTABILITY or FITNESS FOR A
>         PARTICULAR
>         PURPOSE.
>         
>         also, i can't move gij-4.0 out of the way without removing OOo
>         and other 
>         stuff. is java not supposed to run on breezy?
>         
>         
>         
>         --
>         ubuntu-users mailing list
>         ubuntu-users at lists.ubuntu.com
>         http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 
-- 
Horst Schlonz <horst.schlonz at gmx.de>





More information about the ubuntu-users mailing list