Why not simply compile launchpad base with Java 8?

Carsten

> Hi,
> 
> As org.apache.felix.http.jetty now requires Java 1.8, trying to start
> the launchpad/builder jar with 1.7 fails to bring up an HTTP port.
> 
> Although the standard missing requirements message is logged [1], I'd
> like to implement a louder failure in this case - the launchpad should
> exit quickly with a blatant error message explaining that it cannot
> run on 1.7 or less anymore.
> 
> Do people have suggestions for how to implement this cleanly, for all 
> launchers?
> 
> Being able to set the equivalent of
> Bundle-RequiredExecutionEnvironment at the framework level would be
> nice but I don't think it's possible.
> 
> -Bertrand
> 
> [1]  Unable to resolve org.apache.felix.http.jetty [33](R 33.0):
> missing requirement   [org.apache.felix.http.jetty [33](R 33.0)]
> osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))
> 


 

-- 
Carsten Ziegeler
Adobe Research Switzerland
[email protected]

Reply via email to