# Uses XBEE PRO PROGRAMABLE w/ Java

**URL:** <https://forums.digi.com/t/uses-xbee-pro-programable-w-java/18437>\
**Category:** Edgeport\
**Tags:** xbee-pro-s2c, xbee-java-library, programable, xbee-pro\
**Created:** [June 12, 2017, 10:02am UTC](https://forums.digi.com/t/uses-xbee-pro-programable-w-java/18437 "2017-06-12T10:02:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Molas89](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@Molas89](https://forums.digi.com/u/Molas89)\
**Post date:** [June 12, 2017, 10:02am UTC](https://forums.digi.com/t/uses-xbee-pro-programable-w-java/18437/1 "2017-06-12T10:02:15Z")

</div>

Hello!

I have bought a XBEE Pro S2C Programable, I can connect XCTU to it, (indicating that it is a programable device).

But, when I’m using java library, I get the next exception:  
“InvalidOperatingModeException”.

The same code I use for S2B (No programable) and it works fine. I have looked through the documentation and it seems it doesn’t have the booleader active. I have followed the tutorials but I couldn’t get it.  
There is way to get a XBEE Programable devices with java?

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [June 12, 2017, 1:48pm UTC](https://forums.digi.com/t/uses-xbee-pro-programable-w-java/18437/2 "2017-06-12T13:48:51Z")

</div>

You need to load an application on the Freescale processor first. Otherwise the Java app can’t talk to the RF processor.

---

<div class="post-metadata">

**Author:** ![Molas89](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@Molas89](https://forums.digi.com/u/Molas89)\
**Post date:** [June 13, 2017, 11:00am UTC](https://forums.digi.com/t/uses-xbee-pro-programable-w-java/18437/3 "2017-06-13T11:00:42Z")

</div>

Do I need the complete kit for program the radio?  
I mean, something like one of these:  
XKA2C-Z7T-U  
XKB2-Z7T-WZM  
XKB2-Z7T-WTZM

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [June 13, 2017, 11:11am UTC](https://forums.digi.com/t/uses-xbee-pro-programable-w-java/18437/4 "2017-06-13T11:11:11Z")

</div>

No, none of them would do what you need. You need a development board such as the XBIB-U-DEV along with a BDM programmer and the FreeScale SDK software in which to write and port over an application. That application would need to be written to understand what it is you are asking the Freescale processor to do.

---

<div class="post-metadata">

**Author:** ![Molas89](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@Molas89](https://forums.digi.com/u/Molas89)\
**Post date:** [June 14, 2017, 9:20am UTC](https://forums.digi.com/t/uses-xbee-pro-programable-w-java/18437/5 "2017-06-14T09:20:06Z")

</div>

Ok!  
Thank you
