Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   After Java install (https://www.gnutellaforums.com/general-linux-support/19554-after-java-install.html)

Newbie666 March 23rd, 2003 11:11 AM

After Java install
 
This is only my second day using RedHat Linux 8 and I dont really have any idea what I am doing. I installed the Java to /usr/java and when I try and install LimeWire it says

Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.

Sience I have installed the VM I have no idea what is going on. Can anyone tell me in a newbie's terms how to fix this. Thanks

Lin134 March 26th, 2003 03:10 PM

I have the exact same problem, I installed Java, but when I try to install LimeWre, it gives me that same message that VM is installed.

nDiScReEt March 26th, 2003 10:42 PM

If when you run:

which java

And it produces the java VM that you installed or want to use, then you should just have to do:

source .bash_profile

or:

source .bashrc

To update your profile to use your new configuration.

Then running the limewire installation program should install your program.

HTH

altoine

TiO March 27th, 2003 01:02 PM

RE: After Java Install
 
i have the same problem but i can't update my profile when i try to do waht you suggested THIS happens:

[tio@localhost tio]$ source .bashrc
bash: TMOUT: readonly variable
[tio@localhost tio]$ source .bash_profile
bash: TMOUT: readonly variable

what can i do?

nDiScReEt March 30th, 2003 08:17 PM

Re: RE: After Java Install
 
Quote:

Originally posted by TiO
i have the same problem but i can't update my profile when i try to do waht you suggested THIS happens:

[tio@localhost tio]$ source .bashrc
bash: TMOUT: readonly variable
[tio@localhost tio]$ source .bash_profile
bash: TMOUT: readonly variable

what can i do?

Logout and then back into your account. Your administrator obviously "hardened" your profile. Unless, you use another shell environment like ksh or pdksh (korn). What is your prompt sign?

The standard UNIX shell prompt is a dollar sign ($), except for C Shells which prompt with the hostame and a percent sign (%).

HTH

altoine

madmike April 13th, 2003 07:43 PM

I'm getting the same problem too.

I went to the sun site and apparnetly got JRE 1.4.1 installed (its in my usr/java/jre-1.4.1_02 folder)

After that I opened up Konsole:
[mike@localhost mike]$ which java
which: no java in (/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/home/mike/bin)

and I got the same "readonly variable" error as tio

I'm running Mandrake 9.1 in KDE 3.1.0

nDiScReEt April 15th, 2003 09:21 PM

I haven't installed the latest Mandrake 9.1 build as I have been away for a good while but you can modify your /etc/profile and input your changes there. The entries that you would have added to your .bashrc or .bash_profile will be placed into your /etc/profile, instead. The only way that you can fix your .bashrc or .bash_profile is by destroying ... uh deleting and then recreating them. The issue has to do with how Mandrake created their .bashrc .bash_profile on their new distribution.

altoine

stoffboy September 15th, 2003 03:49 PM

somethins wrong
 
I just installed java, and when i type:
which java
it says this:
/usr/bin/which: no java in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
i'm running redhat 9 and i'm very new. please help

thanks
adam

nDiScReEt September 20th, 2003 11:20 PM

Re: somethins wrong
 
Quote:

Originally posted by stoffboy
I just installed java, and when i type:
which java
it says this:
/usr/bin/which: no java in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
i'm running redhat 9 and i'm very new. please help

thanks
adam

Excuse my delay in answering your post but I have been away from the net for a good while. Post to me whatever this command prints out (So that I can help and shed some light on what our problem truly is):

cat ~/.bash_profile

sly1x October 6th, 2003 05:45 PM

[schley@none-p0qsr8ky7y schley]$ /etc/profile PATH=/usr/java/jre2-1.4.1_05/bin:$PATH
bash: /etc/profile: Permission denied

I get that when I try to profile java. I logged in as root, but its still giving me that:S.


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