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

Re: How to use Sun Java instead of gcj

On Thu, Jan 07, 2010 at 02:53:16AM +0200, 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?

Lenny has a package of openjdk, which is practically Sun's Java (1.6) -

Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend

Reply to: