Re: Jamm-users digest, Vol 1 #353 - 2 msgs

Richard Petty <[email protected]> Wed, 10 Nov 2004 15:55:39 -0600
Newsgroups gmane.mail.jamm.user
Message-ID <[email protected]>
[email protected] wrote:

>Date: Tue, 9 Nov 2004 22:03:55 -0500
>Subject: Re: Setup Prob: Tomcat okay but Jamm can't find javac
>From: "Keith T. Garner" <[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
>  
>


With your recommendation that I get Jikes working as Tomcat's java 
compiler, I was able to make the whole thing work.

I'm amazed, because I have such a shallow understanding of everything -- 
of Java and JVM's and servlets... as recently as a few days ago I knew ZERO.

--Richard

Austin, Texas


PS: For benefit of those lost souls scouring the archives for help, I 
leave these particulars:

I was setting up a PPC Linux box to host a multi-domain mail server, 
using these instructions for guidance:

    http://www.wanderingbarque.com/mailserver.html


Although I was able to connect with Tomcat successfully using a web 
browser, when I tried to access the Jamm application I got this error 
(excerpt):

    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


Per Keith's recommendation, I set up Tomcat to use Jikes as its JSP compiler rather than use its own internal JSP compiler, Jasper. None of this software was present on my server and so I needed to install each:


  Java SDK: http://www-106.ibm.com/developerworks/java/jdk/linux140/ 
(registration req.)
  Jikes compiler: 
http://www-124.ibm.com/developerworks/opensource/jikes/ (v1.22)
  Tomcat: http://jakarta.apache.org/tomcat/ (v5.0.28)
  Jamm: http://jamm.sourceforge.net/ (v0.9.6)

Reference Documents:
Install Jikes:  http://www.linux.com/howtos/MMBase-Inst-HOWTO/x276.shtml




-------------------------------------------------------
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