You need to specify the -Djava.awt.headless=true
parameter at startup time.
More Related Contents:
- “No X11 DISPLAY variable” – what does it mean?
- Virtual Memory Usage from Java under Linux, too much memory used
- Running jmap getting Unable to open socket file
- Error: Could not find or load main class [duplicate]
- How to stop java process gracefully?
- How to execute bash command with sudo privileges in Java?
- Downloading Java JDK on Linux via wget is shown license page instead
- React on global hotkey in a Java program on Windows/Linux/Mac?
- Java ProcessBuilder: Resultant Process Hangs
- SQL Server JDBC Error on Java 8: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption
- Will System.currentTimeMillis always return a value >= previous calls?
- JavaFX on Linux is showing a “Graphics Device initialization failed for : es2, sw”
- How to stop repeated keyPressed() / keyReleased() events in Swing
- Relation between memory host and memory arguments xms and xmx from Java
- Java Linux Terminal in JPanel
- Distinguishing between Java threads and OS threads?
- Java Time Zone is messed up
- Running a JAR file without directly calling `java`
- how to run a command at terminal from java program?
- Java Refuses to Start – Could not reserve enough space for object heap
- Java command not found on Linux
- Limit jvm process memory on ubuntu
- JAVA_HOME and PATH are set but java -version still shows the old one
- How to execute Python script from Java (via command line)?
- Where to store application data (non-user specific) on Linux
- Is there a quick way to delete a file from a Jar / war without having to extract the jar and recreate it?
- Understanding metaspace line in JVM heap printout
- Getting unwanted characters when reading command output from SSH server using JSch
- How to know whether enough memory is free to deploy a new application on a Linux machine?
- Java exec() does not return expected result of pipes’ connected commands