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

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
Filter by Employee ID
3 votes
1 answer
206 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 ...
0 votes
0 answers
80 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....
0 votes
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 ...
2 votes
0 answers
178 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 ...
0 votes
1 answer
930 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 ...
2 votes
1 answer
832 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 ...
0 votes
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 ...
0 votes
0 answers
552 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 - ...
-1 votes
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>> ...
1 vote
0 answers
90 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?
0 votes
0 answers
83 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 ...
0 votes
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 ...
0 votes
1 answer
436 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 ...
3 votes
0 answers
79 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. ...
2 votes
0 answers
123 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