when attempting to launch arduino without any options, im getting this error:
Picked up JAVA_TOOL_OPTIONS:
java.awt.HeadlessException:
No X11 DISPLAY variable was set,
or no headful library support was found,
but this program performed an operation which requires it,
at java.desktop/java.awt.SplashScreen.getSplashScreen(Unknown Source)
at processing.app.Base.<init>(Base.java:240)
at processing.app.Base.main(Base.java:150)
I have tried searching for the issue but it seems like no one encountered this on manjaro yet.
I am on newest versions on everything.
Please help me fix this issue
I think you need to do X forwarding over SSH if that’s what you’re trying to achieve? But I’m not sure what you’re trying to accomplish, and neither have I any experience with X11 forwarding if it is indeed it…
When you invoke a terminal inside a DE, every java-program launched from the terminal can work inside the terminal.
If the DISPLAY variable is set, the java-program is able to connect to your desktop, and can launch a GUI and interact with it. (Like writing into and reading clipboard, and doing D&D)
echo $DISPLAY
:1.0
arduino
Picked up JAVA_TOOL_OPTIONS:
java.awt.HeadlessException:
No X11 DISPLAY variable was set,
or no headful library support was found,
but this program performed an operation which requires it,
at java.desktop/java.awt.SplashScreen.getSplashScreen(Unknown Source)
at processing.app.Base.<init>(Base.java:240)
at processing.app.Base.main(Base.java:150)
DISPLAY=:1.0
openjdk version "21" 2023-09-19
OpenJDK Runtime Environment (build 21+35)
OpenJDK 64-Bit Server VM (build 21+35, mixed mode, sharing)
Picked up JAVA_TOOL_OPTIONS:
java.awt.HeadlessException:
No X11 DISPLAY variable was set,
or no headful library support was found,
but this program performed an operation which requires it,
at java.desktop/java.awt.SplashScreen.getSplashScreen(Unknown Source)
at processing.app.Base.<init>(Base.java:240)
at processing.app.Base.main(Base.java:150)