LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-29-2008, 01:09 PM   #1
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 318

Rep: Reputation: 40
Setting up environment variables for j2se and j2ee on linux in .bashrc


Hi i want to set up my environment variables on linux for j2se and j2ee.

This is my home path for j2ee: /opt/SDK
This is the path to j2ee: /opt/SDK/bin

Curently this is the variables i add in .bashrc for the j2se

export PATH=/home/chongming/jdk1.5/bin:$PATH
export JAVA_HOME="/home/chongming/jdk1.5"
export CLASSPATH=.:/home/chongming/jdk1.5


My question is how do i add the path of j2ee into the .bashrc along with the existing j2se path in .bashrc?

Thanks in advance
 
Old 03-30-2008, 07:26 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
export PATH=/home/chongming/jdk1.5/bin:/opt/SDK/bin:$PATH
 
  


Reply



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
Environment variables setting... simjii SUSE / openSUSE 4 11-19-2005 07:50 PM
Setting Environment Variables farzan Linux - Newbie 2 08-07-2004 09:13 AM
How to set J2SE SDK environment variables on Fedora 2 jjunge Programming 2 07-28-2004 02:27 PM
setting environment variables jayjoh Linux - Newbie 9 07-12-2004 12:35 PM
setting environment variables durden2.0 Linux - Newbie 5 07-15-2003 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:35 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration