{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/paho.mqtt.java/issues/585","repository_url":"https://api.github.com/repos/eclipse/paho.mqtt.java","labels_url":"https://api.github.com/repos/eclipse/paho.mqtt.java/issues/585/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/paho.mqtt.java/issues/585/comments","events_url":"https://api.github.com/repos/eclipse/paho.mqtt.java/issues/585/events","html_url":"https://github.com/eclipse/paho.mqtt.java/issues/585","id":363888154,"node_id":"MDU6SXNzdWUzNjM4ODgxNTQ=","number":585,"title":"problem using the mqtt.jar file in a Java 10 project ","user":{"login":"elkes","id":43599129,"node_id":"MDQ6VXNlcjQzNTk5MTI5","avatar_url":"https://avatars0.githubusercontent.com/u/43599129?v=4","gravatar_id":"","url":"https://api.github.com/users/elkes","html_url":"https://github.com/elkes","followers_url":"https://api.github.com/users/elkes/followers","following_url":"https://api.github.com/users/elkes/following{/other_user}","gists_url":"https://api.github.com/users/elkes/gists{/gist_id}","starred_url":"https://api.github.com/users/elkes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elkes/subscriptions","organizations_url":"https://api.github.com/users/elkes/orgs","repos_url":"https://api.github.com/users/elkes/repos","events_url":"https://api.github.com/users/elkes/events{/privacy}","received_events_url":"https://api.github.com/users/elkes/received_events","type":"User","site_admin":false},"labels":[{"id":300530898,"node_id":"MDU6TGFiZWwzMDA1MzA4OTg=","url":"https://api.github.com/repos/eclipse/paho.mqtt.java/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-26T07:14:57Z","updated_at":"2018-11-05T10:00:03Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI'm trying to use the paho mqtt library in a Java 10 project.\r\nIt works fine if I put the jar file on the class path.\r\nBut if I move the jar to the module path and add the line\r\nrequires org.eclipse.paho.client.mqttv;\r\nto module-info.java \r\nmy project doesn't compile any more, giving the error message:\r\nerror: module not found: org.eclipse.paho.client.mqttv requires org.eclipse.paho.client.mqttv;\r\n\r\nThe org.eclipse.paho.client.mqttv3-1.2.1-20180926.040552-201.jar is compiled with Java 1.8.0_162.\r\nIs the problem related to the automatic module generation in Java 10?\r\nDo you have a solution for this problem? \r\nWhen will a new org.eclipse.paho.client.mqttv.jar be released, which is compiled with a current Java version?\r\n\r\nBest regards,\r\nElke\r\n\r\n\r\n- [x] Bug exists Release Version 1.2.0 ( Master Branch)\r\n- [x] Bug exists in MQTTv3 Client on Snapshot Version 1.2.1-SNAPSHOT (Develop Branch)\r\n- [x] Bug exists in MQTTv5 Client on Snapshot Version 1.2.1-SNAPSHOT (Develop Branch)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/eclipse/paho.mqtt.java/issues/comments/435818168","html_url":"https://github.com/eclipse/paho.mqtt.java/issues/585#issuecomment-435818168","issue_url":"https://api.github.com/repos/eclipse/paho.mqtt.java/issues/585","id":435818168,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTgxODE2OA==","user":{"login":"elkes","id":43599129,"node_id":"MDQ6VXNlcjQzNTk5MTI5","avatar_url":"https://avatars0.githubusercontent.com/u/43599129?v=4","gravatar_id":"","url":"https://api.github.com/users/elkes","html_url":"https://github.com/elkes","followers_url":"https://api.github.com/users/elkes/followers","following_url":"https://api.github.com/users/elkes/following{/other_user}","gists_url":"https://api.github.com/users/elkes/gists{/gist_id}","starred_url":"https://api.github.com/users/elkes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elkes/subscriptions","organizations_url":"https://api.github.com/users/elkes/orgs","repos_url":"https://api.github.com/users/elkes/repos","events_url":"https://api.github.com/users/elkes/events{/privacy}","received_events_url":"https://api.github.com/users/elkes/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T10:00:03Z","updated_at":"2018-11-05T10:00:03Z","author_association":"NONE","body":"You are right, org.eclipse.paho.client.mqttv3 is needed.\r\nBut Netbeans can't find this module. If you put org.eclipse.paho.client.mqttv3-1.2.0.jar on the module path only the module org.eclipse.paho.client.mqttv is found.\r\n\r\nI suppose that this is due to the automatic module detection, which interprets numeric characters at the end of a name as version number and therefore cuts it off.\r\nSee: https://docs.oracle.com/javase/9/docs/api/java/lang/module/ModuleFinder.html"}}
{"actor":{"display_login":"elkes"}}