Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

All Questions

Tagged with or

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 3
1 answer
209 views

For some strange reason, I cannot make ProcessHandle be resolved in my Android Studio environment: Android Studio Koala | 2024.1.1 Patch 1 Build #AI-241.18034.62.2411.12071903, built on July 11, 2024 ...
Score of 0
0 answers
81 views

I have a Spring Boot project with 2 jigsaw modules (java 21). Inner module with only one public package with interfaces and DTOs; also it provides an implementation for UseCase service: module com....
Score of 0
0 answers
76 views

I have been trying for the past week to set up maven on my MacBook Pro. I have looked through this forum and tried different solutions however I am still stuck and that is why I am compelled to post ...
Score of 2
0 answers
179 views

I am applying java 9 modules to my java application. In my java application it contains import statement import javax.ws.rs.core.MediaType. When I add module-info.java file, that statement provides ...
Score of 0
1 answer
938 views

I am trying to create a very simple java modules project in IntelliJ with multiple modules. Accordingly documentation in https://openjdk.org/projects/jigsaw/quick-start#multimodulecompile inside src ...
Score of 2
1 answer
838 views

I have a Java 11 Gradle project for work. I am using IntelliJ Idea. I have some test errors, so I'm trying to debug. The error message I'm asking about appears to be unrelated to the test errors, but ...
Score of 0
0 answers
66 views

I am new to using Java 9 modules. I am aware that there are different types of Java 9 modules such as Automatic modules and Unnamed modules. I am curious why I am able to use third-party dependencies ...
Score of 0
0 answers
555 views

While executing JUnits with OpenJdk-11, Mockito-3.12.4 and powermock-2.0.9 getting below error. Also, I am using third party library (pcm.jar) which is compiled by Java 1.8. Error is - ...
Score of -1
1 answer
236 views

Below piece of code is using asIterator() method from Java 9 can someone please help me to convert below code compatible with Java 8? private static Function<ClassLoader, Stream<URL>> ...
Score of 1
0 answers
91 views

I included a multi-release jar into app.libs and call the api in the jar(the api simply print current jdk version). But it didn't work. Will multi-release jar work in android? How to make it work?
Score of 0
0 answers
84 views

I need some of features of java 9 and I have vaadin 14 app. When I changed java.version in the pom.xml to the java version 9, app. is not running in Tomcat server (production build). Tomcat only show ...
Score of 0
0 answers
91 views

In java module system, we can have: module hellomodule { exports com.name.hello; requires transitive greetings; } by doing this the packages exposed by greetings module will effectively ...
Score of 0
1 answer
440 views

I just installed the new Electric Eel Android Studio stable version, but I am getting the following error messages below although the project builds without errors. The errors are happening in the ...
Score of 3
0 answers
80 views

I have a Stream<Optional<T>>. I want to use the findFirst()/findAny() methods to return a value. However I want to throw different exceptions depending on the Stream being empty or not. ...
Score of 2
0 answers
126 views

I have a project where dependencies were designed based on java 8, I'm using java 9 modules. I keep getting errors related to multiple exports. java: java.lang.reflect.InvocationTargetException ...

15 30 50 per page
1
2 3 4 5
108