Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 05-09-2005, 02:45 PM   #1
LQ Newbie
Registered: Nov 2003
Distribution: RedHat
Posts: 11

Rep: Reputation: 0
Setting Java Path

Hello Forum,
I have just installed SUSE 9.2.
I have also installed JAVA sdk
Where do I edit the PATH variable in SUSE?
In Fedora I can us .bash_profile to edit the PATH variable, this does not exist in SUSE. Where/what file do I find the PATH variable in so I can add my JAVA install to it?

Thank you in advance,
Old 05-09-2005, 04:05 PM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
Just create a ~/.bash-profile file and add the line
export PATH=$PATH:/path
Make the .bash-profile executable with:
chmod a+rx ~/.bash-profile
But you probably don't need to add the path to the PATH variable; try typing in the full pathname of the file at the BASH prompt (or click on it through Gnome or KDE).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting the path variable for Java Comp. lmellen Programming 1 06-27-2004 10:38 PM
Setting the PATH for Java bruce64 Linux - Software 9 09-22-2003 11:19 AM
setting path for java ahernaiz Programming 4 03-25-2003 04:30 PM
Setting Java path for root adcripps Linux - General 3 03-16-2002 02:36 PM
Setting Java path issues... jmizza Linux - Newbie 8 02-27-2002 08:23 PM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration