"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? |
export JAVADIR=/usr/java/j2re1.4.2_05
try this one........... |
dude... it worked! thanks a million!
|
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. |
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.
|
Simply open the file ~/.bashrc and add the lines
Code:
PATH=/path/to/java/bin:$PATH Code:
source ~/.bashrc I hope this helps --Ian |
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 |
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 |
All times are GMT -5. The time now is 02:54 AM. |