Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   Install Problem(s) with RedHat 8. (https://www.gnutellaforums.com/general-linux-support/16625-install-problem-s-redhat-8-a.html)

HwzrHlslndr January 21st, 2003 02:35 PM

Rahven,

I did this once before, but recently re-installed RH8 for various reasons.

This time I am not so successful. I follwed all of your instructions to a "tee" and then when I try to run sh LimeWireLinux.bin I get the following:

[Thomas@localhost Thomas]$ sh LimeWireLinux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Warning: -Xmx100331648 not understood. Ignoring.
Warning: -Xms16777216 not understood. Ignoring.
Exception in thread "main" java.lang.InternalError: Unexpected exception while defining class ZeroGq: java.lang.ClassNotFoundException: javax.swing.JDialog
at 0x4028115f: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/libgcj.so.3)
at 0x4027408e: java.lang.Error.Error(java.lang.String) (/usr/lib/libgcj.so.3)
at 0x40281542: java.lang.VirtualMachineError.VirtualMachineError( java.lang.String) (/usr/lib/libgcj.so.3)
at 0x40275a92: java.lang.InternalError.InternalError(java.lang.St ring) (/usr/lib/libgcj.so.3)
at 0x40272ff2: java.lang.ClassLoader.defineClass(java.lang.String , byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.3)
at 0x40272dbb: java.lang.ClassLoader.defineClass(java.lang.String , byte[], int, int) (/usr/lib/libgcj.so.3)
at 0x4030b29b: java.net.URLClassLoader.findClass(java.lang.String ) (/usr/lib/libgcj.so.3)
at 0x402606d7: gnu.gcj.runtime.VMClassLoader.findClass(java.lang. String) (/usr/lib/libgcj.so.3)
at 0x40272cac: java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.3)
at 0x40260dcc: _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.3)
at 0x4025d1fd: java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.3)
at 0x40253809: _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.3)
at 0x40249697: _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.3)
at 0x40241a24: _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.3)
at 0x40260568: java.lang.ClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.3)
at 0x40273073: java.lang.ClassLoader.resolveClass0(java.lang.Clas s) (/usr/lib/libgcj.so.3)
at 0x4025e99c: java.lang.Class.initializeClass() (/usr/lib/libgcj.so.3)
at 0x4025d224: java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.3)
at 0x4025d2bf: java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.3)
at 0x402c60a0: gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.3)
at 0x40267fdc: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.3)
at 0x4023478c: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.3)
at 0x08048900: __gcj_personality_v0 (java.compiler=NONE)
at 0x420158d4: __libc_start_main (java.compiler=NONE)
at 0x080486c1: _Jv_RegisterClasses (java.compiler=NONE)

nDiScReEt January 21st, 2003 04:02 PM

Simple Fix
 
Quote:

Originally posted by HwzrHlslndr
Rahven,

I did this once before, but recently re-installed RH8 for various reasons.

This time I am not so successful. I follwed all of your instructions to a "tee" and then when I try to run sh LimeWireLinux.bin I get the following:

[Thomas@localhost Thomas]$ sh LimeWireLinux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Warning: -Xmx100331648 not understood. Ignoring.
Warning: -Xms16777216 not understood. Ignoring.
Exception in thread "main" java.lang.InternalError: Unexpected exception while defining class ZeroGq: java.lang.ClassNotFoundException: javax.swing.JDialog
at 0x4028115f: java.lang.Throwable.Throwable(java.lang.String) ....

Your problem is simple. You have another java program installed on your system that is a binary (perhaps /usr/bin/java).

To find out for certain try three things first to confirm if my conjecture is correct.
First type:

java -version

Is the output the correct java program that you want to use?

Secondly, type:

which java

Did it output "/usr/bin/java"?

Lastly, type:

rpm -q --whatprovides /usr/bin/java

If that shows a program other than what you want to use, remove the offending program. It could be kaffe or jdkgcj. I will later add this touch to my own topic "The Solution To All Install Problems" so thank you for bring this to my attention.

altoine

Rahven January 21st, 2003 05:44 PM

Once again nDiScReEt rides in out of the sunset to save the day :)

iflybyu January 22nd, 2003 11:59 PM

help with ..
 
this is what i get after your instructions altione .. [david@localhost david]$ java -version
java version "1.3.1"
jdkgcj 0.2.3 (http://www.arklinux.org/projects/jdkgcj)
gcj (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[david@localhost david]$ which java
/usr/bin/java


So obviously I have a problem with it running jdkgcj .. so how do I point it to the correct java re that I installed?

HwzrHlslndr January 24th, 2003 05:31 AM

You are correct, my friend.

jdkgcj-0.2.3-1
is what shows up. Do I simply rm it?

iflybyu January 24th, 2003 10:09 AM

fixed my issues
 
I fixed mine by editing the /home/username/.bash_profile and /etc/profile then making the link ln -s /usr/java/j2re1.4.1_01/.java_wrapper /usr/bin/java after removing the existing /usr/bin/java to another directory (moved it in case something went wrong) then did source /home/username/.bash_profile

Confusing?

HwzrHlslndr January 24th, 2003 10:52 AM

Very.

I don't suppose you could provide some step-by-steps could you? I do think my problem is the same as what you had.

What confuses me is I installed java in /home/Thomas/java

iflybyu January 24th, 2003 02:50 PM

ok..
 
Lemme see if I can help

This all is assuming you used the rpm's to install - which I suggest if you are struggling with this.

First open /home/Thomas/.bash_profile with vi by typing: vi /home/Thomas/.bash_profile

Press "i" to insert

Enter in these lines near (above or below) the other line(s) starting with "export" (make a new line):

export CLASSPATH=$CLASSPATH:
export JAVA_HOME=/usr/java/j2re1.4.1_01
export PATH=$JAVA_HOME/bin:$PATH

(you can cut/paste if you like - should work the way I entered it)

then press "Esc", then a : then qw to quit and save

then: vi /etc/profile

then "i" to insert

then insert the line:

export JAVA_HOME="/usr/java/j2re1.4.1_01/"

(make sure this directory exists - if you aren't using v1.4.1_01 of Sun Java then point it to the directory that it is installed in (same for above entries))

then move /usr/bin/java to some other location (save it in case I help mess things up for you) You can do this by doing something like mkdir /home/Thomas/javabackup then typing mv java /home/Thomas/javabackup which will move that file to the newly created folder.

then type (I'm not sure, but I think you have to be su): [root@localhost usr]# ln -s /usr/java/j2re1.4.1_01/.java_wrapper /usr/bin/java

This should create a link then to your new installed java (again make sure that the directory I made for an example is the same as what you have).

and I think LASTLY you need to do this to update the paths: source .bash_profile

then type:

sh LimeWireLinux.bin from the installed dir and pray.

Lemme know if I missed something.

HwzrHlslndr January 24th, 2003 09:23 PM

iflybyu,

I appreciate very much your details. I have been performing an upgrade push to our company's CRM system this evening and am spent right now, so will not be attempting your instructioins until tomorrow morning. I did, however, want to say thank you in advance. I'll be sure to let you know how I make out tomorrow.

Cheers, mate!

Your friend,
Thomas

HwzrHlslndr January 25th, 2003 05:08 AM

hmmm...

The /etc/profile is giving me trouble. Cannot get out of it gracefully.

Have edited home/Thomas/.bash_profile, but no further. This seems awfully involved compared to the last time I got this installed and working.


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