betacraftuk / betacraft-launcher

A launcher for Minecraft focused on legacy versions of the game
https://betacraft.uk
GNU General Public License v3.0
336 stars 40 forks source link

[BUG] Versions crash on launch on Linux using Betacraft v2 #294

Open nanopone opened 1 year ago

nanopone commented 1 year ago

Describe the bug 1.7.3 beta crashes on launch with Error: Could not find or load main class uk.betacraft.mcwrapper.BCWrapper

Screenshots image

Desktop (please complete the following information):

Hanuko33 commented 9 months ago

same here

Moresteck commented 9 months ago

I'll ping you when we have a test build ready for this

Nulla-cell commented 6 months ago

I've just been using 2.0.0-alpha.20230520. It's not the most recent launcher version but you get a good amount of v2 features until its fixed :)

linguini5346 commented 6 months ago

same issue i am using LMDE6 Cinnamon

patchmacmouse - false fix15a - false deAWT - false java.lang.NoClassDefFoundError: com/google/gson/GsonBuilder at legacyfix.util.AssetIndexUtils.<clinit>(AssetIndexUtils.java:23) at legacyfix.agent.LegacyFixAgent.premain(LegacyFixAgent.java:242) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) Caused by: java.lang.ClassNotFoundException: com.google.gson.GsonBuilder at java.net.URLClassLoader.findClass(URLClassLoader.java:387) at java.lang.ClassLoader.loadClass(ClassLoader.java:419) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:352) ... 8 more Error: Could not find or load main class uk.betacraft.mcwrapper.BCWrapper

Nulla-cell commented 6 months ago

after doing some experiments I noticed for some reason the .deb file works but the tarball doesn't, at least for me. I run a debian based distro so it works for me.

Disaster2life commented 5 months ago

This still seems to persist, running Debian unstable "sid" on 2.0.0-alpha.20230623