Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Environment Variables, JAVA_HOME & J2EE_HOME
shabby
post Oct 29 2002, 10:52 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 29-October 02
Member No.: 91



I am using Mandrake 8.0 and have installed Java 1.4 and J2EE 1.3.1 In my SAMS J2EE in 21 days it states I must enter the JAVA_HOME and J2EE environment variables in a .profile file in my home directory, I have looked and I cannot find it,(I have got hidden files visible) I wondered if anyone would be able to tell me where to put these variables as I cannot use J2ee at the moment. I am a Linux newbie so I really need explicit instructions. Thanx in advance
shabby
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
chrisw
post Oct 30 2002, 09:29 AM
Post #2


RMS is my Hero
******

Group: Admin
Posts: 634
Joined: 27-September 02
From: Louisiana
Member No.: 5



you can set your environment variable at the command line like this:

set JAVA_HOME=<path to your java location>
export JAVA_HOME

execute each line seperatly

you can also add the two lines in your .bash_profile for root
and add $JAVA_HOME to your PATH like this
PATH=$PATH:$JAVA_HOME
export PATH

word of caution any in cap letters MUST be in cap letters when typed


--------------------

Chris W.
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th October 2017 - 03:21 PM