Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   Redhat 7.1 Install Problem (https://www.gnutellaforums.com/general-linux-support/3250-redhat-7-1-install-problem.html)

Unregistered October 3rd, 2001 08:26 AM

Dear Twist and Thread please ignore my last post.



All is well and all manner of thing shall be well.



I changed my .bash_profile to incorp usr/java/jre### as advised in this and other threads, I then logged out and then I checked

java -version a

and got

jre###



OK.



After that sh ./LimeWireLinux.bin installed just fine in the Limewire directory. (I have not advanced to the sh.runlime class yet as per Twist hyperlink recommended install, as per the Fox thread)



I had tried this before on two occasions and for the record of any other dummies like me reading this I made the following mistakes.



1. The first time I had not removed kaffe's java.

ie rpm -e kaffe

as per Twist advice on this thread



2. The second time after I had removed kaffe and changed the bash_profile path I had not logged off and back on! DUMB. But I am an utter newbie. (see Thread for Hypnos re JRE excute command and Twist advice ofcourse)



Hope my incompetence is of some help to others and saves Twist from RSI of the thread.


Oh, and re anyone else being confused about Java names as I was.

JDK is the prior name for what is now J2SE. JRE is just the runtime environment stuff to run jave in and J2SE is JRE plus a set of tools and things for the Java genius. So ignore red herrings in this thread about JDK is all you need. It is JRE.


Now I am off to p2p.

colbyd October 15th, 2001 02:49 PM

still can't get it
 
OK...I rem -e kaffe, so I get the 'no vm' error when I try to install limewire.

I know that I'm supposed to designate a path to jre (mine's in /opt...It was the one on the Application disk in redhat 7.1--it says: IBMJava2-13).

Well, I can't find this mysterious .bashrc or bash_profile thing in /home or anywhere.

help?

rls October 16th, 2001 03:58 AM

Install Problem
 
Yes I could not find the bash_profile immediately. If you nominated a name for your home directory which you are asked to do when you install RH 7.1 you will have a home/name you gave directory. Look in there in a shell by using cd then las -al. You should see something like this:
ls -al
total 2028
drwxrwxr-x 34 Raena Raena 4096 Oct 16 20:27 .
drwxr-xr-x 3 root root 4096 Jul 22 14:16 ..
drwxrwxr-x 11 Raena Raena 4096 Aug 11 21:23 adabas
drwxrwxr-x 2 Raena Raena 4096 Oct 7 01:58 autosave
-rw------- 1 Raena Raena 7011 Oct 16 07:25 .bash_history
-rw-r--r-- 1 Raena Raena 24 Jul 22 14:16 .bash_logout
-rw-r--r-- 1 Raena Raena 250 Oct 4 00:14 .bash_profile
-rw-rw-r-- 1 Raena Raena 225 Oct 3 21:52 .bash_profile.old
-rw-rw-r-- 1 Raena Raena 225 Oct 3 21:58 .bash_profile.old1
-rw-r--r-- 1 Raena Raena 398 Oct 14 00:36 .bashrc
drwx------ 2 Raena Raena 4096 Sep 1 17:55 .cddbslave

...and all your other directories and files....

Then type
more .bash_profile

This will let you just look inside the .bash_profile but you cannot edit in this mode, and you should see something like this

more .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin
BASH_ENV=$HOME/.bashrc

export BASH_ENV PATH
unset USERNAME

Then using an editor (in KDE and GNOME there are lots including emacs. I think the simplest is Advanced editor in KDE for simple things like this) you can edit the .bash_profile PATH values by opening the editor then finding and opening the file .bash_profile and hacking away.

Or, (and this is the more correct way to put JRE in your PATH,)in the .bash_profile is another .bashrc. If you type

more .bashrc

you will get soemthing like this:

more .bashrc
# .bashrc

# User specific aliases and functions

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# by Sun Microsystems setup
HOME=/home/Raena
DBROOT=/home/Raena/adabas
DBWORK=/home/Raena/adabas/sql
DBCONFIG=/home/Raena/adabas/sql
PATH=$DBROOT/bin:$DBROOT/pgm:$PATH
LD_LIBRARY_PATH=$DBROOT/lib:$LD_LIBRARY_PATH
export DBROOT DBWORK DBCONFIG PATH LD_LIBRARY_PATH

In .bashrc you use your editor to edit the PATH to

PATH=$DBROOT/bin:$DBROOT/pgm:/usr/java/jre1.3.1_01/bin:$PATH

colbyd October 16th, 2001 08:22 AM

just about there
 
Thank you rls...

I used PICO to edit the PATH, but I still can't get limewire to find jre.

Here's my path (well, I have tried many...):

/opt/IBMJava2-13/jre/bin

This is definitely where my little java piston thing is.

so (I think!):

PATH=$PATH:/opt/IBMJava2-13/jre/bin

I've tried other variations, but no go.

Any ideas?

Thanks!

rls October 17th, 2001 07:44 AM

Install Problem
 
My guess is that your install of JRE went wrong. It should not be installed in opt it should be in usr/java/jre***/bin. I think you will have to remove JRE then re-install. If you installed an rpm of JRE type rpm -e jre***. Then re-intsall and follow the Sun README that is at the Sun download site - to the letter.

You could try to rebuild the rpm without removing it. I have not tried this but according to Josh's GNU Linix Guide (jgo.local.net/LinuxGuide/) you can rebuild an rpm by using
rpm --rebuild gimp-1.0.0-1.src.rpm.
where you first downloaded the rpm.
No idea if that will work but if it does it will be quicker. Maybe try it and if it fails then re-install from scratch. Someone checking this list might say if I am utterly wrong.
Hope you get it this time. It is worth persevering LimeWire17 does work very well. I prefer it to BearShare.:cool:

rls October 17th, 2001 07:53 AM

Installing Problems
 
Re my last post please do not be confused where it says

rpm --rebuild gimp-1.0.0-1.src.rpm

The ref to gimp-1.0.0-1.src.rpm should ofcourse be to your JRE***.rpm. I copied the command example staright from Josh's GNU Linux Guide (apologies and thanks also to Josh).:D

colbyd October 20th, 2001 08:01 AM

thanks for help rls
 
Thanks for the help--this is an instance where forums came through...

As it turns out, I don't think that IBMJava2-1.3 will work with limewire. This might be important info for users who install the IBM jre from the redhat 7.1 app-disk.

Anyway, I used sun's jre and, wammo! success...

Question off-topic: is there any way to view limewire upload stats to see number of total uploads and names of files uploaded?


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