LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Setting environment variables in Java (https://www.linuxquestions.org/questions/linux-general-1/setting-environment-variables-in-java-295136/)

linuxprogrammer 02-26-2005 11:08 AM

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.

Bre_Rea 03-03-2005 04:32 PM

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
:study:

iamnotherbert 03-03-2005 05:09 PM

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


All times are GMT -5. The time now is 07:23 AM.