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.
The geeko might be cooler, but Tux is warmer
How is original java got installed? Is it kaffe?
Find the appropriate RPM and remove it (can be kaffe).
Other solution is to place java 1.4 in your path before the directory where the original java is. For instance,
Java 1.4 is under /usr/java/bin/java
so make you PATH to point to the newer java first
to make it permanent add this line
in /etc/profile before
export PATH YADA BLAH
hmmm, BIG problem. I checked the /etc/profle file and it had ONE instance of the word PATH. It looked like this EXACTLY
So I put the following line BEFORE this statement:
PATH=/usr/java/j2re/bin:$PATH so it looks like
And then I had to reboot (as my machine froze while doing something else). I come to booting up the mahcine again, and I'm in runlevel 3 (multi user console). Now since the ath got changed NONE of the commands work. And I mean NONE. Not even ls !!!
I tried ls, startx, and vi and they all don't work (bad command, etc...). The ONLY command that DOES work is cd.
I closed the file before the system froze. I was working on something entirely different in a console prompt (compiling a screen saver) when the system froze. In Any case, Im stuck with a pretty much useless Linux. Unless I can quote-unquote "fix" it I will be forced to re-install it
u probably overwrote the PATH variable. that is a real bad thing to do in linux. i did that myself a couple days ago. when booting the system it does not have any programs to mount sth and there's nothing more to say .
Suse defines the PATH in /etc/rc.config. so if u want to make changes or add java to the path u should be f***ing careful if u don't know exactly what you're doing
for the future:
place that under the definition of the PATH.
if u chmod 0666 /etc/rc.config u might have access to it using the user bash.
if u set the PATH for java in your /home/user/.bashrc first before editing the etc/rc.config -> then
and your user bash is still working u can apply the same changes to etc/rcconf