[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: How to use Sun Java instead of gcj[Solved]





> Date: Thu, 7 Jan 2010 09:03:15 +0800
> From: haoniukun@gmail.com
> To: ogyachief@hotmail.com
> CC: debian-user@lists.debian.org
> Subject: Re: How to use Sun Java instead of gcj
>
> How about trying to use update-alternatives to set java?
>
> Ogya Chief wrote:
> > I installed sun-java6 but "java -version" showed version 1.5. Upon
> > further investigation I realised gcj is also installed on the machine
> > and OpenOffice depends on it. I have two questions:
> >
> > 1. How can I make OpenOffice use Sun-java instead of gcj so that I
> > can remove gcj?
> > 2. If it is not possible to remove gcj and keep OpenOffice intact,
> > how can I compile java 1.6 programs using sun-java6?
> >
> > Any help in this direction will be very much appreciated.
> >
> > Kind regards,
> >
> > Ogya

Update-alternatives did the trick.


Windows 7: Simplify what you do everyday. Find the right PC for you.

Reply to: