hypfvieh / dbus-java

Improved version of java DBus library provided by freedesktop.org (https://dbus.freedesktop.org/doc/dbus-java/)
https://hypfvieh.github.io/dbus-java/
MIT License
180 stars 72 forks source link

problem to execute DBusViewer #241

Closed mtmmtm9 closed 10 months ago

mtmmtm9 commented 10 months ago

When importing the code into intellij and clicking execute on DBusViewer i get: ..../src/main/java/module-info.java:6:40 java: module not found: org.freedesktop.dbus

hypfvieh commented 10 months ago

I don't see a problem here. Just downloaded latest Intellij, imported dbus-java project and started the viewer. Same for Eclipse.

Did you open the complete project, or just the dbus-java-util submodule? The 'org.freedesktop.dbus' module is provided by dbus-java-core.

mtmmtm9 commented 10 months ago

I imported the whole project and right-clicked on DBusViewer and selected Run. I did this using openjdk17 and latest intellij-community-edition on a raspberry pi. I will try with eclipse.

mtmmtm9 commented 10 months ago

It works with eclipse. This must be a problem in intellij (on the pi) ?