LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 05-09-2005, 02:45 PM   #1
gtkmike
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,
Mike
 
Old 05-09-2005, 04:05 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
Just create a ~/.bash-profile file and add the line
Code:
export PATH=$PATH:/path
Make the .bash-profile executable with:
Code:
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).
 
  


Reply


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


All times are GMT -5. The time now is 06:13 AM.

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