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

Re: installing java (for limewire)



On Thu, 2006-12-28 at 17:00 +0100, Robert Epprecht wrote:
> x@p4s:~$ limewire
> Starting LimeWire...
> Java exec found in PATH. Verifying...
> OOPS, you don't seem to have a valid JRE. LimeWire works best with Sun JRE available at http://www.java.com
> OOPS, unable to locate java exec in  /usr/lib/  hierarchy
> You need to upgrade to JRE 1.4.x or newer from http://www.java.com
> ls: /usr/java/j*: No such file or directory
> OOPS, unable to locate java exec in  /usr/java/  hierarchy
> You need to upgrade to JRE 1.4.x or newer from http://www.java.com
> ls: /opt/j*: No such file or directory
> OOPS, unable to locate java exec in  /opt/  hierarchy
> You need to upgrade to JRE 1.4.x or newer from http://www.java.com
> 
> x@p4s:~$ java -version
> java version "1.4.2"
> gij (GNU libgcj) version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)
> 
> Copyright (C) 2006 Free Software Foundation, Inc.
> [snip]
> 
> What's the problem?

Your system is still set up to use GCJ as the default Java environment.
This is where you learn about the Debian alternatives system :)

Run, as root,
update-alternatives --config java

And change the defaults to Sun Java. (There's also javac, javadoc, javap
etc.)

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: