java-11 Questions

3

I want to run a HelloWorld JavaFX 11 application using Maven from IntelliJ IDEA using a run/debug configuration to be able to debug the application. I've created a Maven project in IntelliJ IDEA w...
Unstop asked 9/10, 2018 at 15:46

5

I have a docker image called myImageName:latest, which I use in my application. I want to write an integration test for my application, therefore I want to use the TestContainer package. When I run...
Winebibber asked 12/5, 2021 at 15:2

3

We use Apache Ant with Nashorn JavaScript Engine, which became deprecated and removed in jdk 15 and up. I trying find how to switch from Nashorn to Graal VM and didn't find any usable information e...
Elute asked 3/11, 2021 at 23:37

3

I know micro-benchmarking is hard. I'm not trying to build a poor micro-benchmark. Rather, I have run into this problem when making (what I thought to be) harmless refactoring. There is stripped do...
Branch asked 14/11, 2019 at 22:54

2

Solved

I'm trying to understand why there is a different when I change from y.addAll(x) to x.addAll(y) in code snippet below: List<Integer> result = List.of(1, 2) .parallelStream() .collect( Arr...
Kavanaugh asked 3/8 at 17:39

8

Solved

I've installed .NET 6 (version 6.0.100-rc.1.21458.32) and Visual Studio 2020 Preview (although it might be not a prerequisite). I am trying to debug a hello-world application but I am getting a bui...
Mewl asked 20/9, 2021 at 18:29

2

I'm running IntelliJ Ultimate 2022.2.2. For quite some time (and versions) it has been complaining that the Project JDK is misconfigured and giving red lines under basically everything. This wasn't...
Hyp asked 10/11, 2022 at 9:21

2

Solved

Have recently updated application from Oracle Java 9 to AdoptJDk 11.0.6 and I am now seeing errors of the form this code: public static String convertWikidataUrl(String wikidataUrl) { String qP...
Haubergeon asked 28/4, 2020 at 10:43

1

Suppose that a lot of time after the release of an LTS version. If the support period has not yet expired, can this LTS version receive an update despite the fact that even a newer LTS version has ...
Air asked 27/7, 2023 at 19:32

3

Solved

Just moved from Java 11 to Java 14 The following code is now failing on a linux machine: String linux_exe = System.getProperty("user.dir") + '/' + "fpcalc_arm32"; List<String> params = new ...
Congdon asked 19/4, 2020 at 8:59

3

Solved

I was playing with OOM errors today and I found something I can't explain myself. I try to allocate an array bigger than the heap, expecting a "Requested array size exceeds VM limit" erro...
Slipsheet asked 13/10, 2020 at 16:16

4

Solved

After upgrading to from Gradle 6.7.1 to Gradle 7.4, the following error occurs: FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':example-...
Subcelestial asked 16/2, 2022 at 16:9

9

I am getting the error below while running my eclipse plugin. Eclipse used 4.12 with java11. It used to work fine in eclipse 4.6.3 + java8. javax.xml.bind.JAXBException: Provider com.sun.xml.intern...
Purulent asked 19/9, 2019 at 10:31

4

Solved

The HttpClient introduced experimentally in Java 9 is now stable in Java 11, but not surprisingly, very few projects seem to actually use it. Documentation is almost non-existing. One of the most ...
Dextrad asked 8/11, 2018 at 19:43

12

Solved

I'm trying to build the application with Java SE 11 and Gradle 7.0, and it builds using the IDE however when I try to build it using the terminal I get this error. How can I fix it. java.lang.Illeg...
Gaal asked 20/12, 2021 at 14:27

2

Please take a look at my code: Object longL = 2548214; Map<String, Object> map = new HashMap<String, Object>(1); map.put("LongNumber", longL); List<Map<String, Object>> re...
Joline asked 17/3, 2019 at 7:56

2

JDK11 introduced a new HTTP Client, with many features that lacks in traditional java.net.HttpURLConnection class. First question that I encountered with is how to properly enable logging in newly ...
Erupt asked 17/2, 2019 at 7:57

14

i am working with react native and am trying to use expo in a bare project but whenever i try to run the app with the command npm run android, i get this error : Execution failed for task ':expo-mo...
Arista asked 25/7, 2022 at 9:51

2

I get an error when running my PowerMockito2 tests on Java 11. I was able to resolve this error by putting this annotation at class level but I do not want to do this. Is there a way not to get thi...
Occlude asked 10/12, 2021 at 17:23

3

I'm having a problem migrating my pure Kubernetes app to an Istio managed. I'm using Google Cloud Platform (GCP), Istio 1.4, Google Kubernetes Engine (GKE), Spring Boot and JAVA 11. I had the conta...
Prothorax asked 14/8, 2020 at 7:45

12

info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. Jetifier found 936 file(s) to forward-jetify. Using 12 workers... info JS server alr...
Probity asked 19/9, 2022 at 4:33

13

Solved

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 classpat...
Occam asked 15/1, 2019 at 19:18

5

Jdk : JAVA 11 Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.2:descriptor (default-descriptor) on project buildtools: Execution default-descriptor of goal org.apache.maven.p...
Counterpunch asked 26/3, 2020 at 5:30

4

I have migrated a project from java 1.8 to java 11. In the process I have had to install a newer version of eclipse to pick up the java 11 jdk. Eclipse IDE for Enterprise Java Developers. Version...
Lissalissak asked 21/3, 2019 at 11:1

1

I'm migrating my java project from 8 to 11 version. As javax.activation has been removed from JDK 11, so I added it to Maven pom.xml file : <dependency> <groupId>javax.activation<...
Nourish asked 31/1, 2019 at 13:36

© 2022 - 2024 — McMap. All rights reserved.