Top "Java-10" questions

Use this tag for questions specific to Java 10, which is version 10 of the Java platform, released on 20 March 2018.

Java: How to resolve java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

I have some code that uses JAXB API classes which have been provided as a part of the JDK in …

java jaxb java-9 java-11 java-10
Unable to compile simple Java 10 / Java 11 project with Maven

I have a trivial Maven project: src └── main └── java └── module-info.java pom.xml pom.xml: <groupId>org.example&…

java maven java-10 java-11 module-info
How to install JDK 10 under Ubuntu?

How do I install Java Development Kit (JDK) 10 on Ubuntu? The installation instructions on Oracle's help center only explain how …

java ubuntu java-10
Why does array[idx++]+="a" increase idx once in Java 8 but twice in Java 9 and 10?

For a challenge, a fellow code golfer wrote the following code: import java.util.*; public class Main { public static void …

java java-8 javac java-9 java-10
Maven: Invalid target release: 10

I'm trying to compile my maven project using Java 10 but I'm having trouble. In my IDE (IntelliJ IDEA) everything compiles …

java maven pom.xml java-10
How can I install Netbeans with JDK 10

I try the command line with JavaHome: netbeans-trunk-nightly-201803230002-javase-windows.exe --javahome "C:\Program Files\Java\jdk-10" It should work, but …

java netbeans installation java-home java-10
How to uninstall JDK on Mac OS?

Folks - I am facing challenges while trying to uninstall JDK from my MAC (macOS High Sierra Version 10.13.4 - 17E199). …

java macos java-8 java-10
Unrecognized VM option 'UseParNewGC' , Error: Could not create the Java Virtual Machine

I am trying to start a server using jre 10.0.1 64 bit. There is an obvious change in the settings for the …

jvm java-10 jvm-crash
Eclipse can't find XML related classes after switching build path to JDK 10

I'm developing on a Maven project (branch platform-bom_brussels-sr7) in Eclipse. When I recently tried switching the Java Build Path …

java eclipse maven java-10
The import java.awt cannot be resolved

I have installed the Eclipse [Version: Photon Release (4.8.0)] and JDK 10 on a MacBookPro with macOS 10.13.5 When I write in my …

java awt java-10