tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Frey <rainer.f...@inxmail.de>
Subject Re: Tomcat and Sun/Oracle Java 7
Date Mon, 11 Feb 2013 12:38:14 GMT

On 04.02.2013, at 19:40, Christopher Schultz <chris@christopherschultz.net> wrote:
> It's a "maybe". If you use "-target 1.6" and you make sure not to use
> any APIs that are Java 1.7+ (not sure if the compiler actually checks
> when you use -target 1.6)

It does not. -target only sets the class file format. There's an option to set the 
compiler's boot classpath though, where you could point at another rt.jar, but I 
never used that (yet).

Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message