M
muttley
tearing my hair out on this one.
Thuis started as an upgrade issue till i realised that my un-used
tomcat5 installation didn't work either with my test jsp.
I have, in desparation, un-installed all java / tomcat libs and re-
installed only those required to get the
tomcat6-6.0.14-1jpp.noarch.rpm (and the band-waggon) loaded
first I installed java_app_platform_sdk-5_02-linux.bin
this shows (after I set alternatives to point to the /opt/SDK/jdk
direcrtory)
[root@squirrel ~]# javac -version
javac 1.6.0
java shows the same.
I have set the following in profile
CLASSPATH=$JDKHOME:$JDKHOME/lib/tools.jar
JAVA_HOME="/opt/SDK/jdk"
JDKHOME=$JAVA_HOME
JREHOME=$JAVA_HOME/jre
JFCHOME=$JAVA_HOME/jfc
JRECP=$JREHOME/lib/rt.jar
CATALINA_HOME=/usr/share/tomcat6
export JAVA_HOME JDKHOME JREHOME JFCHOME JRECP CLASSPATH CATALINA_HOME
tomcat6.conf: -
JAVA_HOME="/opt/SDK/jdk"
# Where your tomcat installation lives
CATALINA_BASE="/usr/share/tomcat6"
CATALINA_HOME="/usr/share/tomcat6"
JASPER_HOME="/usr/share/tomcat6"
CATALINA_TMPDIR="/var/tmp/tomcat6"
The logs give no indication why it fails it just keeps saying that it
can't find a compiler.
All the posts point to stuff I've already tried (including copying the
tools.jar file into the /bin directory of tomcat6
Anybody got an idea?
Thuis started as an upgrade issue till i realised that my un-used
tomcat5 installation didn't work either with my test jsp.
I have, in desparation, un-installed all java / tomcat libs and re-
installed only those required to get the
tomcat6-6.0.14-1jpp.noarch.rpm (and the band-waggon) loaded
first I installed java_app_platform_sdk-5_02-linux.bin
this shows (after I set alternatives to point to the /opt/SDK/jdk
direcrtory)
[root@squirrel ~]# javac -version
javac 1.6.0
java shows the same.
I have set the following in profile
CLASSPATH=$JDKHOME:$JDKHOME/lib/tools.jar
JAVA_HOME="/opt/SDK/jdk"
JDKHOME=$JAVA_HOME
JREHOME=$JAVA_HOME/jre
JFCHOME=$JAVA_HOME/jfc
JRECP=$JREHOME/lib/rt.jar
CATALINA_HOME=/usr/share/tomcat6
export JAVA_HOME JDKHOME JREHOME JFCHOME JRECP CLASSPATH CATALINA_HOME
tomcat6.conf: -
JAVA_HOME="/opt/SDK/jdk"
# Where your tomcat installation lives
CATALINA_BASE="/usr/share/tomcat6"
CATALINA_HOME="/usr/share/tomcat6"
JASPER_HOME="/usr/share/tomcat6"
CATALINA_TMPDIR="/var/tmp/tomcat6"
The logs give no indication why it fails it just keeps saying that it
can't find a compiler.
All the posts point to stuff I've already tried (including copying the
tools.jar file into the /bin directory of tomcat6
Anybody got an idea?