Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   Error with Java (I think) during LimeWire isntallation (https://www.gnutellaforums.com/general-linux-support/19652-error-java-i-think-during-limewire-isntallation.html)

MOTHA_beeeeeeeep March 29th, 2003 02:03 PM

Error with Java (I think) during LimeWire isntallation
 
I think i've done everything that's required, but it just won't work for me. During installation I got this error:
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. This application will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(GraphicsEnvironment.java:62)
at java.awt.Window.init(Window.java:224)
at java.awt.Window.<init>(Window.java:268)
at java.awt.Frame.<init>(Frame.java:398)
at java.awt.Frame.<init>(Frame.java:363)
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(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
GUI-
-----------------------------------------------------------------------------------------
Does anyone know what this could mean? I have no idea on what to do next. Someone please post your suggestions.

MOTHA_beeeeeeeep March 30th, 2003 04:35 AM

Just sum additional info on my system
 
I dunno if this would help but heres sum info...I'm on Red Hat 7.3 and im not on root and ive used that export script....uh ive also did the suggestion on editing that bash profile thing....I think ive done everything right..but i guess not since its not working lol....oh and in case ya guys havent figured it out....im a total newbie

So far i haventt seen any posts relatin to my case so im kinda worried.....Someone please help

trap_jaw March 30th, 2003 04:46 AM

enter "java -version" and tell me what it returns.

MOTHA_beeeeeeeep March 30th, 2003 10:42 AM

That command didn't work trap _jaw
 
I tried that and it didn't work....just says java command not found...but i know that i have the newest version cause i installed it two days ago. If thats even what you were looking for.
What else could i do?
Thanks .

trap_jaw March 30th, 2003 01:22 PM

the java executables of the latest version have to be in your PATH if you want the installer to work. So include the "java" program in your PATH using:
export PATH=$PATH:/path/to/java/bin

nDiScReEt March 30th, 2003 08:37 PM

Plus, if you are trying to install limewire and use a regular user. YOu have to be a non-root user. Otherwise, you will have to create or edit /root/.bashrc or /root/.bash_profile to get yoiur system to see your newly installed java VM. You will have to be root to install java using an rpm based system but once that is done, you will have to become your regular user account to configure and install limewire.

HTH

altoine

MOTHA_beeeeeeeep March 31st, 2003 04:22 PM

Uhhhhhhhhhhh.....
 
trap _jaw: ive already done that and still nothing.......nDiScReEt: i didnt really understand what you were trying to tell me but uhh the user thats gonna have limewire is a non-root user. but that user wouldnt be able to install limewire because binary files are off limits to him though for sum reason. so in a terminal window i do that su root thing and thats what id do to install limewire as root but first i need to get it to recognize that i have java so what exactly do i do??? I have no idear on what im missin. I need a detailed walkthrough i guess.

Thanks.

trap_jaw April 1st, 2003 08:34 AM

Re: Uhhhhhhhhhhh.....
 
Quote:

Originally posted by MOTHA_beeeeeeeep
trap _jaw: ive already done that and still nothing.......
Well, and what does "java -version" return now? If it still returns "Command not found" or something similar, the path to your java binaries was wrong. Try again:

export PATH=$PATH:/path/to/java/bin

/path/to/java/bin could be something like
"/usr/lib/java/bin" or "/usr/local/lib/jdk1.4.1_02/bin"

What nDiScReEt meant was, that once you have found the path to your java binaries, the user who wants to start LimeWire has to add this line:

export PATH=$PATH:/path/to/java/bin

to your ~/.bashrc or ~/.profile file. If you don't add this line you would have to readd the path to your java binaries to your $PATH each time before you start LimeWire (you could also edit your runLime.sh script).

MOTHA_beeeeeeeep April 2nd, 2003 10:01 PM

Java -version works
 
the java command returned:
java version "1.4.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)

How do i edit the /.profile file and where in the file do i add the line?

trap_jaw April 3rd, 2003 06:49 AM

use an editor and add the line anywhere you like (preferrably at the end of the file, of course).


All times are GMT -7. The time now is 12:15 AM.

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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.