Running Jetty 9 on Java 6

I work for a corporation that will not upgrade from JRE 6 to JRE 7 on our servers. I have successfully developed code that runs on JRE 7 using Jetty 9. However, I cannot run this code on the corporation server. I was wondering if anyone knew of a way to run Jetty 9 on JRE 6. I definitely need the Jetty 9 HTTPConfiguration class.

The only potential thing I can think of is to download Jetty, set it to 1.6 and work with it. I really hope (with a shot in the dark) that someone has a better idea.

+6
source share
1 answer

No, Jetty 9 required Java 7, since the api servlet (servlet 3.1) required Java 7. Although 9.0 could theoretically work on Java 6, we decided that 9 would be servlet 3.1, and only before 9.1 did we make the api servlet switch .. which was mainly due to synchronization problems more than anything.

[update] Jetty 9.2.x is Java 7, and Jetty 9.3.x requires Java 8. This is largely due to support for the HTTP / 2 protocol, which Jetty 9.3.x does ... at peak.

+18
source

All Articles