Posted December 31, 20222 yr From file .log: JVM info: Private Build - 19.0.1 - 19.0.1+10-Ubuntu-1ubuntu122.04 java.net.preferIPv4Stack=true Found java version 19.0.1 Exception in thread "main" 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.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166) at java.desktop/java.awt.Window.<init>(Window.java:553) at java.desktop/java.awt.Frame.<init>(Frame.java:428) at java.desktop/java.awt.Frame.<init>(Frame.java:393) at java.desktop/javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1919) at java.desktop/javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1995) at java.desktop/javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1696) at java.desktop/javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:875) at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:677) at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:648) at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:177) at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:147)
December 31, 20222 yr Quote Exception in thread "main" 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.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166) You are trying to use the server gui in an environment that has no graphical device. See run.sh for the comment about the nogui parameter. Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
December 31, 20222 yr 9 minutes ago, warjort said: You are trying to use the server gui in an environment that has no graphical device. See run.sh for the comment about the nogui parameter. Sorry this is the installer not the actual server. You need to pass the parameters on the command line if you can't start the gui. e.g. java -jar forge-xxx-installer.jar --installServer /folder/where/you/want/the/server Edited December 31, 20222 yr by warjort Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
December 31, 20222 yr Quote JVM info: Private Build - 19.0.1 - 19.0.1+10-Ubuntu-1ubuntu122.04 A lot of mods use mixin which doesn't support java 19. You need to install and use java 17 if you have any of those. Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
December 31, 20222 yr Author 11 minutes ago, warjort said: A lot of mods use mixin which doesn't support java 19. You need to install and use java 17 if you have any of those. ok, thanks, this solved the problem
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.