tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Frey <>
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 <> 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).

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message