# \#java

**URL:** https://forums.digi.com/tag/java/190.md

[Latest](https://forums.digi.com/latest.md) · [Categories](https://forums.digi.com/categories.md) · [Tags](https://forums.digi.com/tags.md)

---

## [Java library issue with java 25](https://forums.digi.com/t/java-library-issue-with-java-25/38302)

<div class="topic-metadata">

**Author:** [@ozgun](https://forums.digi.com/u/ozgun)\
**Replies:** 4\
**Last updated:** [April 8, 2026, 1:36pm UTC](https://forums.digi.com/t/java-library-issue-with-java-25/38302 "2026-04-08T13:36:33Z")

</div>

I am having issues using the java library. I am using the libs from the latest release 1.3.2. All jars are in my classpath, and the rxtxSerial.dll is in the bin folder of my JDK 26. I have imported the dependencies fr…

---

## [Usb issues with NoSuchPortExceptions on windows Java app](https://forums.digi.com/t/usb-issues-with-nosuchportexceptions-on-windows-java-app/27839)

<div class="topic-metadata">

**Author:** [@BrettMargo](https://forums.digi.com/u/BrettMargo)\
**Replies:** 4\
**Last updated:** [October 3, 2023, 9:37pm UTC](https://forums.digi.com/t/usb-issues-with-nosuchportexceptions-on-windows-java-app/27839 "2023-10-03T21:37:20Z")

</div>

Hi there, We have a custom java program that controls/manages our xbee pro 900hp mesh network. It does so using an xbee modem connected via usb to a windows computer. We used windows because we also wanted to be able to…

---

## [Why python is used for API developement?](https://forums.digi.com/t/why-python-is-used-for-api-developement/22493)

<div class="topic-metadata">

**Author:** [@ps3roms](https://forums.digi.com/u/ps3roms)\
**Replies:** 2\
**Last updated:** [September 17, 2021, 8:30am UTC](https://forums.digi.com/t/why-python-is-used-for-api-developement/22493 "2021-09-17T08:30:36Z")

</div>

My question is that why python is used for api developement where there have many other programming languages.https://ps3r.com

---

## [imports com.digi.xbee.api not resolving in java code for XBee Zigbee Mesh Kit User Guide.](https://forums.digi.com/t/imports-com-digi-xbee-api-not-resolving-in-java-code-for-xbee-zigbee-mesh-kit-user-guide/22228)

<div class="topic-metadata">

**Author:** [@rob186](https://forums.digi.com/u/rob186)\
**Replies:** 2\
**Last updated:** [February 24, 2021, 2:16pm UTC](https://forums.digi.com/t/imports-com-digi-xbee-api-not-resolving-in-java-code-for-xbee-zigbee-mesh-kit-user-guide/22228 "2021-02-24T14:16:45Z")

</div>

I had trouble following the XBee Zigbee Mesh user guide Java application for wireless data transmission. Issues - XBeeTransmitDataCoord : The capital X at the beginning of the module name is “discouraged” after movin…

---

## [Connecting a DHT11 sensor with XBee Series 2 without external microcontroller using Java](https://forums.digi.com/t/connecting-a-dht11-sensor-with-xbee-series-2-without-external-microcontroller-using-java/18684)

<div class="topic-metadata">

**Author:** [@Jserra](https://forums.digi.com/u/Jserra)\
**Replies:** 7\
**Last updated:** [January 28, 2021, 7:44am UTC](https://forums.digi.com/t/connecting-a-dht11-sensor-with-xbee-series-2-without-external-microcontroller-using-java/18684 "2021-01-28T07:44:58Z")

</div>

Hi! I am working in a project with Xbee Series 2 and Java, and I would to know how can I connect the digital output of DHT11 to a Xbee module’s input and read the samples from my Java app, because I have been looking for…

---

## [How can we avoid the TransmitException when writing to the channel.](https://forums.digi.com/t/how-can-we-avoid-the-transmitexception-when-writing-to-the-channel/22121)

<div class="topic-metadata">

**Author:** [@Wouter\_Vandenberg](https://forums.digi.com/u/Wouter_Vandenberg)\
**Replies:** 0\
**Last updated:** [January 11, 2021, 10:57am UTC](https://forums.digi.com/t/how-can-we-avoid-the-transmitexception-when-writing-to-the-channel/22121 "2021-01-11T10:57:36Z")

</div>

We are using XU-A11 X-STICK 2.4GHZ USB TO XBEE and XU3-A11 XBEE3 USB ADAPTER sticks. And the xbee-java library version 1.3.0 We created a test where we send the same data every 100ms. We see that we get the TransmitExce…

---

## [Java/Android - Creating A User Programmatically in DRM](https://forums.digi.com/t/java-android-creating-a-user-programmatically-in-drm/22000)

<div class="topic-metadata">

**Author:** [@FoxDonut](https://forums.digi.com/u/FoxDonut)\
**Replies:** 3\
**Last updated:** [November 19, 2020, 9:37am UTC](https://forums.digi.com/t/java-android-creating-a-user-programmatically-in-drm/22000 "2020-11-19T09:37:58Z")

</div>

Hi All, I’m trying to add a user using an android app. I can’t quite figure out the syntax. I used the one example in the programmers guide .pdf to get me started, but I can’t quite figure it out. In the API explorer, I…

---

## [Explain: Difference between set.io.configure and set.dio.value?](https://forums.digi.com/t/explain-difference-between-set-io-configure-and-set-dio-value/21509)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 0\
**Last updated:** [June 29, 2020, 1:11pm UTC](https://forums.digi.com/t/explain-difference-between-set-io-configure-and-set-dio-value/21509 "2020-06-29T13:11:39Z")

</div>

When dealing with manipulating pins often in a program I was told that “I shouldn’t use the configuration method frequently… only to configure an IO port initially. I should use a set method to change the IO port often.”…

---

## [XBee S2C ZigBee: pins 2,3 and 17 won't act as DIO](https://forums.digi.com/t/xbee-s2c-zigbee-pins-2-3-and-17-wont-act-as-dio/21468)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 1\
**Last updated:** [June 16, 2020, 9:07am UTC](https://forums.digi.com/t/xbee-s2c-zigbee-pins-2-3-and-17-wont-act-as-dio/21468 "2020-06-16T09:07:55Z")

</div>

XBee S2C ZigBee: pins 2,3 and 17 won’t act as DIO. I have been working on a project involving XBee S2C… currently have a coordinator module and 2 router modules communicating… a GUI started… I have sunk many many hours i…

---

## [XBee, how to get a button press on one DIO actuate a different DIO (JAVA)](https://forums.digi.com/t/xbee-how-to-get-a-button-press-on-one-dio-actuate-a-different-dio-java/21461)

<div class="topic-metadata">

**Author:** [@edunn106](https://forums.digi.com/u/edunn106)\
**Replies:** 1\
**Last updated:** [June 15, 2020, 9:52am UTC](https://forums.digi.com/t/xbee-how-to-get-a-button-press-on-one-dio-actuate-a-different-dio-java/21461 "2020-06-15T09:52:16Z")

</div>

---

## [Java ExplicitDataListener stops listening](https://forums.digi.com/t/java-explicitdatalistener-stops-listening/21274)

<div class="topic-metadata">

**Author:** [@wdtj](https://forums.digi.com/u/wdtj)\
**Replies:** 1\
**Last updated:** [April 20, 2020, 7:46am UTC](https://forums.digi.com/t/java-explicitdatalistener-stops-listening/21274 "2020-04-20T07:46:06Z")

</div>

I am writing a Java program using the Java API (xbee-java-library-1.3.0.jar) that will connect a XBee2/3 to a SmartThings Hub. I have been following the packet layout listed in https://nzfalco.jimdofree.com/electronic-p…

---

## [Not able to see table created through spring boot java](https://forums.digi.com/t/not-able-to-see-table-created-through-spring-boot-java/21187)

<div class="topic-metadata">

**Author:** [@surbhinahta](https://forums.digi.com/u/surbhinahta)\
**Replies:** 0\
**Last updated:** [March 12, 2020, 11:38am UTC](https://forums.digi.com/t/not-able-to-see-table-created-through-spring-boot-java/21187 "2020-03-12T11:38:31Z")

</div>

Hi, I am trying to see my table created through java in H2 console, but i cannot see any table created in H2 console. I am using spring boot, and i am not using spring security, just i have created a simple dummy code t…

---

## [Can I use one of the Xbee3 DIO pins to output a string](https://forums.digi.com/t/can-i-use-one-of-the-xbee3-dio-pins-to-output-a-string/20921)

<div class="topic-metadata">

**Author:** [@TrentJ](https://forums.digi.com/u/TrentJ)\
**Replies:** 1\
**Last updated:** [November 22, 2019, 1:07pm UTC](https://forums.digi.com/t/can-i-use-one-of-the-xbee3-dio-pins-to-output-a-string/20921 "2019-11-22T13:07:40Z")

</div>

I am reading values from an accelerometer, and storing these into a variable in java. Can i then output these through one of the DIO pins on the xbee grove board to a MSP430 or can ints that are sent wirelessly only be a…

---

## [Exception java.lang.NoClassDefFoundError on LoggerFactory](https://forums.digi.com/t/exception-java-lang-noclassdeffounderror-on-loggerfactory/16974)

<div class="topic-metadata">

**Author:** [@Lucrezia91](https://forums.digi.com/u/Lucrezia91)\
**Replies:** 1\
**Last updated:** [July 23, 2019, 10:17am UTC](https://forums.digi.com/t/exception-java-lang-noclassdeffounderror-on-loggerfactory/16974 "2019-07-23T10:17:21Z")

</div>

Hi! I’m trying to communicate with XBee Pro S2 with Digi Java library, but I have a problem to run the project. I am be able to compile project but not to run it. I write this command : "sudo java -Djava.library.path=…

---

## [Java XBee Library and android.content.Context error](https://forums.digi.com/t/java-xbee-library-and-android-content-context-error/18664)

<div class="topic-metadata">

**Author:** [@richdionne](https://forums.digi.com/u/richdionne)\
**Replies:** 2\
**Last updated:** [January 14, 2019, 4:26pm UTC](https://forums.digi.com/t/java-xbee-library-and-android-content-context-error/18664 "2019-01-14T16:26:50Z")

</div>

Hello, I’ve been developing a project in Java using the NetBeans IDE (8.2) and the Java XBee Library. I’ve been able to successfully run and test the application in the IDE without issue; however, when I try and compile…

---

## [Xbee set sleep mode and write changes through java](https://forums.digi.com/t/xbee-set-sleep-mode-and-write-changes-through-java/17601)

<div class="topic-metadata">

**Author:** [@jrherheim](https://forums.digi.com/u/jrherheim)\
**Replies:** 3\
**Last updated:** [August 20, 2018, 11:22am UTC](https://forums.digi.com/t/xbee-set-sleep-mode-and-write-changes-through-java/17601 "2018-08-20T11:22:55Z")

</div>

Hi, I have a java application configuring all my devices in my ZigBee network. That’s done through the coordinator sending remote AT commands to all devices. I use the MyDiscoveryListener to get all my devices: List rem…

---

## [JAVA ERROR -  EXCEPTION\_ACCESS\_VIOLATION (0xc0000005)](https://forums.digi.com/t/java-error-exception-access-violation-0xc0000005/18919)

<div class="topic-metadata">

**Author:** [@hferretti](https://forums.digi.com/u/hferretti)\
**Replies:** 1\
**Last updated:** [March 1, 2018, 3:59pm UTC](https://forums.digi.com/t/java-error-exception-access-violation-0xc0000005/18919 "2018-03-01T15:59:25Z")

</div>

Dear Sirs, I´m trying to configure a JAVA application according to the document XBeeZigBeeMeshKit-3407988-161117-1253-23711.pdf. I have the kit XKB2-Z7T-WTZM XBee S2D ZigBee. When I´m running the application I receiv…

---

## [How to update the "MY" field programatically using Java API?](https://forums.digi.com/t/how-to-update-the-my-field-programatically-using-java-api/18979)

<div class="topic-metadata">

**Author:** [@daniel.mccue](https://forums.digi.com/u/daniel.mccue)\
**Replies:** 3\
**Last updated:** [December 29, 2017, 10:49am UTC](https://forums.digi.com/t/how-to-update-the-my-field-programatically-using-java-api/18979 "2017-12-29T10:49:29Z")

</div>

After opening 802.15.4 XStick, I locate a remote XBee node and setParameter(“MY”, 0x03B9); After this parameter is updated, the following call to applyChanges or writeChanges fails with TX Failure. Updating other fiel…

---

## [xBee S2C sendExplicitData TimeOutException](https://forums.digi.com/t/xbee-s2c-sendexplicitdata-timeoutexception/19007)

<div class="topic-metadata">

**Author:** [@albe](https://forums.digi.com/u/albe)\
**Replies:** 1\
**Last updated:** [December 22, 2017, 2:05pm UTC](https://forums.digi.com/t/xbee-s2c-sendexplicitdata-timeoutexception/19007 "2017-12-22T14:05:16Z")

</div>

Hi, Zigbee IAS Zone end device (not digi) on occasion has different 16bit address than what is returned from ExplicitXBeeMessage getDevice get16BitAddress().This occurs on different ZEDs from different manufacturers. I’…

---

## [xbee java wrong 16bitaddress of zigbee end device](https://forums.digi.com/t/xbee-java-wrong-16bitaddress-of-zigbee-end-device/18998)

<div class="topic-metadata">

**Author:** [@albe](https://forums.digi.com/u/albe)\
**Replies:** 1\
**Last updated:** [December 22, 2017, 1:35pm UTC](https://forums.digi.com/t/xbee-java-wrong-16bitaddress-of-zigbee-end-device/18998 "2017-12-22T13:35:36Z")

</div>

Hi, Working with zigbee end devices(ZED). Sending responses using xBee Java API. We sometimes get an TimeOutException when sending a match response to a IAS zone end device. Looking at the IO port we see this message 7e…

---

## [RE: Wireless Connectivity Kit/XBee](https://forums.digi.com/t/re-wireless-connectivity-kit-xbee/18776)

<div class="topic-metadata">

**Author:** [@silver2row](https://forums.digi.com/u/silver2row)\
**Replies:** 2\
**Last updated:** [October 9, 2017, 2:44pm UTC](https://forums.digi.com/t/re-wireless-connectivity-kit-xbee/18776 "2017-10-09T14:44:11Z")

</div>

Hello, Me again…I was using NetBeans and this file: https://github.com/digidotcom/XBeeJavaLibrary/releases. I am also using the THT Grove Development Boards. I have an i2c attached (barometer) via Grove Connection. I a…

---

## [XBee S1 DigiMesh - Problem with remote AT Commands (Java API)](https://forums.digi.com/t/xbee-s1-digimesh-problem-with-remote-at-commands-java-api/18601)

<div class="topic-metadata">

**Author:** [@dulu](https://forums.digi.com/u/dulu)\
**Replies:** 0\
**Last updated:** [August 1, 2017, 2:09pm UTC](https://forums.digi.com/t/xbee-s1-digimesh-problem-with-remote-at-commands-java-api/18601 "2017-08-01T14:09:47Z")

</div>

Hey there I hope I can find someone to help me fix and understand my problem. So I am using 2x Xbee S1, both connected to USB via gateway dongle. On one module I am using the java api and the other one is open via xctu …

---

## [Adding meta-oracle-java to core-image-base](https://forums.digi.com/t/adding-meta-oracle-java-to-core-image-base/18542)

<div class="topic-metadata">

**Author:** [@tnogueir](https://forums.digi.com/u/tnogueir)\
**Replies:** 1\
**Last updated:** [July 20, 2017, 11:43am UTC](https://forums.digi.com/t/adding-meta-oracle-java-to-core-image-base/18542 "2017-07-20T11:43:38Z")

</div>

Hi, I’m trying to add oracle-jse-jre to the core-image-base. I’ve cloned the meta-oracle-java layer and updated the local.conf and the bblayers.conf files as follows: local.conf IMAGE\_INSTALL\_append += " oracle-jse-jr…

---

## [Xbee unable to change IOMode of DIO3\_AD3 to ADC for remote analog](https://forums.digi.com/t/xbee-unable-to-change-iomode-of-dio3-ad3-to-adc-for-remote-analog/18377)

<div class="topic-metadata">

**Author:** [@rmus](https://forums.digi.com/u/rmus)\
**Replies:** 11\
**Last updated:** [June 20, 2017, 10:07am UTC](https://forums.digi.com/t/xbee-unable-to-change-iomode-of-dio3-ad3-to-adc-for-remote-analog/18377 "2017-06-20T10:07:25Z")

</div>

Hi guys, I am currently have 2 XBee-PRO 900HP modules with the Grove Development Boards. I’m using one as a base, connected via a USB cable to my laptop and one that is powered by batteries with a voltage stabilizer giv…

---

## [Androi java.lango.NoDefClassFoundErro.Exception](https://forums.digi.com/t/androi-java-lango-nodefclassfounderro-exception/17996)

<div class="topic-metadata">

**Author:** [@Molas89](https://forums.digi.com/u/Molas89)\
**Replies:** 1\
**Last updated:** [May 17, 2017, 8:20am UTC](https://forums.digi.com/t/androi-java-lango-nodefclassfounderro-exception/17996 "2017-05-17T08:20:07Z")

</div>

Hello! I have tried to use the daddon-digi\_sdk\_addon-digi-22 in the example of XBeeManagerSampleApplication But, I’m not be able to see the serial ports due to an java.lango.NoDefClassFoundErro.Exception is thrown when…

---

## [Unable to open xbeedevice using XBee java library](https://forums.digi.com/t/unable-to-open-xbeedevice-using-xbee-java-library/18357)

<div class="topic-metadata">

**Author:** [@swarna1310](https://forums.digi.com/u/swarna1310)\
**Replies:** 0\
**Last updated:** [May 15, 2017, 2:49pm UTC](https://forums.digi.com/t/unable-to-open-xbeedevice-using-xbee-java-library/18357 "2017-05-15T14:49:50Z")

</div>

I using XBee Pro SX rf module mounted on sx development board and using XBee java library to open the xbeedevice conenction and broadcast a message. Below is the code i am running in Eclipse- public class MainApp { /\*…

---

## [Codepage for XBee modules java library](https://forums.digi.com/t/codepage-for-xbee-modules-java-library/17679)

<div class="topic-metadata">

**Author:** [@rodrigorrm](https://forums.digi.com/u/rodrigorrm)\
**Replies:** 1\
**Last updated:** [April 11, 2017, 3:00pm UTC](https://forums.digi.com/t/codepage-for-xbee-modules-java-library/17679 "2017-04-11T15:00:57Z")

</div>

Hello there, I foresee the need for using non ASCII characters (i.e. Western languages accented characters) in fields like ID field and thus does XBee Java libraries work with the Java standard codepage: ISO-8859-1? Sh…

---

## [Xbee: How do I retrieve data from a listener?](https://forums.digi.com/t/xbee-how-do-i-retrieve-data-from-a-listener/18166)

<div class="topic-metadata">

**Author:** [@russellp](https://forums.digi.com/u/russellp)\
**Replies:** 0\
**Last updated:** [March 24, 2017, 11:37am UTC](https://forums.digi.com/t/xbee-how-do-i-retrieve-data-from-a-listener/18166 "2017-03-24T11:37:35Z")

</div>

In the xbee java api, all the examples that retrieve data from an Xbee device using a listener demonstrate how to get the data from the xbee message. But then they just print the data from within the listener. They don’t…

---

## [Timeout Exception when opening local device at java lib](https://forums.digi.com/t/timeout-exception-when-opening-local-device-at-java-lib/17927)

<div class="topic-metadata">

**Author:** [@azabel86](https://forums.digi.com/u/azabel86)\
**Replies:** 4\
**Last updated:** [January 30, 2017, 1:43pm UTC](https://forums.digi.com/t/timeout-exception-when-opening-local-device-at-java-lib/17927 "2017-01-30T13:43:38Z")

</div>

Hello im getting this exception when i try to launch my aplication on a remote rpi 2b. The xbee is an Xbee Pro S2c and is mounted in a usb explorer. WARNING: RXTX Version mismatch Jar version = RXTX-2.2pre1 native li…

---

## [Xbee Java library android support missing package](https://forums.digi.com/t/xbee-java-library-android-support-missing-package/17276)

<div class="topic-metadata">

**Author:** [@marlon1300](https://forums.digi.com/u/marlon1300)\
**Replies:** 0\
**Last updated:** [August 21, 2016, 1:02pm UTC](https://forums.digi.com/t/xbee-java-library-android-support-missing-package/17276 "2016-08-21T13:02:15Z")

</div>

Please see https://github.com/digidotcom/XBeeJavaLibrary/issues/59 Thanks! Marlon

[Next page](https://forums.digi.com/tag/java/190.md?match_all_tags=true&page=1&tags%5B%5D=java)
