LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-29-2001, 07:34 PM   #1
RedHatMN
Member
 
Registered: Mar 2001
Distribution: RedHat 9
Posts: 110

Rep: Reputation: 15
Angry Java!!


OK, here's the problem...

I've got RedHat 7.2 installed, I downloaded the Java Binaries from Sun. Which directory do I install them into? I installed them to /usr/local, /usr/java, etc... and none of them work. I'm trying to install LimeWire and it keeps saying that I don't have a Java VM installed, where does it need to go?!?

HELP!

Thanks in Advance,
Aaron
 
Old 11-30-2001, 02:39 AM   #2
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
If you are on Red Hat:

Download the RPM

Run the shell script to extract the RPM

Install the RPM (rpm -Uvh filename.rpm)

Add /usr/java/j2sdk1.4.0/ (get the version right) to your path, and set JAVA_HOME I have the following in my ~/.bashrc

Code:
export PATH=/usr/java/j2sdk1.4.0/:$PATH
export JAVA_HOME=/usr/java/j2sdk1.4.0
 
Old 11-30-2001, 09:40 AM   #3
RedHatMN
Member
 
Registered: Mar 2001
Distribution: RedHat 9
Posts: 110

Original Poster
Rep: Reputation: 15
Angry Didn't work

Here's what I did...

I extracted the binary files into the directory /usr/java/jre1.3.1_01
I typed in the following commands...

export PATH=/usr/java/jre1.3.1_01/$PATH
export JAVA_HOME=/usr/java/jre1.3.1_01

When I tried to run the LimeWire install it said this...

No Java Virtual Machine could be found from your PATH enviroment variable. You must install a VM prior to running this program.

Any ideas?
 
Old 11-30-2001, 09:59 AM   #4
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Re: Didn't work

Quote:
Originally posted by RedHatMN
Here's what I did...
export PATH=/usr/java/jre1.3.1_01/$PATH
You need to seperate each entry in the PATH with a colon. The above probably gave you a path something like this:

/usr/java/jre1.3.1_01//bin
/usr/bin
/usr/local/bin

Try
export PATH=/usr/java/jre1.3.1_01/:$PATH
 
Old 11-30-2001, 10:03 AM   #5
RedHatMN
Member
 
Registered: Mar 2001
Distribution: RedHat 9
Posts: 110

Original Poster
Rep: Reputation: 15
my bad

I forgot to type the Colon in on the post, but that's how it is on my system... any ideas?
 
Old 11-30-2001, 02:19 PM   #6
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Whoops

For the PATH you need to add the directory containing the executables: /usr/java/jre1.3.1_01/bin
 
Old 11-30-2001, 03:12 PM   #7
RedHatMN
Member
 
Registered: Mar 2001
Distribution: RedHat 9
Posts: 110

Original Poster
Rep: Reputation: 15
That worked, Thanks!!

y'all that help me through this stuff make my experience learning Linux a lot more positive!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 03:13 AM
Java Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 04:04 AM
Web start java not working (java works fine) powadha Debian 5 06-05-2004 01:57 PM
Updated Java... now java apps dont work zidane2010 Linux - Software 6 05-04-2004 09:02 PM
2 Questions: java calling system commands? PERL vs Java? randomx Programming 28 11-28-2003 09:24 PM


All times are GMT -5. The time now is 07:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration