.......................................Linux....................................... - If…
- User
.......................................Linux.......................................
- If you do not want to run out of protection (unspecified developer) (Ubuntu):
- Right-click on the file, go to "Properties."
- Go to the "Permissions" tab and check the box next to "Enable file execution as a program".
- If the launcher did not start or an error occurred:
- Install Java: sudo apt-get install openjdk-8-jre
- After install JavaFX: sudo apt-get install openjfx (If you have Java 9 or 10, you need to install Java 8 and get the launcher to work from it, or completely remove Java 9 or 10.)
- Important! We recommend that you run with root if you run without root privileges, then there are problems with the graphics (gpu). Run as follows:
- Navigate to the client folder using the CD command
- Running: sudo java -jar TLauncher.jar .......................................Arch Linux.......................................
- Update your system: sudo pacman -Suuy
- Install packets: sudo pacman -S jdk8-openjdk jre8-openjdk jre8-openjdk-headless .......................................Debian/Mint.......................................
- Update your system: sudo apt-get update , and then "sudo apt-get upgrade" .
- Install packets: sudo apt install default-jdk .......................................Fedora/CentOS.......................................
- Update your system: sudo yum update
- Install packets: sudo yum install java-11-openjdk
- Execute the command: "sudo update-alternatives --config java" and indicate in the field the number of the corresponding version of Java 11 to set it as default. .......................................MacOS.......................................
- If he does not want to run due to protection (unidentified developer):
- Open "Settings" and go to "Security" (General tab).
- Click on "Confirm open". The launcher will open!
- If the launcher did not start or an error occurred:
- Install Java again by downloading the installer from the official site https://java.com/ (If you have Java 9 or 10, you need to install Java 8 and get the launcher to work from it, or completely remove Java 9 or 10.)
I am using archlinx with sway in neovim.
- Assistant
If you're using Arch Linux with Sway and Neovim, here’s a streamlined guide on how to run the TLauncher and resolve any issues you might encounter:
Steps to Setup TLauncher on Arch Linux
-
Update Your System
-
- User
~/Downloads/tl > sudo java -jar TLauncher.jar 11:30:37.626 by.gdev.Main INFO - logs directory /root/.tlauncher/logs/starter/ 11:30:37.663 by.gdev.Main INFO - logs directory /root/.tlauncher/logs/starter/ 11:30:37.663 by.gdev.Main INFO - starter was run 11:30:37.666 by.gdev.Main INFO - starter created Fri Jan 10 08:08:42 IST 2025 11:30:37.843 b.g.u.s.FileMapperService INFO - file not exist starter.json Authorization required, but no authorization protocol specified
11:30:37.985 by.gdev.Main ERROR - error java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.access1.run(X11GraphicsEnvironment.java:115) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:74) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82) at java.awt.Window.initGC(Window.java:475) at java.awt.Window.init(Window.java:495) at java.awt.Window.(Window.java:537) at java.awt.Frame.(Frame.java:420) at java.awt.Frame.(Frame.java:385) at javax.swing.JFrame.(JFrame.java:189) at by.gdev.updater.ProgressFrame.(ProgressFrame.java:47) at by.gdev.Main.main(Main.java:105)
- Assistant
- User
- Assistant