# Java 'NoClassDefFound' Error when retargetting on client running Raspberry Pi OS

**URL:** <https://forum.inductiveautomation.com/t/java-noclassdeffound-error-when-retargetting-on-client-running-raspberry-pi-os/48315>\
**Category:** Ignition\
**Created:** [June 29, 2021, 3:11pm UTC](https://forum.inductiveautomation.com/t/java-noclassdeffound-error-when-retargetting-on-client-running-raspberry-pi-os/48315 "2021-06-29T15:11:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bennuss11](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@bennuss11](https://forum.inductiveautomation.com/u/bennuss11)\
**Post date:** [June 29, 2021, 3:11pm UTC](https://forum.inductiveautomation.com/t/java-noclassdeffound-error-when-retargetting-on-client-running-raspberry-pi-os/48315/1 "2021-06-29T15:11:09Z")

</div>

For machine HMI applications, we currently use ‘system.util.retarget’ in a startup script to switch to a setup app the first time a new HMI started (or client machine is replaced). This works fine for our windows PCs, but I am testing out a Raspberry PI, and I am getting the following error as it launches the re-targeted application.

![Retarget error](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/2/82bd107d312760d64387f917956c48a5ec1a5953.jpeg)

Info:  
Gateway Version 7.9.14 (b2020042813)  
Client Raspberry Pi 4, model B. Error occurs with both Raspberry PI OS v5.1 and Ubuntu 21.04.

Has anyone else run into this same problem or have any suggestions on a fix?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 29, 2021, 3:17pm UTC](https://forum.inductiveautomation.com/t/java-noclassdeffound-error-when-retargetting-on-client-running-raspberry-pi-os/48315/2 "2021-06-29T15:17:44Z")

</div>

See this topic:

> [@Linux and Ignition 7.9.10](http://forum.inductiveautomation.com/t/linux-and-ignition-7-9-10/34447):
>
> Hello fellow Ignitioners, I turn to you with request related to running Ignition application on Linux. To describe my problem prescisely: I have no problem running Ignition applications on Linux when the application comes from server with Ignition 7.9.4. I have problem, on the very same Linux PC, running applications from Ignition 7.9.10. The Linux was RaspberryPI with IcedTea8 and openjdk-8. I got the following screen when trying to launch that application from 7.9.10 with error java.lang…

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 29, 2021, 3:24pm UTC](https://forum.inductiveautomation.com/t/java-noclassdeffound-error-when-retargetting-on-client-running-raspberry-pi-os/48315/3 "2021-06-29T15:24:47Z")

</div>

Phil is on the right track, though it looks like that should have been fixed in 7.9.11.

It’s definitely got something to do with the web browser module not working on RPi systems though.

I would try 7.9.17 or 7.9.18 when it’s released soon and if that doesn’t work call support so this can be tracked as a bug.

---

<div class="post-metadata">

**Author:** ![bennuss11](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@bennuss11](https://forum.inductiveautomation.com/u/bennuss11)\
**Post date:** [June 29, 2021, 8:22pm UTC](https://forum.inductiveautomation.com/t/java-noclassdeffound-error-when-retargetting-on-client-running-raspberry-pi-os/48315/4 "2021-06-29T20:22:06Z")

</div>

Thanks for the suggestions. I just tried with version 7.9.17, and it worked.

Also, for clarification for anyone else looking into this, the vision client would open fine, it was only while opening the new client with ‘system.util.retarget’ that this error occurred.
