I just added support for 1-wire devices in my diozero Java library, class:
https://github.com/mattjlewis/diozero/b ... ensor.java. Health warning - I've not yet tested this class.
Relies on w1-gpio and w1-therm kernel modules.
Documentation for the project is evolving and can be found at
http://rtd.diozero.com/.
The JavaDoc header tags in this class link to the sources of information that I used.
Hope that helps.
Regards,
Matt