Linux - SoftwareThis 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.
I'm new with linux. I have a problem installing Mindquarry on Fedora Core. It needs Java Runtime Environment in order to install. I downloaded a jre6 rpm package and installed it but mindquarry still displays an error message saying that it can't find java runtime. Can somebody help me with this?
PATH defines where to find executables/scripts so that you don't have to type in full names. For example the ls command is in /bin. If you didn't have /bin in your PATH variable you'd have to type /bin/ls instead of just ls when you wanted to list files.
The java directory for 6 on my FC6 box is:
/usr/java/jdk1.6.0/jre/bin
echo $PATH
will show you what is in your PATH.
You can add the above to your PATH by typing:
PATH=$PATH:/usr/java/jdk1.6.0/jre/bin
If your PATH has another java in it BEFORE the above it will use that one instead.
PATH is usually set in /etc/profile and/or /etc/bashrc then often added to in your home directory ($HOME) .profile and/or .bashrc.
Once you figure out what your PATH should be to make the other product work you should modify the appropriate file above to make this PATH the one you use each time you login.
Thank you for trying Mindquarry. If your java executable in not in your $PATH, i.e. cannot be executed by just typing "java -version" on the command line, you can edit your /opt/mindquarry/etc/wrapper.conf file. This contains a line
wrapper.java.command=java
Change this line to point to your java executable, e.g.
Thanks jlightner. You were right. I didn't define jre in my PATH variable. I edited the /etc/profile and added the path to where i installed jre. Now it's working. Thanks again.
Nice to have the feedback - so many newbies do hit and run posting so you never know if they got the problem solved. By letting people know you did it helps them when they search forums to find question, answer and resolution confirmation all in one post.
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 382
Rep:
Quote:
Originally Posted by jlightner
No problem.
Nice to have the feedback - so many newbies do hit and run posting so you never know if they got the problem solved. By letting people know you did it helps them when they search forums to find question, answer and resolution confirmation all in one post.
----------
Actually, jlightner, the real value to your post was that you stepped through where to find PATH and how to modify it.
It is very frustrating to get a response from someone that says "Oh, modify your PATH" to a noobie or someone who doesn't know the first thing about where to look, and then pops off, convinced that they have "solved" the problem for the original poster, when in fact all they've done is increase the frustration level of the OP.
Thanks Moxie. Of course more experienced users as some "LQ Newbies" are resent the detailed explanations because they think I'm calling them an idiot. If they challenge it I usually explain that I have no way of knowing how much they already know.
Working for a few years on a support desk taught me to always assume very little knowledge when giving answers. Some folks might be offended but it would save call backs for most. The "Is it plugged in?" question is one of the most infuriating you'll ever be asked - until the moment you realize you'd accidentally unplugged your system by kicking the power cord under your desk.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.