Barry

Adding to the path did not make a difference

but here is where i am confused.

the java_home is set in the system env vars as well as the path and
classpath(although i guess that is not needed

but here is what i do not understand and may be causing my problems.
Notice the version diffs between java -version and set paths

C:\Documents and Settings\paries>java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

===================================================
C:\Documents and Settings\paries>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\paries\Application Data
CLASSPATH=C:\Program Files\Java\jdk1.5.0_04\lib
ComSpec=C:\WINDOWS\system32\cmd.exe
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\paries
JAVA_HOME=C:\Program Files\Java\jdk1.5.0_04
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Intel\Wireless\Bin\;C:\Program Files\Sony\AppMonUtil\;C:\Program
Files\Microsoft S
QL Server\80\Tools\Binn\;C:\Program Files\Common Files\Adobe\AGL;C:\Program File
s\Java\jdk1.5.0_04\bin;C:\Program Files\SSH Communications Security\SSH Secure S
hell
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 14 Stepping 8, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0e08
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\paries\LOCALS~1\Temp
TMP=C:\DOCUME~1\paries\LOCALS~1\Temp
USERPROFILE=C:\Documents and Settings\paries
windir=C:\WINDOWS


On 7/27/06, Propes, Barry L <[EMAIL PROTECTED]> wrote:
make the PATH (not classpath) point to:

C:\Program Files\Java\jdk1.5.0_04\bin

-----Original Message-----
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 1:19 PM
To: users@tomcat.apache.org
Subject: tomcat , wondoze , Unable to find a javac compiler;


unfortuntaly i have to setup tomcat on windoze.
i have it working on tons of linux boxs, and this has been a royle
pain. Ok enough whinning.

so when i try to display a jsp is get the error
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


in the tomcat monitor i have "Use default" selected

in the XP env vars i have
CLASSPATH = C:\Program Files\Java\jdk1.5.0_04\lib
JAVA_HOME = C:\Program Files\Java\jdk1.5.0_04

so what have i missed

Thanks

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to