Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   Java error (https://www.gnutellaforums.com/general-linux-support/13761-java-error.html)

Unregistered July 20th, 2002 08:28 AM

Java error
 
I set my java path in my .bash_profile file and i get this error when i execute the lime wire install. Does anyone else have any ideas on what to do next? I'm running RH7.3 w/o kaffe.

Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX

Unregistered July 20th, 2002 08:29 AM

Here's my .bash_profile file.

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin:/usr/java/j2sdk1.4.0_01/jre/bin
export JAVA_HOME=/usr/java/j2sdk1.4.0_01/jre
export PATH=$JAVA_HOME/bin:$PATH
export PATH
unset USERNAME

Unregistered July 20th, 2002 09:56 AM

Test the version
 
Run "which java" and "java -version" at a prompt to see which java binary you're running. You probaby have Kaffe installed to /usr/bin/java and that is what is running. I renamed the java binaries in /usr/bin so Sun's version 1.4 binary would run on my machine.

Unregistered July 20th, 2002 10:20 AM

Actually when i originally installed this linux build i did not select to install kaffe. I upgraded my previous version of java to the developer version java 1.4.0_01 (which is the current release from Sun Microsystems). Here's the info that you requested. But for some reason i think there a problem with the language class definitions in the limewire install script.

java -version

java version "1.4.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)

which java

/usr/java/j2sdk1.4.0_01/jre/bin/java

Bobo the Red August 19th, 2002 08:37 PM

Why say the same thing twice?
 
Quote:

Originally posted by Unregistered
Here's my .bash_profile file.

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin:/usr/java/j2sdk1.4.0_01/jre/bin
export JAVA_HOME=/usr/java/j2sdk1.4.0_01/jre
export PATH=$JAVA_HOME/bin:$PATH
export PATH
unset USERNAME

That seems pretty complicated ... all mine says is:

PATH=$PATH:$HOME/bin:usr/java/j2se1.4.0_01/bin
export PATH
unset USERNAME

exporting your path statment twice seems redundant.

Unregistered August 21st, 2002 12:02 PM

make sure you got the limewirelinux.bin file in binary mode.
I had downloaded it on my windoze box and ftp'd it to my linux box in ascii mode.
after I ftp'd it over in binary mode it worked great.


All times are GMT -7. The time now is 08:14 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.