Skip to main content
1293 votes
46 answers
1.6m views

I have some code that uses JAXB API classes which have been provided as a part of the JDK in Java 6/7/8. When I run the same code with Java 9, at runtime I get errors indicating that JAXB classes can ...
Andy Guibert's user avatar
  • 43.2k
438 votes
12 answers
673k views

In the past, Oracle used to publish an executable installers for Windows that would: Unpack files Add registry keys indicating the installed version and path Add the JRE to the system PATH Register an ...
Gili's user avatar
  • 90.9k
379 votes
1 answer
682k views

I'm trying to deserialize XML data into a Java content tree using JAXB, validating the XML data as it is unmarshalled: try { JAXBContext context = JAXBContext.newInstance("com.acme.foo"); ...
Boris's user avatar
  • 24.7k
276 votes
12 answers
667k views

So Java 11 is out. Does anybody know how to install it (OpenJDK from Oracle) from the command line? I would like to see something like it was before for Oracle Java 10: sudo add-apt-repository ppa:...
Dmitriy Dumanskiy's user avatar
252 votes
11 answers
333k views

Recently I switched to the Java 11 and start to debug my app and saw this message: OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath ...
Dmitriy Dumanskiy's user avatar
237 votes
5 answers
141k views

Among other changes, JDK 11 introduces 6 new methods for java.lang.String class: repeat(int) - Repeats the String as many times as provided by the int parameter lines() - Uses a Spliterator to lazily ...
Mikhail Kholodkov's user avatar
205 votes
5 answers
170k views

Java 11 is announced to be the most recent LTS version. So, we're trying to start new services based on this Java version. However, the base Docker image for Java 11 is much larger than the ...
radistao's user avatar
  • 15.7k
202 votes
36 answers
460k views

I am trying to build an application which was built using java 8, now it's upgraded to java 11. I installed Java 11 using an oracle article in my windows machine and I use IntelliJ IDEA 2017 as my IDE....
AMagic's user avatar
  • 2,820
181 votes
11 answers
371k views

I have a trivial Maven project: src └── main └── java └── module-info.java pom.xml pom.xml: <groupId>org.example</groupId> <artifactId>example</artifactId> <...
ZhekaKozlov's user avatar
  • 40.1k
149 votes
11 answers
204k views

In my build.gradle file I upgraded the version of one dependency (namely: com.db:microservice-commons). After loading the gradle changes, I get the following error message: > Build file 'C:\...
Thomas_SO's user avatar
  • 2,631
112 votes
15 answers
167k views

I'm trying to initiate a Spring Boot project using OpenJDK 15, Spring Boot 2.6.0, Springfox 3. We are working on a project that replaced Netty as the web server and used Jetty instead, because we do ...
jvacaq's user avatar
  • 1,559
110 votes
2 answers
16k views

We're currently migrating from Java 8 to Java 11. However, upgrading our services was less painful, than we anticipated. We basically only had to change the version number in our build.gradle file and ...
Younes El Ouarti's user avatar
104 votes
7 answers
170k views

I'm having trouble getting IntellJ to recognize JavaFX packages. With a new JavaFX project, with OpenJDK 11, when trying to build the project, IntelliJ can't recognize the JavaFX packages. I've ...
AlwaysNeedingHelp's user avatar
95 votes
1 answer
270k views

UPDATE: (to be more clear) You can find JRE 8, JRE 9 and JRE 10 on Oracle's official website (click on each). But where is JRE 11?! Also, JDK 11 doesn't include a JRE. I was expecting JRE to be ...
Mir-Ismaili's user avatar
  • 17.7k
94 votes
5 answers
92k views

Inspired by question Why is the Java 11 base Docker image so large? (openjdk:11-jre-slim) I found that this topic in Java world is still not settled. As for 07 Dec 2018 there are common issues/...
radistao's user avatar
  • 15.7k

15 30 50 per page
1
2 3 4 5
212