Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Missing javax.xml.bin for build with Java11 #298

Open
orat opened this issue Jul 17, 2019 · 3 comments
Open

Missing javax.xml.bin for build with Java11 #298

orat opened this issue Jul 17, 2019 · 3 comments

Comments

@orat
Copy link

orat commented Jul 17, 2019

Hi,
rosjava_core can not be build for java11 because javax.xml.bind is not included in version 11 anymore.

I do not really understand the build-details of rosjava so I do not know where to add the depencency. There is javax.xml.bind available with version 2.2.11 on jcenter. So it should be easy to add the depencency.

But in which files?

best regards
Oliver

@jubeira
Copy link

jubeira commented Jul 17, 2019

Hi @orat,

Do you have a link with some documentation regarding the bind file? I'm not familiar with the details of Java 11.
Rosjava uses Gradle, perhaps checking out Gradle documentation to build with Java 11 is a good starting point?
If you find a backwards-compatible way of supporting Java 11, feel free to send a PR.

Thanks!

@henroth
Copy link

henroth commented Mar 5, 2020

For anyone else wondering add the following to the dependencies in this file https://github.com/rosjava/rosjava_core/blob/kinetic/apache_xmlrpc_common/build.gradle

compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.2.4'

@Dave-van-der-Meer
Copy link

Dave-van-der-Meer commented Jul 23, 2020

For anyone else wondering add the following to the dependencies in this file https://github.com/rosjava/rosjava_core/blob/kinetic/apache_xmlrpc_common/build.gradle

compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.2.4'

I have these dependencies already out of the box and yet I have errors about missing dependencies for javax.xml.bind when running catkin_make.

Edit: I use ROS Melodic where the javax.xml.bind seems not to exist anymore since Java 11.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants