LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-09-2007, 03:39 AM   #1
josh9984ako
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Rep: Reputation: 0
Problem Installing Mindquarry


Hi,

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?

Regards,
Joseph
 
Old 06-09-2007, 11:12 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
It may be that it is not in your PATH variable.

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.
 
Old 06-10-2007, 04:42 AM   #3
lars3loff
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Rep: Reputation: 0
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.

wrapper.java.command=/usr/java/jdk1.6.0/jre/bin/java

If you have other Mindquarry-related questions, do not hesitate to ask on the Mindquarry Forum.
 
Old 06-10-2007, 04:44 AM   #4
lars3loff
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Rep: Reputation: 0
I forgot: The URL of the Mindquarry forum is http://www.mindquarry.com/forum/
 
Old 06-11-2007, 11:58 PM   #5
josh9984ako
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 06-12-2007, 09:49 AM   #6
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
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.
 
Old 06-12-2007, 01:51 PM   #7
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 413

Rep: Reputation: 88
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.
 
Old 06-12-2007, 02:11 PM   #8
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
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.
 
  


Reply

Tags
java, jre


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
Problem installing module in Fedora Core 2 (2.6 kernel vs 2.4 problem?) Arodef Linux - Kernel 3 11-30-2007 03:55 PM
Installing Red5 - Problem @ Installing fedora-rpmdevtools Aziz Linux - Software 2 11-04-2006 03:57 PM
Problem installing new programs... KDE problem? seiyachan Mandriva 33 12-19-2005 10:18 AM
problem installing-hardware problem? LivinLarge Linux - General 3 04-28-2005 02:56 PM
Problem Installing Gentoo. (Partioning Problem) w33k Linux - Software 7 08-10-2004 11:06 PM


All times are GMT -5. The time now is 05:54 AM.

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