Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   ARGH! Help with install problems please (https://www.gnutellaforums.com/general-linux-support/5158-argh-help-install-problems-please.html)

Unregistered November 4th, 2001 09:18 AM

ARGH! Help with install problems please
 
I've tried installing from the install bin and tried twists way of installing and can't get it to work... I've been trying for like 6 hours.. hear are my error messages.. I've tried all the solutions in the forums and it won't work.. it seems to be trying to point to a /usr/java/lang dir which does not exist..
HELP!

From LimeWireLinux.bin /w Install:

Error: Unrecognized JVM specific option `-Xmx50331648'.
Error: Unrecognized JVM specific option `-Xms16777216'.
This Java Application has encountered an unexpected error and will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError: ZeroGab
at ZeroGr.<init>([DashoPro-V1.2-120198]:line unknown, pc 0x874a98c)
at com.zerog.ia.installer.Main.a([DashoPro-V1.2-120198]:line unknown, pc 0x8879982)
at com.zerog.ia.installer.Main.b([DashoPro-V1.2-120198]:line unknown, pc 0x8854130)
at com.zerog.ia.installer.Main.main([DashoPro-V1.2-120198]:line unknown, pc 0x840aa74)
at java.lang.reflect.Method.linvoke(Method.java:nativ e)
at com.zerog.lax.LAX.launch([DashoPro-V1.2-120198]:line unknown, pc 0x829d9d6)
at com.zerog.lax.LAX.main([DashoPro-V1.2-120198]:line unknown, pc 0x81d036f)

From LimeWireLinux.tgz using twist's method for install and alternate runlime.sh:

Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/ClassNotFoundException: /usr/local/LimeWire:/usr/local/LimeWire/LimeWire/jar:/usr/local/LimeWire/collections/jar
at java.lang.Class.forName(Class.java:native)
at java.lang.Class.forName(Class.java:53)
/usr/local/LimeWire/runlime.sh: Line 32: 2484 Aborted (core dumped) java -cp $CLASS_DIR/LimeWire.jar:$CLASS_DIR/collections.jar RunLime

Please say someone knows what my problem is...

Chris Routh
AKA: Routhy
The Den of Amateur Writing
http://www.routhy.net
21852940

twist November 4th, 2001 11:29 PM

Kaffe
 
You have Kaffe installed. Kaffe is an open source implementation of Java that (mostly) implements Java 1.1.

http://www.kaffe.org

Unless you need it for some reason I suggest you remove it from your system. Then just make sure you have either the JRE or JDK 1.3.1 installed and added to your path and you should be ready to go. Open a terminal and use the command:

java -version

To see which version of java is executing.

Unregistered November 5th, 2001 02:38 AM

Thanks.. but new prob now
 
You were right.. and I reinstalled JRE.. but now I'm getting this:

bash: java: command not found.

now what am I missing?

Chris

twist November 5th, 2001 04:15 AM

Path
 
In order for bash for find the java program it has to know where to look for it. You can list directories to be searched for programs in the PATH environment variable. Whenever you try to run a program, bash looks at this variable and searches the directories listed trying to find a match. If one is found, that program is run. You can set the PATH in either the ~/.bash_profile or /etc/profile configuration files. ~/.bash_profile is specific to your user while /etc/profile is a system wide configuration.

You need to append the directory where your java program lives on to this PATH list. Here's an example (from my system) of setting the PATH:

PATH=$PATH:$HOME/bin:/usr/java/jdk1.3.1/bin

On my system it's /usr/java/jdk1.3.1/bin. Yours will be different! You have to find the java bin directory on your system. It'll be something like /usr/java/jre1.3.1/bin but check to make sure.

To edit either /etc/profile or ~/.bash_profile just open them in a text editor and find the existing PATH= line (there probably is one) and add :/yourjavadirhere on to the end of it. Note that each entry in the PATH line is separated by a colon.

Then make sure PATH appears in an export line further on in the file. PATH may be on it's own or with other variables, it doesn't matter. eg

export PATH

Save the file. Log out, log back in, and test everything by opening a terminal and typing:

java -version

You should see the java version information. And that's it! Try to fire up LimeWire!

There have been many posts in this forum on this topic. If you have any trouble try reading some of those. Some have links to good sites with information on the PATH variable.

Unregistered November 5th, 2001 11:11 AM

Already done
 
I had done all that before.. I checked again but it still isn't working.. same message... I don't have the .bash_profile directory on any users on my system either, so it's only set in the /etc/profile

I'm getting really lost here

Chris

twist November 5th, 2001 06:11 PM

Path
 
.bash_profile is just a text file in the home directory of each user (~/.bash_profile). If it's not there you can create it. Alternatively, there may be .bash_login or .profile files present. These are also used by bash for configuration. (The files are read in by bash the order .bash_profile, .bash_login, and .profile).

However, since you already have the PATH set in /etc/profile you shouldn't need to worry about this.

There could be two reasons why it isn't working. 1. The directory you've listed is incorrect or 2. The PATH variable isn't exported.

Routhy November 6th, 2001 12:09 AM

Could it be anything else?
 
My path is right.. and it's being exported.. I can post a copy of my /etc/profile if you'd like

Chris

Routhy November 6th, 2001 12:34 AM

Oh, jeese nm, I got it working
 
I was checking my bashrc file in /etc instead of the .bashrc file in my home dir... duh.. I just had to put the path in there.. thanks for your time..

the only thing wrong now is when I use your modified runlime.sh I get a

font specified in font.properties not found

it's looking for symbol.. can I fix this?

and was wondering if you could suggest anyone to help me with a few problems I'm haveing elsewhere in linux.. (I'm still fairly new...as if yuo couldn't tell)

Chris

twist November 6th, 2001 03:57 AM

Font properties
 
It's a problem with the font.properties file that Java uses. There's a revised file which you can download and replace the old one with. Check out the font properties section of the Java release notes at:

http://java.sun.com/j2se/1.3/relnotes.html

To learn more about Linux it's probably best to borrow a book from the library or buy a book on Linux. You can also try some general Linux help and documentation sites such as:

http://www.linuxnewbie.org
http://www.linux.org
http://www.linuxdoc.org
http://www.linux.com
http://www.redhat.com (Or the site of whichever distro you use)

You can also read the comp.os.linux newsgroups. There are heaps of ways to find out more! :)


All times are GMT -7. The time now is 06:09 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.