LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 08-18-2004, 12:36 PM   #1
shaider
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Rep: Reputation: 0
"No Java virtual machine could be found from your PATH" - ignores bashrc


I'm tryig to install LimeWire in Fedora and this message appears. Now, I installed java and added the path into the .bashrc (both root and regular user's), and nothing worked. here's my bashrc config:

export PATH=/usr/java/j2re1.4.2_05/bin:$PATH
export JAVA_HOME="/usr/java/j2re1.4.2_05"


can anyone identify any problem with this path command?
 
Old 08-18-2004, 12:50 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
export JAVADIR=/usr/java/j2re1.4.2_05

try this one...........
 
Old 08-18-2004, 01:11 PM   #3
shaider
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Original Poster
Rep: Reputation: 0
dude... it worked! thanks a million!
 
Old 09-07-2004, 08:54 PM   #4
Jimbo99
Member
 
Registered: Nov 2003
Distribution: Ubuntu 7.04
Posts: 241

Rep: Reputation: 31
Thanks, this worked for me too. I had the same problem and I was pretty miffed by it.

I have had problems with java all round. I can't believe how bad it is. My main problem is that I can't get www.ionthunder.com to work. I take down and install the java runtimes but the program still complains that it can't find the appropriate java stuff.

If you have any ideas on it I'd appreciate it.
 
Old 10-07-2004, 11:40 AM   #5
Caffeinate
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
Alright, total newbie here, already successfully installed the Java SDK (I couldn't get the Vm lone package to work) but I don't even know where to begin with editting the bash file with the appropriate PATH commands. If someone could give me (or direct me to) the appropriate directions, would be appriciated.
 
Old 10-08-2004, 01:44 AM   #6
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
Simply open the file ~/.bashrc and add the lines

Code:
PATH=/path/to/java/bin:$PATH
JAVA_HOME=/path/to/java
export PATH
export JAVA_HOME
save the file, and run the command:
Code:
source ~/.bashrc
Now try executing the command "java", and it should give a help message.

I hope this helps
--Ian
 
Old 10-08-2004, 09:45 AM   #7
Caffeinate
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
Perfect, thank you much.

Now, I've had some problems with an editted .bash file when I was setting up WinE. I added the appropriate "PATH" lines to .bash_profile and the programs ran perfectly. However, once I reset the computer, WinE wouldn't run any more, giving the error:

Code:
wine: could not exec /home/<username>/wine-20040914/wine-pthread
Would this need to be in .bash_rc instead, as well, and/or do I have to source this each time I restart and/or is there someway to get all this to happen at startup??
 
Old 10-09-2004, 12:38 AM   #8
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
Sorry but I don't know about wine.

You don't need to manually source .bashrc or .bash_profile each time you log in, as this is done automatically.

--Ian
 
  


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
ErrorMessage "Java virtual machine could be found from your PATH .. What do i Do ? murbz Linux - Software 18 11-09-2004 05:30 AM
How to install Suse 9.0 via ftp "as a virtual machine(vmware)" in windows-XP host megoon Linux - Networking 0 12-15-2003 04:53 AM
"Mars DOMAIN" - Network Path not found. ikw38 Linux - Networking 0 07-09-2003 06:20 PM
Samba & Win2K pro, "network path not found" RedHat123 Linux - Networking 8 02-05-2002 09:57 PM
./configure error - "no acceptable cc found in #PATH" datawebcorp Linux - Newbie 3 01-03-2002 09:54 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration