Just to follow up on the jsp portion of that response, jetty distributes the eclipse java compiler in the jetty distro in lib/jsp and this is automatically on the classpath, so you should not need a full jdk, just a jre. In some previous releases it was true that due to missing patches in the jsp code, you may have needed a full jdk.
Jan On 27 February 2013 00:06, Joakim Erdfelt <[email protected]> wrote: > 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 > 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 >>> >> >> _______________________________________________ >> jetty-users mailing list >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/jetty-users > > > > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users > -- Jan Bartel <[email protected]> www.webtide.com – Developer advice, services and support from the Jetty & CometD experts. _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
