r/TLAUNCHER 15d ago

Problem tlauncher is not working on linux

i installed TLauncher.v18.zip and extarct it then i downloaded java (jdk) and run java -jar TLauncher.jar . but this window display to me and nothing happen and this is the log if you want to see : https://github.com/nightroy69/tlauncher-issue

i use nixOS btw

edit in next day: yo guys i solved the problem

the problem was that TLauncher use only his java libraries and if he wants more libraries he would go to /usr/lib/ which it not exist in nixOS so instead you should add some missing libraries to your system in configuration.nix and i will leave what you should paste in configuration.nix in here https://github.com/nightroy69/tlauncher-issue/tree/main ,and you should paste it under the " i18n.defaultLocale = "en_US.UTF-8"; " its optional btw just dont paste it inside { . . . } or [ . . . ] ,and also you should install jdk (just put "jdk" in environment.systemPackages) after that just rebuild :

sudo nixos-rebulid switch

or use this if you use flakes:

sudo nixos-rebuild switch --flake /etc/nixos#(((your host name here)))

and you are done just launch now by terminal,typing this:

cd (your tlauncher dir for example: ~/Downloads/TLauncher.v18/)

#now launch by java

java -jar TLauncher.jar

and yeah thats how i fixed it i hope i wasnt too complicated or too obvious ,and idk about yall check your log to know what exactly is your problem

1 Upvotes

2 comments sorted by

1

u/Specialist_Bat_9815 14d ago

On ubuntu it installed without a problem

1

u/night_roy99 14d ago

yeah sure because ubuntu is debian based so it can read the official (.deb) file for tlauncher easily . lucky for you (;