# Error: The package “javax.xml.bind” does not exist. You might be missing a library

**URL:** <https://discourse.processing.org/t/error-the-package-javax-xml-bind-does-not-exist-you-might-be-missing-a-library/47360>\
**Category:** Libraries\
**Created:** [October 14, 2025, 1:30pm UTC](https://discourse.processing.org/t/error-the-package-javax-xml-bind-does-not-exist-you-might-be-missing-a-library/47360 "2025-10-14T13:30:50Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [October 14, 2025, 2:42pm UTC](https://discourse.processing.org/t/error-the-package-javax-xml-bind-does-not-exist-you-might-be-missing-a-library/47360/3 "2025-10-14T14:42:17Z")

</div>

Hello @Bua,

Welcome to forum!

The code should be separate from the discussion in the post so it is easy to read and a simple click of the mouse to copy the code.

It is also important to provide details:

- Operating system
- Processing version
- Any other important details to reproduce the error.

I quoted this from your post:

> Hi, this is an example to connect an Arduino-BLE33 Nano to _ **LINK REMOVED** _ and called TM\_Collector.  
> I want to transfer Image-data with the virtuell COM to the processing TM\_Connector application…  
> The library javax.xml.bind.DatatypeConverter of this application is imported in code but the Error says it does not exist…

_ **I removed the link because my browsers did not allow me to view it.** _  
There is a working link to a related GitHub topic in one of the references below.

Code provided:

```processing
import processing.serial.*;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import websockets.*;
import javax.xml.bind.DatatypeConverter;
import controlP5.*;
import java.util.*;

```

You did not provide enough code to reproduce the error.

I will be using Processing 4.4.7 and Windows 10 for this discussion.

Related discussions:

- [Error with importing javax.xml.bind.DatatypeConverter](https://discourse.processing.org/t/error-with-importing-javax-xml-bind-datatypeconverter/43019)  
This is an example of incorrect formatting. _ **I do not copy and correct these.** _  
The solution does correct one error in the topic.
- [https://stackoverflow.com/questions/77415485/processing-4-3-issue-the-package-javax-xml-bind-does-not-exist-you-might-b](https://stackoverflow.com/questions/77415485/processing-4-3-issue-the-package-javax-xml-bind-does-not-exist-you-might-b)  
This appears to be the code you are using and I will use this in this topic.  
Keep in mind that this is an old post (almost 2 years ago) and may be a solution for the version of Processing used at that time.

Using code from last reference above I get this:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/2/b/2bfa62dd1191bfed4e5384de48483103f0f2bb06.png)

Note:  
The error in _RED_ did NOT appear right away and I had to scroll down and select it for details.  
Under the error there is code that is commented that _ **MAY** _ be a correction based on the some of the references listed and testing.  
_I was only testing so you have to scrutinize this and correct as required._

The warning in _ **BLUE** _ is something new… the code still ran.  
Research suggests it a warning and not typically a critical issue.  
I can’t comment or explore this further at this time.

And the sketch launched:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/6/9/69c7e5a3f86f51df2ecc1de14ee486750def91fd.png)

The details are important.

Have fun!

`:)`

---

_[View the full topic](https://discourse.processing.org/t/error-the-package-javax-xml-bind-does-not-exist-you-might-be-missing-a-library/47360)._
