The Java questions were only shown to the developers who chose Java as one of their three primary programming languages.
Which versions of Java do you regularly use?
Question with checkboxes. Sum of shares may be more than 100%.
Please also note that Java 10 is missing from the list as it was released after the Developer Ecosystem Survey 2018 was launched.