# OpenBCI GUI works in 3.3.7 but doesn't work in 4

**URL:** <https://discourse.processing.org/t/openbci-gui-works-in-3-3-7-but-doesnt-work-in-4/41146>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [March 5, 2023, 6:14am UTC](https://discourse.processing.org/t/openbci-gui-works-in-3-3-7-but-doesnt-work-in-4/41146 "2023-03-05T06:14:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [March 5, 2023, 2:31pm UTC](https://discourse.processing.org/t/openbci-gui-works-in-3-3-7-but-doesnt-work-in-4/41146/4 "2023-03-05T14:31:56Z")

</div>

> [@hcdebey](#):
>
> I have an application that works in Processing 3.3.7 but not in 4. This line gets an error.
> 
> Serial port;  
> The error message is: “The type Serial is ambiguous”

Hello @hcdebey,

A little more information helps us to solve problems.

> [@Guidelines—Asking Questions](https://discourse.processing.org/t/guidelines-asking-questions/2147):
>
> Summary (TL;DR) Ask complete questions to get better answers! Be specific. For example: I want to load an image. I tried using createImg() , and I expected the image to be on canvas, but what happened instead was the image showing up below the canvas. Isolate your problem and work in small steps. Share only the code directly related to your problem if it is part of a bigger project, and if something isn’t working, try the smallest code that could do the thing you want. Can we run your code to …

If you are using OpenBCI\_GUI the github repository is here:

> **[OpenBCI](https://github.com/OpenBCI)**
>
> Open Source Brain-Computer Interfacing. OpenBCI has 16 repositories available. Follow their code on GitHub.

Read through this for recommendations on installing:

> **[GitHub - OpenBCI/OpenBCI\_GUI: A cross platform application for the OpenBCI Cyton...](https://github.com/OpenBCI/OpenBCI_GUI)**
>
> A cross platform application for the OpenBCI Cyton and Ganglion. Tested on Mac, Windows and Ubuntu/Mint Linux.

You can also search through the issues for any reported problems including the one you stated.

Issues on GitHub searching for _“serial”_ (a broader search):

- [The type Serial is ambiguous #1025](https://github.com/OpenBCI/OpenBCI_GUI/issues/1025)

- [Update to Processing 4 beta 3 CI pipeline #1019](https://github.com/OpenBCI/OpenBCI_GUI/pull/1019)

- There may be others that are related to your issue.

From what I gleaned perusing the GitHub page and issues:

- Use Processing 3.5.4

If you want to use Processing 4:

- Use the latest version v5.1.0
- Try it with Processing 4.0b2 and then Processing 4.0b3
- Also try Processing 4.2
- The [issue](https://github.com/OpenBCI/OpenBCI_GUI/pull/1019) states that:

> Processing 4 beta 3 uses Java 17 and JavaFX 17, whereas this PR began with Processing 4 beta 2 which uses Java 11. I hope this should be ok with forward compatibility.

What hardware are you using?

Let us know if you had success with Processing 4 and details about versions of Processing and OpenBCI\_GUI.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/openbci-gui-works-in-3-3-7-but-doesnt-work-in-4/41146)._
