Re: Setup Prob: Tomcat okay but Jamm can't find javac

"Keith T. Garner" <[email protected]> Tue, 9 Nov 2004 22:03:55 -0500
Newsgroups gmane.mail.jamm.user
Message-ID <[email protected]>
This is actually a tomcat issue.  Its trying to programtically call the 
java compiler to compile the jsp files into .class files.  You'll want 
to do some web searching for making tomcat work with ibm's jdk or on 
making tomcat use another compiler like jikes.

Keith

On Tue, 9 Nov 2004 8:16 pm, Richard Petty wrote:
> I'm following these setup instructions: 
> http://www.wanderingbarque.com/mailserver.html
>
> It was necessary for me to install IBMJava2-ppc-142 and 
> jakarta-tomcat-5.0.28 on my system. Both installs appear to work fine. 
> I'm able to connect to Tomcat, authenticate to manage, and Jamm even 
> shows up as a registered application.
>
> Tomcat's sample apps work fine but when I try to access Jamm in my web 
> browser I get a message that includes, in part:
>
>  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
>
>
> My .bash_profile includes:
>
>  JAVA_HOME=/opt/IBMJava2-ppc-142
>  CATALINA_HOME=/usr/local/tomcat
>
>  export USERNAME BASH_ENV PATH JAVA_HOME CATALINA_HOME
>
>
> I think JAVA_HOME is correct because fiddling with it only breaks 
> Tomcat. The error message seems pretty informative but I'm not 
> experienced with Java. I searched Google for hours but mostly found 
> just Eclipse/Ant stuff -- little on Jamm.
>
> TIA,
>
> --Richard
>
> Austin, Texas
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> _______________________________________________
> Jamm-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jamm-users
--
Keith T. Garner             [email protected]


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click