Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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'd like to know how can I change the value of the PATH environment variable in a way when I close the terminal it keeps the value assigned by me? I thought if I change the previous value and then export it, it would be ready to be used whenever and wherever I want (even rebooting the system). But what really happens is that it only works in the current terminal session.
And how can I add a string to the PATH of all users?
export an environment variable only sets it for that process and child-processes. One way to get it to work for ALL terminals is to export it every time. There is a file that gets run every time you open a xterm and that's the ~/.bash_profile or ~/.bashrc file. Just add your commands to set and export your PATH there.
Thought I'll rant a bit more today.... Feeling a little long winded.
# ~/.bashrc: executed by bash(1) for non-login shells.
But and if I want to change the PATH value just by double clicking an icon in the KDE desktop. Let me make myself clear: the problem is that I would like to run the java's Eclipse IDE, so I installed the Java SDK. When I tried to start Eclipse by double clicking its icon, it shows me a message saying it was not possible to find the java sdk bin directory in the PATH.
As you can see, I am not supposed to use the xterm everytime I want to run Eclipse... or I do have to?
Have you tried exporting your path in /etc/profile? You might have to log out an log in. See if it works. Haven't used kde for a long time and never had to do custom path for kde. (i'm used to the cli...) Don't have KDE installed so can't test.
Sorry, but what do you mean by saying "in fact, you might want to do the same for the java manpages", when you cited the creation of links in /usr/local/bin? The java sdk contains manpages? Could you give a tip on it? Generally, what are the names of these manpages files?
Hi there, as you can tell, i just started using linux. My disto's mandrake 9.1. Y have tried installing limewire but it tells me this:
[rafa@00e0295c9f23 Installers]$ sh ./LimeWireLinux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.
Now, i have installed java and linked mozilla with java. Applets now run in my browser. I've checked it. How do i tell the limewire installer that java is installed? I've read something about the bashrc file that i had to modify in order to get java working. Here is the text inside this file:
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
I actually got it all working Limewire and all, but found lime to do some crazy stuff to my network, bandwidth hogging. It does it with all OS's so be careful. I can't recall how I got it to install and work sorry.