-
Создал сервер на версии 1.7.10, вроде все нормально работало. Как загрузил все моды, выдало ошибку java.lang.NoClassDefFoundError. Не знаю как исправить, помогите, пожалуйста. Вот сама ошибка:
—- Minecraft Crash Report —-
// My bad.Time: 16.07.19 9:29
Description: Exception in server tick loopcpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: Lnet/minecraft/client/Minecraft;
at cpw.mods.fml.common.LoadController.transition(LoadController.java:163)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:544)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:117)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
Caused by: java.lang.NoClassDefFoundError: Lnet/minecraft/client/Minecraft;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Unknown Source)
at java.lang.Class.getDeclaredField(Unknown Source)
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:43)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:512)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:513)
… 5 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
… 32 more
Caused by: java.lang.RuntimeException: Attempted to load class bao for invalid side SERVER
at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50)
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
… 34 moreA detailed walkthrough of the error, its code path and all known details is as follows:
—————————————————————————————— System Details —
Details:
Minecraft Version: 1.7.10
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_161, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 400877992 bytes (382 MB) / 584581120 bytes (557 MB) up to 3787980800 bytes (3612 MB)
JVM Flags: 0 total;
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 33 mods loaded, 33 mods active
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored
UC mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UC FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1614-1.7.10-universal.jar)
UC Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10-universal.jar)
UC CodeChickenCore{1.0.7.47} [CodeChicken Core] (minecraft.jar)
UC NotEnoughItems{1.0.5.120} [Not Enough Items] (notenoughitems-1.7.10-1.0.5.120-universal.jar)
UC ThaumicTinkerer-preloader{0.1} [Thaumic Tinkerer Core] (minecraft.jar)
UC DamageIndicatorsMod{3.2.0} [Damage Indicators] (1.7.10DamageIndicatorsMod-3.2.0.jar)
UC bspkrsCore{6.15} [bspkrsCore] ([1.7.10]bspkrsCore-universal-6.15.jar)
UC Treecapitator{1.7.10} [Treecapitator] (1.7.10Treecapitator-universal-2.0.4.jar)
UC animalbikes{1.7.10} [Animal Bikes] (Animal-Bikes-Mod-1.7.10.jar)
UC nevermine{Tslat-1.1.3} [Advent of Ascension] (AoA-Tslat-1.1.3.jar)
UC backpacks16840{3.5.5} [Backpacks!] (backpacks1.7.10-3.5.5.jar)
UC BiomesOPlenty{2.1.0} [Biomes O’ Plenty] (BiomesOPlenty-1.7.10-2.1.0.2308-universal.jar)
UC chocolateQuest{1.0} [Chocolate Quest] (chocolateQuest-1.7.10-1.0-2.jar)
UC creativecore{1.3.14} [CreativeCore] (creativecore-v1.3.24-mc1.7.10.jar)
UC DLDungeonsJBG{1.3.0} [Doomlike Dungeons] (DoomlikeDungeons-1.3.2-MC1.7.10.jar)
UE DynamicLights{1.3.9a} [Dynamic Lights] (dynamic-lights-1.3.9a-mc1.7.10.jar)
UC eplus{3.0.2-d} [Enchanting Plus] (enchanting-plus-mod-1.7.10.jar)
UC flansmod{4.10.0} [Flan’s Mod] (Flans-Mod-1.7.10.jar)
UC F2L{1.7.10b} [Flesh2Leather] (flesh2lether-1.7.10b.jar)
UC GrimoireOfGaia{1.0.0} [Grimoire of Gaia 3] (grimoireofgaia3-1.7.10-1.2.7.jar)
UC iChunUtil{4.2.3} [iChunUtil] (ichunutil-4.2.3.jar)
UC InfernalMobs{1.6.2} [Infernal Mobs] (InfernalMobs-1.7.10.jar)
UC Baubles{1.0.1.10} [Baubles] (Baubles-Mod-1.7.10.jar)
UC InventoryPets{1.5.2} [Inventory Pets] (inventorypets-1.7.10-1.5.2-universal.jar)
UC journeymap{5.1.4p2} [JourneyMap] (journeymap-1.7.10-5.1.4p2-unlimited.jar)
UC lotr{Update v34.3 for Minecraft 1.7.10} [The Lord of the Rings Mod] (LOTRMod-v34.3.jar)
UC Morph{0.9.3} [Morph] (morph-beta-0.9.3.jar)
UC notenoughcats{1.2.1} [Not Enough Cats] (notenoughcats-1.7.10-1.2.1.jar)
UC Thaumcraft{4.2.3.5} [Thaumcraft] (Thaumcraft1.7.10-4.2.3.5.jar)
UC Waila{1.5.10} [Waila] (Waila-1.5.10_1.7.10.jar)
UC ThaumicTinkerer{unspecified} [Thaumic Tinkerer] (ThaumicTinkerer-2.5-1.7.10-164.jar)
UC TwilightForest{2.3.7} [The Twilight Forest] (twilightforest-1.7.10-2.3.7.jar)
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to ‘fml,forge’
Type: Dedicated Server (map_server.txt) -
Code
Старожил
Пользователь- Баллы:
- 123
- Имя в Minecraft:
- _Gizmo
>Attempted to load class bao for invalid side SERVER
>UE DynamicLights{1.3.9a} [Dynamic Lights] (dynamic-lights-1.3.9a-mc1.7.10.jar)
>’E’ = Errored
https://www.curseforge.com/minecraft/mc-mods/dynamic-lights
>Note: DO NOT INSTALL THE COREMOD ON SERVERS! It will crash on load.
удоли -
Nikeron_
Активный участник
Пользователь- Баллы:
- 61
- Имя в Minecraft:
- iSySFoX
Проверяй моды в одиночке, прежде чем на сервер грузить
Dynamic Lights ошибку выдаёт, не сильно понимаю в ошибках консоли, скорее всего доп. мод требует. -
vall1612
Активный участник
Пользователь- Баллы:
- 61
- Имя в Minecraft:
- speedfayr
у меня подобное
— Minecraft Crash Report —-
// Oops.Time: 18.09.19 18:47
Description: Exception in server tick loopcpw.mods.fml.common.MissingModsException
at cpw.mods.fml.common.Loader.sortModList(Loader.java:244)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:472)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:319)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:170)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:620)
at java.lang.Thread.run(Unknown Source)A detailed walkthrough of the error, its code path and all known details is as follows:
—————————————————————————————— System Details —
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (x86) version 6.1
Java Version: 1.8.0_101, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 30323040 bytes (28 MB) / 129892352 bytes (123 MB) up to 259522560 bytes (247 MB)
JVM Flags: 1 total; -Xms128m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: ~~ERROR~~ NullPointerException: null
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to ‘cauldron,craftbukkit,mcpc,fml,forge’
Type: Dedicated Server (map_server.txt)
Поделиться этой страницей
Рекомендуемые сообщения
В теме 9 сообщений
-
- Поделиться
cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: codechicken/multipart/BlockMultipart
at cpw.mods.fml.common.LoadController.transition(LoadController.java:163)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:544)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)
at net.minecraft.client.main.Main.main(SourceFile:148)
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:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.NoClassDefFoundError: codechicken/multipart/BlockMultipart
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:440)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
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:497)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:513)
… 10 more
Caused by: java.lang.ClassNotFoundException: codechicken.multipart.BlockMultipart
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 34 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
… 36 morecrash-2021-12-31_16.15.15-client.txt
latest.txt
Ссылка на комментарий
Поделиться на другие сайты
-
- Поделиться
Ссылка на комментарий
Поделиться на другие сайты
- Автор
-
- Поделиться
Майн сам его установил в папку 1.7.10
Ссылка на комментарий
Поделиться на другие сайты
-
- Поделиться
5 минут назад, PabloEscobaro сказал:
Майн сам его установил в папку 1.7.10
![]()
а ты установил codechickenCore?
10 минут назад, PabloEscobaro сказал:
cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: codechicken/multipart/BlockMultipart
at cpw.mods.fml.common.LoadController.transition(LoadController.java:163)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:544)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)
at net.minecraft.client.main.Main.main(SourceFile:148)
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:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.NoClassDefFoundError: codechicken/multipart/BlockMultipart
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:440)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
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:497)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:513)
… 10 more
Caused by: java.lang.ClassNotFoundException: codechicken.multipart.BlockMultipart
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 34 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
… 36 morecrash-2021-12-31_16.15.15-client.txtlatest.txt 61 u043au0411 · 0 загрузок
UE Mekanism{9.1.1} пишет ошибка в моде
Ссылка на комментарий
Поделиться на другие сайты
- Автор
-
- Поделиться
Только что, OBSERVER сказал:
а ты установил codechickenCore?
да
Ссылка на комментарий
Поделиться на другие сайты
-
- Поделиться
Только что, PabloEscobaro сказал:
да
не может Failed to read jar file: ForgeMultipart-1.7.10-1.1.2.331-universal.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open
переустанови форж, чикен, и попробуй запустиь 1 раз без модов
Ссылка на комментарий
Поделиться на другие сайты
- Автор
-
- Поделиться
13 минут назад, OBSERVER сказал:
не может Failed to read jar file: ForgeMultipart-1.7.10-1.1.2.331-universal.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.openпереустанови форж, чикен, и попробуй запустиь 1 раз без модов
Всё так же
Ссылка на комментарий
Поделиться на другие сайты
- Автор
-
- Поделиться
Ок, оно починилось после переустановки мультипарта
Ссылка на комментарий
Поделиться на другие сайты
-
- Поделиться
3 часа назад, PabloEscobaro сказал:
Ок, оно починилось после переустановки мультипарта
Закрывай тему
Ссылка на комментарий
Поделиться на другие сайты
-
1 г
ZverTNT закрыл тема
Эта тема закрыта для публикации ответов.
-
#2
1. CodeStyle никому не нужен, ага
2. @SideOnly(Side.CLIENT) на класс/методы.
Всё это исходя из того, что пакет сделан правильно. Если же он сделан криво, то и его в пункты эти добавить.
-
#3
но в главном классе он инициализируется на стороне сервера
Буквально сам написал решение своей проблемы. У серверного ядра нет классов клиента, вот тебе и исключение, что класс не найден. GUI необходим только на клиенте. Нужно убрать объявление переменной с твоим гуи в главном классе и перейти на прокси и только уже в клиентском прокси делать регистрацию слушателей событий в твоём классе.
-
#4
Интересные решения: регистрировать обработчик GUI серверным ивентом…
-
#5
Да тупанул…. Просто с начало сервер ругался на этот класс, а я регистрировал его в клиенте, как только можно, совсем забыв про метод. Проста даже логично, что рисовать картинку будет клиент, если подумать. Ну и решением у некоторых стало регистрация через сервер, вот решил попробовать) Подумал, что может это из-за пакета, нужен сервер. А потом уже забыл про это…. Всем спасибо за решение проблемы)
The Java.lang.NoClassDefFoundError is an error that many Net/Minecraft/Client/Minecraft users run into, which can be quite frustrating. The good news is that there are some solutions that can help you get rid of this error message and continue using the game. Here are the steps for solving a Java.lang.NoClassDefFoundError for Net/Minecraft/Client/Minecraft:
Step 1: Understand the Error
Java.lang.NoClassDefFoundError happens when a class file has been included in the project, but the class files needed for that class are either missing or not defined. It can also happen when a class file appears in the class path but is missing from a specific file.
Step 2: Install the Correct Java Version
First, you must ensure that the Net/Minecraft/Client/Minecraft game is compatible with your current JVM (Java Virtual Machine). You can download the latest version of Java from Oracle’s website. Make sure you choose the right version for your operating system.
Step 3: Download the Right Launcher
Once you have downloaded the right version of Java, you must download the launcher for the Net/Minecraft/Client/Minecraft game. The launcher is available on the official website. Again, make sure the launcher you are downloading is compatible with your version of Java.
Step 4: Set the Environmental Variables
In the latest versions of Java, it is necessary to set environment variables in order to be able to run the game. You can find more information about the correct environment variables to set by checking the Minecraft Wiki.
Step 5: Re-Install the Game
If setting the environment variables does not work, you may need to reinstall the Net/Minecraft/Client/Minecraft game. Try to delete all the files related to the game and re-download the launcher.
FAQ
How do I check the version of Java I currently have installed?
You can check the version of Java you currently have installed by going to the “Control Panel” in your computer, then selecting the “Java” tab. The version of Java you currently have installed will appear in the window that appears.
Where can I download the right version of Java for my computer?
You can download the correct version of Java for your computer from Oracle’s website.
Is the Java.lang.NoClassDefFoundError always caused by a missing class file?
No, the Java.lang.NoClassDefFoundError can be caused by other issues, like a segmentation fault or a memory leak.
How can I set environment variables for a Net/Minecraft/Client/Minecraft game?
You can find information about the correct environment variables to set for a Net/Minecraft/Client/Minecraft game by checking the Minecraft Wiki.
What should I do if re-installing the game does not work?
If re-installing the game does not solve the Java.lang.NoClassDefFoundError, you should contact customer support and explain the issue. They should be able to provide additional help.
Java
-
Search
-
Search all Forums
-
Search this Forum
-
Search this Thread
-
-
Tools
-
Jump to Forum
-
-
#1
Apr 28, 2023
Holapa-
View User Profile
-
View Posts
-
Send Message
- Join Date:
4/29/2023
- Posts:
1
- Member Details
The game crashed whilst initializing game Error: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
—- Minecraft Crash Report ——— Minecraft Crash Report —-// Surprise! Haha. Well, this is awkward.
Time: 2023-04-28 22:47:44Description: Initializing game
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native at com.sun.jna.Structure.setAlignType(Structure.java:291) at com.sun.jna.Structure.<init>(Structure.java:208) at com.sun.jna.Structure.<init>(Structure.java:204) at com.sun.jna.Structure.<init>(Structure.java:191) at com.sun.jna.Structure.<init>(Structure.java:183) at com.sun.jna.platform.win32.Guid$GUID.<init>(Guid.java:126) at com.sun.jna.platform.win32.Guid$GUID.fromString(Guid.java:257) at com.sun.jna.platform.win32.Guid$GUID.<init>(Guid.java:150) at com.sun.jna.platform.win32.Guid$CLSID.<init>(Guid.java:460) at com.mojang.text2speech.NarratorWindows.<clinit>(NarratorWindows.java:16) at com.mojang.text2speech.Narrator.getNarrator(Narrator.java:42) at elz.<init>(SourceFile:17) at emh.<init>(SourceFile:647) at net.minecraft.client.main.Main.main(SourceFile:198)A detailed walkthrough of the error, its code path and all known details is as follows:—————————————————————————————
— Head —Thread: Render threadStacktrace: at com.sun.jna.Structure.setAlignType(Structure.java:291) at com.sun.jna.Structure.<init>(Structure.java:208) at com.sun.jna.Structure.<init>(Structure.java:204) at com.sun.jna.Structure.<init>(Structure.java:191) at com.sun.jna.Structure.<init>(Structure.java:183) at com.sun.jna.platform.win32.Guid$GUID.<init>(Guid.java:126) at com.sun.jna.platform.win32.Guid$GUID.fromString(Guid.java:257) at com.sun.jna.platform.win32.Guid$GUID.<init>(Guid.java:150) at com.sun.jna.platform.win32.Guid$CLSID.<init>(Guid.java:460) at com.mojang.text2speech.NarratorWindows.<clinit>(NarratorWindows.java:16) at com.mojang.text2speech.Narrator.getNarrator(Narrator.java:42) at elz.<init>(SourceFile:17) at emh.<init>(SourceFile:647)
— Initialization —Details: Modules: ~~ERROR~~ NoClassDefFoundError: Could not initialize class com.sun.jna.NativeStacktrace: at net.minecraft.client.main.Main.main(SourceFile:198)
— System Details —Details: Minecraft Version: 1.19.4 Minecraft Version ID: 1.19.4 Operating System: Windows 10 (amd64) version 10.0 Java Version: 17.0.3, Microsoft Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft Memory: 283192712 bytes (270 MiB) / 469762048 bytes (448 MiB) up to 2147483648 bytes (2048 MiB) CPUs: 8 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Launched Version: 1.19.4 Backend library: LWJGL version 3.3.1 build 7 Backend API: AMD Radeon(TM) RX Vega 11 Graphics GL version 3.2.0 Core Profile Context 23.2.2.230217, ATI Technologies Inc. Window size: <not initialized> GL Caps: Using framebuffer using OpenGL 3.2 GL debug messages: Using VBOs: Yes Is Modded: Probably not. Client jar signature and brand is untouched Type: Client (map_client.txt) CPU: <unknown>Last edited by Holapa: Apr 28, 2023
-
-
#3
Apr 29, 2023
cant find it
and this
ATTACHMENTS
-
Screenshot 2023-04-29 212338
-
Screenshot 2023-04-29 212640
-
Screenshot 2023-04-29 212811
-
Screenshot 2023-04-29 212755
-
-
#4
Apr 29, 2023
TileEntity-
View User Profile
-
View Posts
-
Send Message
- Farlander
- Join Date:
9/20/2016
- Posts:
17,624
- Location:
Germany
- Member Details
From the first screenshot, select the javaw file — the file with the red dot image (there are two of them) — select the second one
space
-
-
#5
Apr 29, 2023
this? and im ckicking on javaw and nothing happens (i can’t write English very well)
ATTACHMENTS
-
Screenshot 2023-04-29 212640
-
-
#7
Apr 29, 2023
ATTACHMENTS
-
Screenshot 2023-04-30 000246
-
Screenshot 2023-04-30 000354
-
-
#8
Apr 29, 2023
TileEntity-
View User Profile
-
View Posts
-
Send Message
- Farlander
- Join Date:
9/20/2016
- Posts:
17,624
- Location:
Germany
- Member Details
Go to the .minecraft folder — there you will find the launcher_log.txt — add it here
In your .minecraft folder you will find a logs-folder — add it here, too
You can use sites like https://paste.ee/ to add the content of these files — just add the given links to it here
space
-
-
#9
Apr 29, 2023
emmm imnot shure if this is right
and i only found launcher_cef_log
im going to bed now
ATTACHMENTS
-
Screenshot 2023-04-30 001444
-
Screenshot 2023-04-30 001532
-
Screenshot 2023-04-30 001617
-
Screenshot 2023-04-30 001747
-
Screenshot 2023-04-30 001139
-
-
#11
Apr 29, 2023
i think i know what the problem is i installed mc with minecraftinstaller.exe and i think this is the problem…
im going to reinstall Minecraft later im going to bed se u later
and thanks for helping me
se u later
-
#12
Apr 30, 2023
i cant launch AT launcher and i reinstalled minecraft 5 times and still not working
-
#14
Apr 30, 2023
welll there is only a file in multimc and i dont know how to start multiMC
here
ATTACHMENTS
-
Screenshot 2023-04-30 125158
-
-
#16
Apr 30, 2023
emmm ich weiß nicht was da steht ._.
der pc gehört nicht mir
schsoo das heißt das es den code nicht finden oder ausführen kann
ATTACHMENTS
-
Screenshot 2023-04-30 134824
-
-
#18
Apr 30, 2023
jaa… trotzdem danke das du mir versucht hast zu helfen bye
schönen tag noch
- To post a comment, please login.
Posts Quoted:
Reply
Clear All Quotes