Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   The Solution To All Install Problems (https://www.gnutellaforums.com/general-linux-support/11187-solution-all-install-problems.html)

OTazman July 31st, 2002 01:39 PM

just help me super newbie to linux
 
I have Redhat 7.3 with j2re-1.4.1-beta i did everything exactly like it was told, and I still get the:
""Preparing to install...
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. "" error message what do I do?


Thanks in Advance,
Sean Dolan

nDiScReEt July 31st, 2002 11:47 PM

Re: just help me super newbie to linux
 
Quote:

Originally posted by OTazman
I have Redhat 7.3 with j2re-1.4.1-beta i did everything exactly like it was told, and I still get the:
""Preparing to install...
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. "" error message what do I do?


Thanks in Advance,
Sean Dolan

[SIZE=1][FONT=arial][FONT=arial][FONT=arial][FONT=arial]

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

Is /usr/java/j2re1.4.0_01 really the path to your java version?

To test type:

which java

Do you get any output?
If you get output, that should be what goes after JAVA_HOME.
In the second export command (PATH), is JAVA_HOME referenced as #JAVA_HOME or JAVA_HOME as the $, dollar sign, is needed in the second export line not the first.
In the second line, is $JAVA_HOME/bin followed directly by $PATH with no :, colon, or is it followed with a :, colon ($JAVA_HOME/bin:$PATH)?
It needs to be followed by a :, colon.

Did you make sure that when you exported JAVA_HOME, you made sure the cases matched? (As it is case sensitive --for the newbies)

I postulate that one of the above questions will answer and solve your problem.

OTazman August 1st, 2002 05:52 AM

Ok this is what i get...
 
after doing that which java i get this:


[root@dhcp-58-42 Downloads]# which java
/usr/bin/which: no java in (/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/root/bin)

so now what?

thanks in advance,
SED

OTazman August 1st, 2002 05:55 AM

oh and just to let you know....
 
i reinstalled RH 7.3 cuz I had a prob with my video card, I also installed j2re 1.4 this time instead of j2re 1.4 beta, and another thing, I'm doing all of this in 'root' could that be the problem? Sorry I'm a Super Newbie =)


thanks -SED

OTazman August 1st, 2002 07:09 AM

I GOT IT WERKIN' THX FOR ALL THE HELP!
 
The export command wasn't working prolly cuz I was doing it wrong, so I did a 'vi' command on the .bash_profile and tried to edit it that way but I didn't know any of the commands, so I opened the .bash_profile in 'KATE' (advanced text editor) anyways I added the export commands under the other export command that was already there, and saved it logged in and out did a 'which java' command and bodda bing bodda boom it was there, I also did a 'java -version' command and that also worked too, so I was very delighted, so I did the 'sh' command on the LimeWireLinux.bin and it installed it with some errors that didn't seem to effect the installation process... hmmm.. ok so just wanted you to stop boggling your minds thanks for the help =)


-peace SED

nDiScReEt August 1st, 2002 09:05 AM

Re: I GOT IT WERKIN' THX FOR ALL THE HELP!
 
Quote:

Originally posted by OTazman
The export command wasn't working prolly cuz I was doing it wrong, so I did a 'vi' command on the .bash_profile and tried to edit it that way but I didn't know any of the commands, so I opened the .bash_profile in 'KATE' (advanced text editor) anyways I added the export commands under the other export command that was already there, and saved it logged in and out did a 'which java' command and bodda bing bodda boom it was there, I also did a 'java -version' command and that also worked too, so I was very delighted, so I did the 'sh' command on the LimeWireLinux.bin and it installed it with some errors that didn't seem to effect the installation process... hmmm.. ok so just wanted you to stop boggling your minds thanks for the help =)


-peace SED

[COLOR=skyblue][COLOR=skyblue][COLOR=skyblue][COLOR=skyblue][COLOR=skyblue][COLOR=skyblue]

Congratulations! No boggle at all as I told you the problem was more likely a typo which apparently it was. There is no way you can enter the export command correctly and not be able to do "which java" or "java -version". I thank you for opening me to another level of newbie instruction. I see I will have to explain all the way to the detail of what editor and with how to save and exit. Thank you once again and congratulations. If the second line of the "export JAVA_HOME" in your ".bash_profile is correct, you can remove the line above it as it is wasting space.

altoine:D

Unregistered August 14th, 2002 11:11 AM

Bingo!
 
Thanks!

This worked. The solution needs to be posted on the Limewire website.

Lindsay Haisley
fmouse@fmp.com

Unregistered August 29th, 2002 09:40 AM

Thanks
 
Thanks for the install help. This guide also allowed me to install java completely which my RedHat 7.3 won't allow.

nDiScReEt August 29th, 2002 02:24 PM

Your Welcome
 
Quote:

Originally posted by Unregistered
Thanks for the install help. This guide also allowed me to install java completely which my RedHat 7.3 won't allow.
The instructions as far as using $JAVA_HOME in your .bash_profile or .bashrc has been what had to be done for all java installed on unix but it isn't in the installer to do this. Probably because some admins limit what shells their users can use and sometimes will disable bash outright. When using a different shell like ksh (Korn shell), your export command is different. An entirely different syntax. I was going to create instructions for the other shells, but it appears no one has had any situations with an account with the restriction to use bash (Bourne Again shell). I have a script to do all the installing using LimeWire's tarball or installer with specific java packages. I want it to be able to use any java installer and thus I will have to get back to my little script one day and revise it with the necessary changes to bring that capability to fruition.

altoine

Unregistered September 10th, 2002 08:42 PM

Thank you nDiScReEt for the time that you have spent preparing this little tut. You have solved all my problems, and I am very thankful. :)

/NaRdS


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