PATH in Gnome
Hello,
I need to add a JAVA_HOME environment variable pointing to my Java directory and an extra entry in PATH pointing to my Java/bin directory. I have done this by adding these entries to my users .bashrc file (it is user specific, Java is installed my user's home-dir and I only want to add these settings for this specific user). This works when I open a terminal and start a Java program, but I can't start a Java program from within Gnome using a launcher (for example when starting my Azureus BitTorrent client). I added the JAVA_HOME and PATH settings to my users .bash_profile file, but this doesn't work either. Next I added the settings to my '/etc/profile' file, but again, Java is only accessible from within a shell.
Where should I specify JAVA_HOME and my extra PATH entry so I will be able to use Java inside Gnome?? I wan't to have my Java directory in the user's home-dir (so I don't want a standard Debian Java Package).
|