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.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm setting up a RHEL 4 VM and have installed Oracle Java 1.6 from a bin file to /opt. I've added it into the PATH but when I try to run a installer that needs Java to run it says that it can't find a Java installation in my PATH but when I execute a which java I get the following:
# which java
/usr/bin/which: no java in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/opt/jre1.6.0_23/bin/java:/root/bin:$/opt/jre1.6.0_23/bin/:$)
I would say show us with an ls -al exactly where java is please - also I may have just never seen it but whats with the "$" in your path? All you should need (if java is in /opt/jre1.6.0_23/bin) is /opt/jre1.6.0_23/bin in your path....
# ls /opt/jre1.6.0_23/
bin javaws man README Welcome.html
COPYRIGHT lib plugin THIRDPARTYLICENSEREADME.txt
Don't know what you want this for, but there you go.
Also, I tried setting JAVA_HOME to /opt/jre1.6.0_23 where I instyalled it and logged off and on again but it made no difference.
What I really wanted was an ls of /opt/jre1.6.0_23/bin but thats cool - I just want to actually see the java executable in case it is a link that is not working as many times "java" is just a link to the current version - can you run /opt/jre1.6.0_23/bin/java? Is it even there? This is at least the starting point of finding the problem - I mean at this point we need to figure out if it is a problem with the way java was installed or if it is a path issue or something else entirely.