Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   Problems intalling with RedHat Linux (https://www.gnutellaforums.com/general-linux-support/3287-problems-intalling-redhat-linux.html)

Unregistered August 30th, 2001 03:28 PM

Problems intalling with RedHat Linux
 
I downloaded the LimeWireLinux.tgz file, unpacked it and tar xvf'ed it and then downloaded the
j2re-1_3_1-linux-i386.bin file from java and it
seemed to install correctly when I ran it, but
when I went to the Lime Wire directory and:

chandra(19)% sh runlime.sh
Couldn't find or load essential class `java/lang/Object' java.lang.NoClassDefFoundError java/lang/Object

any ideas from anyone? i'm on a shared network so i can't fiddle around with my java installation so easily.

Unregistered August 30th, 2001 07:41 PM

I did the same thing.. Still no dice...I am not sure if it is the Lime code or the version of the JRE.. Crapola, because Lime is so cool in winblows.

Errors look like this:

[root@monster LimeWire]# ./runlime.sh
java.lang.ClassNotFoundException: /
at java.lang.Class.forName(Class.java:native)
at java.lang.Class.forName(Class.java:52)

Uggh
FYI

[root@monster LimeWire]# java -version
Kaffe Virtual Machine
Copyright (c) 1996-2000
Transvirtual Technologies, Inc. All rights reserved
Engine: Just-in-time v3 Version: 1.0.6 Java Version: 1.1

Unregistered September 6th, 2001 11:45 PM

Try this.
 
First of all, try typing

cd /
java -version

If you get an error or nothing comes up, then you don't have java properly installed.

P.S. I don't think LimeWire works with Kaffe, try downloading a different runtime environment (Blackdown seems to work great for me).
Let me know if you have trouble installing java.

dannyboy259 October 10th, 2001 12:49 PM

I got it to work last night.....here's the thing that I found.....


First...use the "which" command, it will tell you "which" directory it's looking to for the java directory.

When I did this strategy on RedHat 7.1, it directed me towards the "usr/bin" directory. Once I was there, I had a look at the "java" file.

It's really a short script that repoints the activity at "/usr/bin/kafe" (I think that's where mine pointed, your milage may vary).

To fix all of this, and get everything going, I simply commented out that line and replaced it with the path to "/usr/java/jre1.3.1-01/bin/java" where the jre unpacked itself.

Voila, everything worked correct. After checking some of the other stuff in the /usr/bin directory, I found that there are quite a few of these "indirections" going on........


Danny

twist October 11th, 2001 01:11 AM

Kaffe
 
You can continue using your system like it is (and everything seems to be working for you :-) but I would recommend two things.

First, from the example that you provided it seems that you're running LimeWire as root. It's not a good idea to use the root user anymore than you have to. If, for example, there was ever a security problem or simply a destructive bug with LimeWire or any other application that you run, you expose your system to much greater risk of compromise/damage when you use the root account. Create another user account and use that one.

Second, if you're not using Kaffe for anything else I suggest you remove it. You can remove it by becoming the root user and typing:

rpm -e kaffe

Now just make sure you've got your java bin directory (ie /usr/java/jre1.3.1-01/bin) added to your PATH environment variable in either ~/.bash_profile (your user only) or /etc/profile (all users).


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