Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   Cannot install LimeWire (https://www.gnutellaforums.com/general-linux-support/24448-cannot-install-limewire.html)

michelbehr March 9th, 2004 05:46 AM

Cannot install LimeWire
 
Hi!

I WAS trying to install LimeWire, but...

michel@michel:~/Download$ ./LimeWireLinux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Invocation of this Java Application has caused an InvocationTargetException. Thi
s application will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(Unknown Sour
ce)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at com.zerog.ia.installer.Main.c(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
GUI-
michel@michel:~/Download$


And then someone would say "This is easy: install JAVA and everything will be just fine" Well, take a look:

michel@michel:~/Download$ java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
michel@michel:~/Download$

And my browser (Firefox-0.8) is running java just fine. In fact i tested VM at java.com test page (its perfect).

"OK, what u have to do is to configure PATH to java directory" I THINK that this might be the problem, but take a look:

michel@michel:~/Download$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/local/j2re1.4.2_03/bin:/opt/kde/bin:/usr/lib/qt-3.1.2/bin:/usr/share/texmf/bin:.:/usr/local/j2re1.4.2_03/bin:.
michel@michel:~/Download$ echo $CLASSPATH
/usr/java/j2re1.4.2_03/lib:.
michel@michel:~/Download$

I mean, java directory is there... How did i do that? I made ALL the files EVERYONE on internet would suggest me to create: .bash_profile , .bashrc , java.sh... Do u wanna take a look at those? Here it goes:

This is /etc/profile (the initial part of the file):

# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.

# Set the values for some environment variables:
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man
export HOSTNAME="`cat /etc/HOSTNAME`"
export LESSOPEN="|lesspipe.sh %s"
export LESS="-M"
# Added for Java access (Limewire wasnt finding it)
export JAVA_HOME=/usr/local/j2re1.4.2_03
export PATH=$PATH:$JAVA_HOME/bin:.
export MANPATH=$MANPATH:$JAVA_HOME/man:.
export CLASSPATH=$JAVA_HOME/lib:.


This is java.sh:

# This file was manually created by Madness, so that he could install
# LimeWire


#This was suggested at
#http://forum.java.sun.com/thread.jsp...essage=1965368

#JAVA_HOME=/usr/java/j2re...yourversion
#export JAVA_HOME
#PATH=$PATH:$JAVA_HOME/bin
#export PATH

#So in my case, this would be:

JAVA_HOME=/usr/local/j2re1.4.2_03
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH
export CLASSPATH=$JAVA_HOME/lib


Finally, .bash_profile and .bashrc (they are identical). Those are at /home/michel/

# Manually created file to run LimeWire...

export PATH=$PATH:/usr/local/j2re1.4.2_03/bin:.
export CLASSPATH=/usr/java/j2re1.4.2_03/lib:.


Just to register here:

michel@michel:/usr/local/j2re1.4.2_03$ ls
CHANGES LICENSE Welcome.html lib/
COPYRIGHT README bin/ man/
ControlPanel.html THIRDPARTYLICENSEREADME.txt javaws/ plugin/
michel@michel:/usr/local/j2re1.4.2_03$


Well... If anyone has a clue about WHY its not working...


All times are GMT -7. The time now is 09:26 PM.

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.