We think it’s about time, but don’t worry, OpenJDK 6 will still be around for those who need it. So, on June 18th, 2012, OpenJDK 7 will be the default JDK on Travis CI.
Take a look at what JRuby developers have in mind for JDK 7 users. Upcoming versions of Ubuntu and Fedora will use OpenJDK 7 by default as well. This feature is not just for dynamic languages like JRuby, Clojure and Groovy: there are projects that make use of invokedynamic for Scala, for example. OpenJDK 7 has been around for almost one year and ships with many long awaited features, including the crown jewel invokedynamic, a new JVM instruction that makes it possible for language implementers to take advantage of JVM optimizations that were previously (virtually) inaccessible to them. Today, if you don’t specify what JDK version Travis CI should use you get OpenJDK 6. Just in case, our documentation guides are updated to mention this feature. You can specify one, two or all JDK keys, and it works the same way for Java, Clojure and so on. To test against multiple JDKs, list them using the :jdk key in your. This includes the Travis CI core team, since a large chunk of Travis CI itself runs on the JVM :) How do I turn it on already? We hope this feature will make OpenJDK 7 migration even smoother and will make the lives of many developer communities a little bit more enjoyable. This will work for Clojure, Groovy, Java, Ruby and Scala. Today we are happy to announce support for multiple JDKs!!! But some of the projects already target JDK 7-specific features, for example, the Fork/Join framework. Out of eleven languages with first class support on Travis CI, five run on the JVM: Clojure, Groovy, Java, Ruby, and Scala. However, up until now, we only provided a single JDK version: OpenJDK 6.
#Openjdk 7 vs jdk install
Sometimes we did not have to do any work to make this happen: Clojure and Scala build tools, ( Leiningen and SBT, respectively), for example, let you test against multiple versions without having to install several versions of Clojure or Scala. Today you can test your projects in several languages against multiple releases or implementations. So we launched Erlang support with multiple Erlang/OTP versions from the start.
We were working on Erlang support, the first additional language to be added to Travis, and had a question to face: should multi-runtime support be a Ruby-specific feature or should we try to do the same for more languages if we can? It was a no brainer: easy CI against multiple runtimes is too awesome a feature to pass by. So one of the features that was added very early on was the ability to easily test against multiple versions and implementations of Ruby in the simplest way possible.įast forward to around August 2011.
#Openjdk 7 vs jdk full
Back then the Ruby community was in full swing moving to Ruby 1.9, and most popular projects supported 1.9 unknowingly, but it was common to run into issues with projects that either did not test against 1.9, or tested against 1.9 but not 1.8. When Travis CI started in early 2011, one of the goals behind it was to make CI for everyone, including ourselves. Every new feature starts with a developer wanting to scratch an itch.