You only had to add it in your user variables. some other questions... we are assuming you are trying to compile in command line. Is that assumption right?
You could try adding the following to your path variable: %JAVA_HOME%\bin also make sure there is no space in your path and your classpath... Regards, Philippe -----Original Message----- From: Fahad Javed [mailto:[EMAIL PROTECTED] Sent: August 9, 2004 5:08 PM To: [EMAIL PROTECTED] Subject: RE: Javac not found I have java 2 sdk SE V1.4.2_04 in my add remove programs.. Is that proof enough that it is there. I added the JAVA_HOME in the system variables as well as user variables and it still gives me the errror. Thanks for Ur time Fahad -----Original Message----- From: Paul Callahan [mailto:[EMAIL PROTECTED] Sent: Monday, August 09, 2004 1:57 PM To: [EMAIL PROTECTED] Subject: Re: Javac not found Philippe, Pls check to see that you are using a full Java SDK and not just the JRE... JRE won't compile those JSP's. -pc On Mon, 9 Aug 2004 14:31:59 -0500 , Philippe Cornut (QC/EMC) <[EMAIL PROTECTED]> wrote: > sorry i meant global variables not classpath > > -----Original Message----- > From: Philippe Cornut (QC/EMC) > Sent: August 9, 2004 3:28 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Javac not found > > Hi Fahad... > > if your running on windows right-click on my computer, then choose the advanced tab > under environment variables. Finally add or modify JAVA_HOME with the correct value > like "C:\j2sdk1.4.2_04" without the quotes. If you are running on a unix like > machine, add the JAVA_HOME variable to you classpath according to your shell... > > Regards, > Philippe > > > > -----Original Message----- > From: Fahad Javed [mailto:[EMAIL PROTECTED] > Sent: August 9, 2004 3:29 PM > To: [EMAIL PROTECTED] > Subject: Javac not found > > Hi, > > I am in the process of installing axis and the happyaxis.jsp is giving the following > root cause > > Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. > Perhaps JAVA_HOME does not point to the JDK > > I have the class path set and can compile java files without issue. Can anyone > guide me as to where should I specify the JAVA_HOME for the system to wrok > > Thanks > Fahad >
