X
Business

Programming languages: Java developers flock to Kotlin and ditch Oracle JDK for OpenJDK

New survey reveals the most popular tools used by Java developers.
Written by Liam Tung, Contributing Writer

The vast majority of developers who use a JVM (Java Virtual Machine) language still use Java, but a sizable chunk of the population is shifting to Kotlin, a JVM-compatible language developed by JetBrains, which Google is encouraging developers to use for Android development.  

That's according to Snyk, the secure open-source coding outfit that last month landed $150m in backing, valuing the company at $1bn. 

Its survey of 2,000 developers for its JVM 2020 report finds that while 87% of JVM developers still use Oracle Java, the population that use Kotlin has jumped about 130%, from a 2.4% share last year to 5.5% today. 

SEE: Six in-demand programming languages: Getting started (free PDF)

Snyk puts growth in Kotlin adoption down to how seamlessly it integrates with Java. The growth has put Kotlin in second place, albeit well behind Java, but now ahead of Clojure and Scala. 

Oracle JDK – Java Development Kit – is also losing share to OpenJDK alternatives. Snyk finds a "huge shift" to OpenJDK alternatives, amounting to 36% of all respondents who have left Oracle JDK for some flavor of Open JDK. 

Last year, 70% of developers were using Oracle JDK and 21% were using an Open JDK distribution. This year, just 34% report using Oracle JDK. 

According to Snyk, only 9% of developers report paying for JDK support, of which 55% are paying Oracle, 17% are paying IBM-owned Red Hat, 16% are paying IBM, and 12% are paying Azul. 

Java 8 remains the most widely used version of Java SE in production systems at 64%, followed by Java 11 at 25%. 

The survey, worryingly, found that 17% of respondents never apply security patches to JDK. However, on a positive note, 61% of developers apply security updates within a month of release. Meanwhile 15% say they apply security updates within days of their release. 

IntelliJ IDEA, an integrated development environment (IDE) from Kotlin-maker JetBrains, is by far the most popular IDE. The survey finds that 62% of developers use the free Community version of IntelliJ IDEA, while half of all respondents report using JetBrains' paid-for 'Ultimate' version. 

A further 20% report using the Eclipse IDE, while 10% Apache NetBeans, 4% use Vim and Emacs, while 2% use Microsoft's Visual Studio Code. Snyk notes that Eclipse IDE usage has dropped from 38% last year. 

SEE: Programming languages: Developers adore Python, but with Java and JavaScript it's a love-hate thing

Somewhat surprisingly, among JVM developers, the Microsoft-owned code-sharing site GitHub is overshadowed by rival GitLab, thanks to a high adoption of GitLab's private repositories. Overall, 35% of respondents report using GitLab, while 31% report using GitHub and 25% report using Atlassian's Bitbucket. 

Snyk has also uncovered some trends in how developers approach scanning dependencies for known security vulnerabilities. 

Nearly a third scan for bugs as part of a CI (continuous integration) process before deploying a system to production. Smaller proportions also scan code in their IDE, pull requests in a code repository, during build time, and during production. 

More on developers and programming languages

  • Programming language popularity: Apple's Objective-C tumbles down the rankings  
  • Programming languages: Go and Python are what developers most want to learn  
  • Know Python language and up for a 'hardcore' coding test? Get in touch, says Tesla  
  • Java or C++, Full stack or Front end: The programming languages and developer jobs that pay you the most  
  • Developers love Rust programming language: Here's why  
  • Google reveals new Python programming language course: Scholarships for 2,500  
  • Microsoft boosts programming language Python's popular VS Code extension  
  • Programming language of 2019? Python beaten by trusty old C  
  • Programming language Python's popular extension for Visual Studio Code revamped  
  • Programming language Python 2.7 code is now frozen: Last release coming in April  
  • Netflix: Our Metaflow Python library for faster data science is now open source  
  • Microsoft: We're creating a new Rust-like programming language for secure coding 
  • Tech jobs: Python programming language and AWS skills demand has exploded  
  • Python programming language creator retires, saying: 'It's been an amazing ride'
  • Programming languages: How Instagram's taming a multimillion-line Python monster
  • Salesforce: Why we ditched Python for Google's Go language in Einstein Analytics  
  • Google: Take our free Kotlin programming language courses to build Android apps
  • Facebook: Microsoft's Visual Studio Code is now our default development platform
  • Microsoft: We want you to learn Python programming language for free
  • JPMorgan's Athena has 35 million lines of Python code, and won't be updated to Python 3 in time TechRepublic
  • Mozilla's radical open-source move helped rewrite rules of tech CNET
  • Editorial standards