non-login shell

Tobias Heinemann theine at nordita.dk
Sun Dec 4 22:17:43 UTC 2005


> Anyway, the problem really lies in the fact that I only
> have JAVA_HOME/bin in my $PATH when I am using a non-login
> shell and start Emacs ... I think -- I cannot compile in
> JDE unless I start Emacs with a non-login shell.
>
> How do I put it in my $PATH on startup?

Try adding "export PATH=${PATH}:${JAVA_HOME}/bin", i.e.

   echo 'export PATH=${PATH}:${JAVA_HOME}/bin' >> ~/.gnomerc

Next time you log into Gnome, Emacs -- when started from the Gnome menu
or through ALT-F2 -- should be aware of ${JAVA_HOME}/bin

Regards,
Tobi





More information about the ubuntu-users mailing list