Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   java not istalling (https://www.gnutellaforums.com/general-linux-support/11501-java-not-istalling.html)

Unregistered May 17th, 2002 10:10 PM

java not istalling
 
just attempted to install j2re1.3.1 and was successfull but i try

java -v

and nothing.....java is not there?

hmm

nDiScReEt May 17th, 2002 11:22 PM

Re: java not istalling
 
Quote:

Originally posted by Unregistered
just attempted to install j2re1.3.1 and was successfull but i try

java -v

and nothing.....java is not there?

hmm

How did you install j2re1.3.1? With a tarball (tar.gz or tar.bz)? Or with a RPM package? If you used a tarball, you will have to follow this link for the proper way to configure your system with java. I know the link deals with fixing installation problems but it also fixes the installations issues by giving the correct steps to install java correctly with either a tarball or RPM package.

http://www.gnutellaforums.com/showth...threadid=11187

Unregistered May 18th, 2002 07:58 AM

what i did
 
i used

sh j2re-1_3_1-linux-i386-rpm.bin

then

rpm -i jre-1.3.1_03.i386.rpm

thanks

Unregistered May 18th, 2002 05:35 PM

Re: what i did
 
Quote:

Originally posted by Unregistered
i used

sh j2re-1_3_1-linux-i386-rpm.bin

then

rpm -i jre-1.3.1_03.i386.rpm

thanks

Congratulations and your welcome. I will add that step as well to my thread.

altoine

nDiScReEt May 18th, 2002 05:59 PM

Re: Re: what i did
 
Quote:

Originally posted by Unregistered


Congratulations and your welcome. I will add that step as well to my thread.

altoine

I forgot to login. :D

Unregistered May 19th, 2002 07:40 AM

still nothing
 
still nothing, java still fails to be a command that i can use at the shell.

hmm....don't get it

nDiScReEt May 24th, 2002 01:02 PM

Re: still nothing
 
Quote:

Originally posted by Unregistered
still nothing, java still fails to be a command that i can use at the shell.

hmm....don't get it

What shell are you using? When you type java -version or which java, you get nothing at all?

altoine

Unregistered May 29th, 2002 06:08 PM

java
 
actuall i type j, then a, then hit tab, and i get jade. that is the only option i have. but i installed jave using an rpm and im using bash shell

thanks

nDiScReEt June 2nd, 2002 08:00 PM

Re: java
 
Quote:

Originally posted by Unregistered
actuall i type j, then a, then hit tab, and i get jade. that is the only option i have. but i installed jave using an rpm and im using bash shell

thanks

that command completion function shouldn't ever work until you have sucessfully executed the java binary, either that or it has to be in the directory /usr/bin. Find where your java program is installed. Add it to your path in front of your original path. LIke so:

open up .bashrc or .bash_profile and add your directory to the path statement (example java installation directory is /usr/java/jre1.3.1):

PATH=/usr/java/jre1.3.1/bin;$PATH

logout and then back in or simply type this command:

export $PATH

then type

java -v

If this worked then the link that I had provided to you earlier would have solved your problem well before I was able to address your problem again.

RSVP
altoine


All times are GMT -7. The time now is 01:08 PM.

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.