eclipse-paho / eclipse-paho/paho.mqtt.java
problem using the mqtt.jar file in a Java 10 project
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 919
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm trying to use the paho mqtt library in a Java 10 project.
It works fine if I put the jar file on the class path.
But if I move the jar to the module path and add the line
requires org.eclipse.paho.client.mqttv;
to module-info.java
my project doesn't compile any more, giving the error message:
error: module not found: org.eclipse.paho.client.mqttv requires org.eclipse.paho.client.mqttv;
The org.eclipse.paho.client.mqttv3-1.2.1-20180926.040552-201.jar is compiled with Java 1.8.0_162.
Is the problem related to the automatic module generation in Java 10?
Do you have a solution for this problem?
When will a new org.eclipse.paho.client.mqttv.jar be released, which is compiled with a current Java version?
Best regards,
Elke
- [x] Bug exists Release Version 1.2.0 ( Master Branch)
- [x] Bug exists in MQTTv3 Client on Snapshot Version 1.2.1-SNAPSHOT (Develop Branch)
- [x] Bug exists in MQTTv5 Client on Snapshot Version 1.2.1-SNAPSHOT (Develop Branch)
Contributor guide
Assessment
This issue has not been assessed yet.