LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-26-2005, 11:08 AM   #1
linuxprogrammer
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, 04:32 PM   #2
Bre_Rea
LQ Newbie
 
Registered: Jan 2005
Location: Pearland, Texas USA
Distribution: PCLinuxOS
Posts: 14

Rep: Reputation: 0
Java

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.

http://java.sun.com/j2ee/sdk_1.3/1.3_01/install.html#linux_soft[/URL]


Search results matching " Set environment variables "

http://onesearch.sun.com/search/onesearch/index.jsp?qt=set+environment+variables&charset=utf-8&rf=0&rt=1&nh=10&cs=0&st=1&col=all[/URL]

Also the main forum link.

http://forum.java.sun.com/forum.jspa?forumID=32[URL][URL]Search results matching " Set environment variables "

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

Rep: Reputation: 15
Hi,

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.

-m

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


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 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 04:54 PM
setting environment variables jayjoh Linux - Newbie 9 07-12-2004 12:35 PM
environment variables with java lilrowdy18 Linux - Software 1 08-20-2003 05:43 PM
setting environment variables durden2.0 Linux - Newbie 5 07-15-2003 01:57 PM
setting environment variables rezza Linux - Distributions 2 04-09-2003 08:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:51 PM.

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