Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-26-2005, 12:08 PM   #1
LQ Newbie
Registered: Jul 2004
Posts: 26

Rep: Reputation: 15
Setting environment variables in Java

While working on Java, how can we set the environment variables. The 'SET' command does not work on the command prompt.
Old 03-03-2005, 05:32 PM   #2
LQ Newbie
Registered: Jan 2005
Location: Pearland, Texas USA
Distribution: PCLinuxOS
Posts: 14

Rep: Reputation: 0

While I can not answer your question directly I did find some information that matches your quarry. Hope this helps you.
The closest match is setting the environment variables listed after the installation instructions for linux, below is the link.[/URL]

Search results matching " Set environment variables "[/URL]

Also the main forum link.[URL][URL]Search results matching " Set environment variables "

Good Luck
Old 03-03-2005, 06:09 PM   #3
Registered: May 2001
Posts: 74

Rep: Reputation: 15

Maybe I can help.

are you speaking of setting the path to java? If so I use the following.

export JAVA_HOME=/usr/java/java

you may have to adjust the path of course.

Hope to have been a help.


Last edited by iamnotherbert; 03-03-2005 at 06:10 PM.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help setting environment variables. cottonmouth Linux - Newbie 3 12-09-2004 05:54 PM
setting environment variables jayjoh Linux - Newbie 9 07-12-2004 01:35 PM
environment variables with java lilrowdy18 Linux - Software 1 08-20-2003 06:43 PM
setting environment variables durden2.0 Linux - Newbie 5 07-15-2003 02:57 PM
setting environment variables rezza Linux - Distributions 2 04-09-2003 09:21 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:22 PM.

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