Red Hat introduces JDK 10

Red Hat introduces JDK 10

Support for Java™ 10

Java™ 10 is now supported with Red Hat JBoss Developer Studio 11.3.

Please note that Red Hat JBoss Developer Studio does not run on a Java™ 9/10 virtual machine, but allows for managing and building of Java™ 9/10 projects and artifacts. So, you must first define in your workspace a Java™ 9/10 JDK if you want to manage and build Java™ 9/10 projects.

As Java™ 10 is an extension of Java™ 9, please refer to this article for Java™ 9 related support in Red Hat JBoss Developer Studio.

The biggest part is the support for local variable type inference.

Everything you need to grow your career.

With your free Red Hat Developer program membership, unlock our library of cheat sheets and ebooks on next-generation application development.

SIGN UP

Add Java 10 JRE

Basic necessity of recognizing a Java 10 for launching

j10

And the compiler compliance option of 10

 

JEP 286 var – compilation

Support for compilation of var as shown below

 

Flagging of the compiler errors as expected, shown below

Completion at places var is allowed

 

Completion not offered at places var is not allowed

 

Hover to reveal the javadoc

 

Convert from var to the appropriate type using quick assist

Convert from type to var using quick assist

 

Share