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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-18-2004, 12:36 PM
|
#1
|
LQ Newbie
Registered: Aug 2004
Posts: 4
Rep:
|
"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?
|
|
|
08-18-2004, 12:50 PM
|
#2
|
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577
Rep:
|
export JAVADIR=/usr/java/j2re1.4.2_05
try this one...........
|
|
|
08-18-2004, 01:11 PM
|
#3
|
LQ Newbie
Registered: Aug 2004
Posts: 4
Original Poster
Rep:
|
dude... it worked! thanks a million!
|
|
|
09-07-2004, 08:54 PM
|
#4
|
Member
Registered: Nov 2003
Distribution: Ubuntu 7.04
Posts: 241
Rep:
|
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.
|
|
|
10-07-2004, 11:40 AM
|
#5
|
LQ Newbie
Registered: Oct 2004
Posts: 4
Rep:
|
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.
|
|
|
10-08-2004, 01:44 AM
|
#6
|
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
|
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:
Now try executing the command "java", and it should give a help message.
I hope this helps
--Ian
|
|
|
10-08-2004, 09:45 AM
|
#7
|
LQ Newbie
Registered: Oct 2004
Posts: 4
Rep:
|
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??
|
|
|
10-09-2004, 12:38 AM
|
#8
|
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
|
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 05:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|