I doubt that a 1.3 compiler would advise someone to use -source 1.5,
which a 1.3 compiler would be incapable of obeying.  It surely must be
the case that a 1.5 (or newer) compiler is being used, and is
defaulting to -source 1.3 or is being explicitly so instructed.

I would check $CATALINA_BASE/conf/web.xml for the values of
compilerSourceVM and compilerTargetVM, ensuring that both are set to
1.5 or higher.  Warning:  I hardly ever touch Jasper so I may not know
what I'm talking about here, but that's a place to start exploring.

That said, while IBM makes some *very* good Java tools, you'll
probably get more advice if you do switch to the Sun JDK.  It may not
make any difference to this particular problem, though; I think Jasper
includes its own compiler, or at least an adaptor that drives the
compiler according to Jasper's notions of how it should be run.  (See
mention of the "Eclipse JDT compiler" in the Tomcat documentation
under JSP.)

-- 
Mark H. Wood, Lead System Programmer   [email protected]
Friends don't let friends publish revisable-form documents.

Attachment: pgpMR6uRK9Sep.pgp
Description: PGP signature

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to