java.lang.RuntimeException: unsupported Java version: 9

GitHub | salim-b | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 529#235368933

    GitHub | 7 months ago | salim-b
    java.lang.RuntimeException: unsupported Java version: 9

    Root Cause Analysis

    1. java.lang.RuntimeException

      unsupported Java version: 9

      at org.jruby.RubyInstanceConfig.initGlobalJavaVersion()
    2. JRuby Main Maven Artifact
      RubyInstanceConfig.<clinit>
      1. org.jruby.RubyInstanceConfig.initGlobalJavaVersion(RubyInstanceConfig.java:1858)
      2. org.jruby.RubyInstanceConfig.<clinit>(RubyInstanceConfig.java:1608)
      2 frames
    3. JRuby-Rack
      RackServletContextListener.contextInitialized
      1. org.jruby.rack.DefaultRackApplicationFactory.createRuntimeConfig(DefaultRackApplicationFactory.java:252)
      2. org.jruby.rack.DefaultRackApplicationFactory.init(DefaultRackApplicationFactory.java:87)
      3. org.jruby.rack.RackApplicationFactoryDecorator.doInit(RackApplicationFactoryDecorator.java:112)
      4. org.jruby.rack.SharedRackApplicationFactory.doInit(SharedRackApplicationFactory.java:32)
      5. org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:100)
      6. org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50)
      6 frames
    4. Jetty
      AbstractLifeCycle.start
      1. org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
      2. org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
      3. org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
      4. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
      5. org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
      6. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
      7. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
      8. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
      9. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      10. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
      11. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
      12. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      13. org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
      14. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      15. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
      16. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
      17. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      18. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      19. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
      20. org.eclipse.jetty.server.Server.start(Server.java:387)
      21. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
      22. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      23. org.eclipse.jetty.server.Server.doStart(Server.java:354)
      24. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      24 frames
    5. Jetty Runner
      Runner.main
      1. org.eclipse.jetty.runner.Runner.run(Runner.java:509)
      2. org.eclipse.jetty.runner.Runner.main(Runner.java:557)
      2 frames