From: Bill Cunningham on 17 Apr 2010 15:43 I am running MCE XP and am having a very difficult time setting environment variables. Is javac used anymore for the java compiler or jar used for jar files anymore? I am also setting up ant to build a tomcat server from source. I have added to path the path name of my jdk and I can run java from any folder. Any hints on settings for ant and tomcat? Bill
From: Arne Vajhøj on 17 Apr 2010 15:51 On 17-04-2010 15:43, Bill Cunningham wrote: > I am running MCE XP and am having a very difficult time setting > environment variables. Is javac used anymore for the java compiler or jar > used for jar files anymore? I am also setting up ant to build a tomcat > server from source. I have added to path the path name of my jdk and I can > run java from any folder. Any hints on settings for ant and tomcat? You should set JAVA_HOME and ANT_HOME env vars and have JDK bin dir in PATH. javac and jar are still current. Arne
From: Bill Cunningham on 17 Apr 2010 16:32 Arne Vajh�j wrote: > You should set JAVA_HOME and ANT_HOME env vars and have JDK bin > dir in PATH. I can't by reading the tutorial see how to do that. > javac and jar are still current. I can run java from any location from the DOS box. However javac and jar do not work. Bill
From: Arne Vajhøj on 17 Apr 2010 17:39 On 17-04-2010 16:32, Bill Cunningham wrote: > Arne Vajh�j wrote: >> You should set JAVA_HOME and ANT_HOME env vars and have JDK bin >> dir in PATH. > > I can't by reading the tutorial see how to do that. On Windows you set them in: control panel system advanced environment Be very carefully not to delete anything existing! >> javac and jar are still current. > > I can run java from any location from the DOS box. However javac and jar > do not work. If you have installed JDK, then that indicates that you have not Java bin dir in PATH. Arne
From: Martin Gregorie on 17 Apr 2010 17:47
On Sat, 17 Apr 2010 16:32:09 -0400, Bill Cunningham wrote: > Arne Vajhøj wrote: > >> You should set JAVA_HOME and ANT_HOME env vars and have JDK bin dir in >> PATH. > > I can't by reading the tutorial see how to do that. > Its basic operating system stuff. See your XP documentation or use a search engine for XP and search part or environment variable. > > I can run java from any location from the DOS box. However javac and > jar > do not work. > Fix your search path. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | |