---
title: "Discussion on \"Running Java GUI Applications on Wayland\" | Hashnode"
description: "Discussion on \"Running Java GUI Applications on Wayland\". The Issue\nWhen attempting to run Java GUI applications on Fedora Linux with Wayland, I encountered this error:\nException in thread \"main\" java.awt.HeadlessException: No X11 DISPLAY variable was set, or no headful library support was found, but this p..."
url: "https://hashnode.com/posts/running-java-gui-applications-on-wayland/6820b0ef61ca7d6138750847"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Running Java GUI Applications on Wayland](https://mobinshahidi.hashnode.dev/running-java-gui-applications-on-wayland?utm_source=hashnode&utm_medium=feed)

The Issue When attempting to run Java GUI applications on Fedora Linux with Wayland, I encountered this error: Exception in thread "main" java.awt.HeadlessException: No X11 DISPLAY variable was set, or no headful library support was found, but this p...

May 11, 2025 · 2 min read · mobinshahidi.hashnode.dev  
Read the article

## Written by

[Mobin Shahidi](https://hashnode.com/@mobinshahidi)

@mobinshahidi

  
[View profile](https://hashnode.com/@mobinshahidi)

front-end developer

I am Mobin, 19 years old self-taught front-end developer. Restrictions are not defined for me, for this reason, I use Linux to learn new things, I love learning new things, and I always learn new things every time. I shape my life with Tailwind, CSS..., and make rules with JavaScript and Java.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
