There is no requirement of your war, webapp, or even your 3rd party
libraries to be compiled with JDK7.
You will *not* receive a java.lang.UnsupportedClassVersionError in Jetty 9
for using a jar from say Java 1.2.

However, it is a requirement that you run Jetty 9 with Java 7.
You can get away with using a Java 7 JRE in most cases, except JSPs, which
require a JDK instead.

--
Joakim Erdfelt <[email protected]>
webtide.com <http://www.webtide.com/>
Developer advice, services and support
from the Jetty & CometD experts
eclipse.org/jetty - cometd.org


On Tue, Feb 26, 2013 at 5:28 AM, Thomas Becker <[email protected]> wrote:

> You've to run Jetty 9 with java 7. I'd also recommend to compile your
> project with java 7 if you can.
>
> Am 2/26/13 12:29 PM, schrieb Ogen, Yair:
>
>> Hi,
>>
>> Not clear – do I have to run it on java 7 and that’s good enough or must
>> MY code (i.e Servlets) also be compiled on java 7?
>>
>> Best Regards,
>>
>> */Yair Ogen/*
>>
>>
>> ------------------------------**------------------------------**
>> ------------
>>
>>
>> This message is confidential and intended only for the addressee. If you
>> have received this message in error, please immediately notify the
>> [email protected] and delete it from your system as well as any copies.
>> The content of e-mails as well as traffic data may be monitored by NDS
>> for employment and security purposes.
>> To protect the environment please do not print this e-mail unless
>> necessary.
>>
>> An NDS Group Limited company. www.nds.com
>>
>>
>> ______________________________**_________________
>> jetty-users mailing list
>> [email protected]
>> https://dev.eclipse.org/**mailman/listinfo/jetty-users<https://dev.eclipse.org/mailman/listinfo/jetty-users>
>>
>>
> ______________________________**_________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/**mailman/listinfo/jetty-users<https://dev.eclipse.org/mailman/listinfo/jetty-users>
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to