pmknowles  
                (Philip Knowles)
               
                 
              
                  
                    October 3, 2018, 10:58am
                   
                   
              1 
               
             
            
              I note that Oracle are discontinuing Java 8 support in January next year. The Docs say that 9 and 10 are not supported. 
Is there a plan?
             
            
               
               
               
            
            
           
          
            
              
                hmerk  
                (Hans-Jörg Merk)
               
              
                  
                    October 3, 2018, 11:05am
                   
                   
              2 
               
             
            
              Yes, the plan is to Support Java 11
             
            
               
               
              1 Like 
            
            
           
          
            
              
                Benjy  
                (Ben Clark)
               
              
                  
                    October 3, 2018,  1:09pm
                   
                   
              3 
               
             
            
              The latest milestone and snapshots are able to run using Java 11, but there are a couple of issues that need to be addressed before declaring compatability, see the following issue page:
  
  
    
  
  
    
    
      
        opened 10:10PM - 17 Sep 18 UTC 
      
        
          closed 10:03PM - 27 Jan 20 UTC 
        
      
     
    
    
   
 
  
    Currently openHAB only supports Java 8 which is the most recent long-term suppor… t (LTS) release of Java. 
We should also add support for running openHAB with Java 11, which is the next LTS release and will be released in a week ([September 25th, 2018](http://openjdk.java.net/projects/jdk/11/)).
In #761 Karaf was upgraded to 4.2.1 which supports Java 8, 9, 10 and 11.
After testing openHAB with Karaf 4.2.1 on Java, 9, 10 and the [JDK 11 Early-Access Builds](http://jdk.java.net/11/) the following issues have been found so far:
* XStream causes the JVM to log warnings for _"Illegal reflective access operations"_
  See: https://github.com/x-stream/xstream/issues/101, https://github.com/eclipse/smarthome/issues/4369#issuecomment-420170606
* RRD4J persistence addon NoSuchMethodError 
  See: https://github.com/rrd4j/rrd4j/issues/72, https://github.com/openhab/openhab1-addons/issues/5663
* MaryTTS voice addon StringIndexOutOfBoundsException 
  See: https://github.com/marytts/marytts/issues/783, https://github.com/openhab/openhab2-addons/issues/3953
For compatibility of Eclipse SmartHome with Java 11 see also [Test ESH with Java 9/10/11](https://github.com/eclipse/smarthome/issues/4369).
---
To simplify JDK 11 testing, I've created an [openhab-docker branch](https://github.com/wborn/openhab-docker/tree/jdk-11) that makes Travis create Debian and Alpine amd64 Docker images using [Zulu Java 11](https://www.azul.com/downloads/zulu/zulu-linux/) every day. 
For the available tags see my [wborn/openhab-jdk11](https://hub.docker.com/r/wborn/openhab-jdk11/tags/) Docker Hub repository. 
   
   
  
    
    
  
  
 
Of course helping to test other addons with Java 11 installed is very much welcome.
Hope that helps.
             
            
               
               
               
            
            
           
          
            
              
                CDriver  
                (CDriver)
               
              
                  
                    October 3, 2018,  5:54pm
                   
                   
              4 
               
             
            
              Is this strictly the case?