개인 자료란 (JE)

  서버 커뮤니티

Profile HAN1110 대표칭호 없음

HAN1110 9899e780ba984d89824a90ee8deb7cb2

Profile

커뮤니티 소통 개발하기 잡담

때가 되였..다?

2021.09.27 조회 수 399 추천 수 0

오늘 드디어 Export 하고 Alpha 버전 배포하려는데

Eclipse 를 여니까

7f1b64f336cd4e47a12412f00b0e3671.png

요건 머지

Out of memory!
Minecraft has run out of memory
This could be caused by a bug in the game or by the
Java Virtual Machine not being allocated enough
memory
To prevent level corruption, the current game has quit.
We\'ve tried to free up enough memory to let you go back to
the main menu and back to playing, but this may not have worked.
Please restart the game if you see this message again.

이거 매모리 부족할때 뜨는 메시지들인가

일단 첫화면은 이거로 넘기고

944d749cc40aff25e2daed3ad19c0a9e.png

근데 쓸때없이 커스텀 패키지를 Hack 으로 설정해놓음 ㅋㅋㅋ

그건 넘어가고

    public void onEvent(Event e) {
        System Console = System.out.println("해당 기능은 장식(?) 입니다");
        if (e instanceof EventUpdate) {
            
        }
    }

이거 안먹히더라구요.

그래서 빡쳐서

클래스 만들고... 또 할건 다했죠.

장식용 기능들 만들고

그리고 실행했는데

색이

java.awt.Color[r=255,g=255,b=0][MCMultiPlayer]java.awt.Color[r=255,g=255,b=255]해당 기능은 장식입니다
java.awt.Color[r=255,g=255,b=0][MCMultiPlayer]java.awt.Color[r=0,g=255,b=0]Type: Combat , Name : AntiBot

이렇게 나오더라고요 빡쳐서 색 없애고 그냥 갔죠

그리고 FastPlace 만들고..

근데... FastPlace 없이 FastPlace 가 작동하네

??

브리즐리 하면서 알음

애라이 모르겠다

이제 Export 해야지

Export 끝!

어라

에러 뭐지

20:46:20.633
launcher
main
Preparing to launch minecraft client for MCMultiPlayerClient
20:46:21.154
launcher
main
Couldn't fetch SHA1 checksum for http://s3.amazonaws.com/Minecraft.Download/indexes/1.8.json
20:46:21.155
launcher
main
Have local file C:\Users\Joon\AppData\Roaming\.minecraft\assets\indexes\1.8.json but don't know what size or hash it should be. Have to assume it's good.
20:46:21.155
launcher
main
Prepared asset index
20:46:21.404
launcher
main
Have 757 total files to check or download
20:46:21.405
launcher
main
Waiting for 757 futures
20:46:22.254
launcher
main
Couldn't fetch SHA1 checksum for https://s3.amazonaws.com/Minecraft.Download/versions/MCMultiPlayerClient/MCMultiPlayerClient.jar
20:46:22.254
launcher
main
Have local file C:\Users\Joon\AppData\Roaming\.minecraft\versions\MCMultiPlayerClient\MCMultiPlayerClient.jar but don't know what size or hash it should be. Have to assume it's good.
20:46:22.255
launcher
main
Checking installations.
20:46:22.255
launcher
main
Minecraft client MCMultiPlayerClient is ready to start.
20:46:22.255
launcher
main
Starting!
20:46:22.255
launcher
main
Nothing to download!
20:46:22.255
launcher
main
Downloading Java Runtime jre-legacy:8u51
20:46:22.344
launcher
main
Extracting 4 files!
20:46:23.092
launcher
main
Using default game log configuration client-1.7.xml (outputs XML)
20:46:23.092
launcher
main
Installing versions!
20:47:07.023
launcher
main
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/minecraft/client/main/Main has been compiled by a more recent version of the Java Runtime (class file version 56.0), this version of the Java Runtime only recognizes class file versions up to 52.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)

개발 접습니다.

해결 못하면요.

25개의 댓글

마커임
2021.09.27

이클립스의 저주를 받은겁니다. 인텔리제이를 쓰세요.

HAN1110
2021.09.28
@마커임

그래볼까요

허두
2021.09.27

그냥 자바 버전 다르다는 뜻 아니에영?

HAN1110
2021.09.28
@허두

근데 그렇다고 1.17.1 클라이언트를 만들순 없어요

HAN1110
2021.09.28
@허두

PVP 클도 만들거라서

허두
2021.09.28
@HAN1110

Exception in thread "main" java.lang.UnsupportedClassVersionError: net/minecraft/client/main/Main has been compiled by a more recent version of the Java Runtime (class file version 56.0), this version of the Java Runtime only recognizes class file versions up to 52.0

 

이클립스에서 jar로 추출하실 때 컴파일에 사용된 자바가 12, 마인크래프트 실행하실때 사용하신 자바가 8이네요.

컴파일 자바만 8로 바꿔주시면 문제 없을것 같은데용?

HAN1110
2021.09.28
@허두

옙????????

컴파일 자바 16인데요?????????

1.17 서버 실행하느라 JDK 16 깔아놔서 바꿀수 없어요!!!!!!

허두
2021.09.28
@HAN1110

넹 클래스 파일 버전이 56이니까 자바 12 맞아요!

HAN1110
2021.09.28
@허두

어라 또 에러가 뜨는데요

Preparing to launch minecraft client for MCMultiPlayerClientProffesional
18:19:44.654
launcher
main
Couldn't fetch SHA1 checksum for http://s3.amazonaws.com/Minecraft.Download/indexes/1.8.json
18:19:44.655
launcher
main
Have local file C:\Users\Joon\AppData\Roaming\.minecraft\assets\indexes\1.8.json but don't know what size or hash it should be. Have to assume it's good.
18:19:46.885
launcher
main
Couldn't fetch SHA1 checksum for https://s3.amazonaws.com/Minecraft.Download/versions/MCMultiPlayerClientProffesional/MCMultiPlayerClientProffesional.jar
18:19:46.886
launcher
main
Have local file C:\Users\Joon\AppData\Roaming\.minecraft\versions\MCMultiPlayerClientProffesional\MCMultiPlayerClientProffesional.jar but don't know what size or hash it should be. Have to assume it's good.
18:19:46.886
launcher
main
Checking installations.
18:19:46.887
launcher
main
Minecraft client MCMultiPlayerClientProffesional is ready to start.
18:19:46.887
launcher
main
Starting!
18:19:47.617
launcher
main
Using default game log configuration client-1.7.xml (outputs XML)
18:19:48.197
net.minecraft.client.Minecraft
Client thread
Setting user: HAN1110
18:19:48.201
net.minecraft.client.Minecraft
Client thread
(Session ID is token:#####################################################################################################################################################################################################################################################################################################################################################)
18:19:48.774
game


Exception in thread "Client thread" java.lang.ExceptionInInitializerError     at net.minecraft.util.StatCollector.<clinit>(StatCollector.java:5)     at net.minecraft.item.Item.getUnlocalizedNameInefficiently(Item.java:293)     at net.minecraft.item.Item.getItemStackDisplayName(Item.java:416)     at net.minecraft.item.ItemStack.getDisplayName(ItemStack.java:590)     at net.minecraft.item.ItemStack.getChatComponent(ItemStack.java:1031)     at net.minecraft.stats.StatList.func_151181_c(StatList.java:184)     at net.minecraft.stats.StatList.func_151178_a(StatList.java:112)     at net.minecraft.init.Bootstrap.register(Bootstrap.java:560)     at net.minecraft.client.Minecraft.<init>(Minecraft.java:383)     at net.minecraft.client.main.Main.main(Main.java:114) Caused by: java.lang.NullPointerException     at java.io.Reader.<init>(Reader.java:78)     at java.io.InputStreamReader.<init>(InputStreamReader.java:113)     at org.apache.commons.io.IOUtils.readLines(IOUtils.java:986)     at net.minecraft.util.StringTranslate.<init>(StringTranslate.java:42)     at net.minecraft.util.StringTranslate.<clinit>(StringTranslate.java:28)     ... 10 more  <log4j:Event logger="net.minecraft.server.MinecraftServer" timestamp="1632820788773" level="INFO" thread="Client Shutdown Thread">    <log4j:Message><![CDATA[Stopping server]]></log4j:Message>  </log4j:Event>
18:19:48.774
monitor
Process Monitor
XML_ERROR_PARSING
@HAN1110

에러가 나는 부분이 있긴 하다만

e780cefc8b410e608d01c6cb62603500.png

이 부분에서 에러가 나는데

3bacc10e61736264e16afab7c53468b9.png

Eclipse 에선 잘  실행이 되는데...

뭔 일이죠

허두
2021.09.28
@HAN1110

build path에 1.8.jar이 포함되어 있지 않은 듯 하네용

https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/modification-development/2413639-exception-in-thread-client-thread-java-lang

@허두

정말요?

44348118dfa3870e43f139b8c26d5736.png


허두
2021.09.28
@HAN1110

클라이언트에 기본 assets 폴더가 내장되어 있나요?

https://github.com/Hexeption/Youtube-Hacked-Client-1.8/issues/17

@허두

e37ae9aef6c03b889418f72ed7b69498.png

HAN1110
2021.09.28
@허두
19:25:12.422
launcher
main
Preparing to launch minecraft client for MCMultiPlayerClientProffesional
19:25:12.887
launcher
main
Couldn't fetch SHA1 checksum for http://s3.amazonaws.com/Minecraft.Download/indexes/1.8.json
19:25:12.888
launcher
main
Have local file C:\Users\Joon\AppData\Roaming\.minecraft\assets\indexes\1.8.json but don't know what size or hash it should be. Have to assume it's good.
19:25:13.996
launcher
main
Couldn't fetch SHA1 checksum for https://s3.amazonaws.com/Minecraft.Download/versions/MCMultiPlayerClientProffesional/MCMultiPlayerClientProffesional.jar
19:25:14.003
launcher
main
Have local file C:\Users\Joon\AppData\Roaming\.minecraft\versions\MCMultiPlayerClientProffesional\MCMultiPlayerClientProffesional.jar but don't know what size or hash it should be. Have to assume it's good.
19:25:14.003
launcher
main
Checking installations.
19:25:14.004
launcher
main
Minecraft client MCMultiPlayerClientProffesional is ready to start.
19:25:14.004
launcher
main
Starting!
19:25:14.599
launcher
main
Using default game log configuration client-1.7.xml (outputs XML)
19:25:15.433
net.minecraft.client.Minecraft
Client thread
Setting user: HAN1110
19:25:15.439
net.minecraft.client.Minecraft
Client thread
(Session ID is token:#####################################################################################################################################################################################################################################################################################################################################################)
19:25:16.083
game
Exception in thread "Client thread" java.lang.ExceptionInInitializerError
    at net.minecraft.util.StatCollector.<clinit>(StatCollector.java:5)
    at net.minecraft.item.Item.getUnlocalizedNameInefficiently(Item.java:293)
    at net.minecraft.item.Item.getItemStackDisplayName(Item.java:416)
    at net.minecraft.item.ItemStack.getDisplayName(ItemStack.java:590)
    at net.minecraft.item.ItemStack.getChatComponent(ItemStack.java:1031)
    at net.minecraft.stats.StatList.func_151181_c(StatList.java:184)
    at net.minecraft.stats.StatList.func_151178_a(StatList.java:112)
    at net.minecraft.init.Bootstrap.register(Bootstrap.java:560)
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:383)
    at net.minecraft.client.main.Main.main(Main.java:114)
Caused by: java.lang.NullPointerException
    at java.io.Reader.<init>(Reader.java:78)
    at java.io.InputStreamReader.<init>(InputStreamReader.java:113)
    at org.apache.commons.io.IOUtils.readLines(IOUtils.java:986)
    at net.minecraft.util.StringTranslate.<init>(StringTranslate.java:42)
    at net.minecraft.util.StringTranslate.<clinit>(StringTranslate.java:28)
    ... 10 more
  <log4j:Event logger="net.minecraft.server.MinecraftServer" timestamp="1632824716083" level="INFO" thread="Client Shutdown Thread">
    <log4j:Message><![CDATA[Stopping server]]></log4j:Message>
  </log4j:Event>
19:25:16.083
monitor
Process Monitor
XML_ERROR_PARSING

먼짓을 하든 이 XML 어쩌고 오류만 뜹니다

허두
2021.09.28
@HAN1110

XML은 중요하지 않습니다.

Exception in thread "Client thread" java.lang.ExceptionInInitializerError

at net.minecraft.util.StatCollector.(StatCollector.java:5)

at net.minecraft.item.Item.getUnlocalizedNameInefficiently(Item.java:293)

at net.minecraft.item.Item.getItemStackDisplayName(Item.java:416)

at net.minecraft.item.ItemStack.getDisplayName(ItemStack.java:590)

at net.minecraft.item.ItemStack.getChatComponent(ItemStack.java:1031)

at net.minecraft.stats.StatList.func_151181_c(StatList.java:184)

at net.minecraft.stats.StatList.func_151178_a(StatList.java:112)

at net.minecraft.init.Bootstrap.register(Bootstrap.java:560)

at net.minecraft.client.Minecraft.(Minecraft.java:383)

at net.minecraft.client.main.Main.main(Main.java:114)

Caused by: java.lang.NullPointerException

at java.io.Reader.(Reader.java:78)

at java.io.InputStreamReader.(InputStreamReader.java:113)

at org.apache.commons.io.IOUtils.readLines(IOUtils.java:986)

at net.minecraft.util.StringTranslate.(StringTranslate.java:42)

at net.minecraft.util.StringTranslate.(StringTranslate.java:28)

... 10 more

이 부분이 중요하죠.

 

ExceptionInitializerError 줄 앞에 minecraft를 붙여서 검색해보니 위에 알려드린 두 가지 검색 결과가 나와 알려드렸습니다.

직접 찾아보시는 것도 추천드려요!

HAN1110
2021.09.28
@허두

아 12 맞네요 ㅈㅅ

아스드프
2021.09.28

이해 실패

 

 

VSC를 씁시다!

명이
2021.09.30

~~이클립스 불편하네요~~

HAN1110
2021.09.30
@명이

ㅇㅈ

RANK0816
2021.10.07

패키지 이름 대문자 불편하네요

HAN1110
2021.10.07
@RANK0816

소문자로 바꿔버릴까요?

RANK0816
2021.10.09
@HAN1110

원래 패키지는 소문자로 하는게 국룰!

RANK0816
2021.10.09
@RANK0816

+ 도메인 안쓰시고 바로 하셨네...

HAN1110
2021.10.09
@RANK0816

뉴스 및 창작물
/files/thumbnails/477/930/003/262x150.crop.jpg?20241201030912

레드스톤

뉴진스 - Super Shy | 마크 노트블럭 커버

노트블럭전문가

2024-12-01

0

/files/thumbnails/483/916/003/262x150.crop.jpg?20241127115329

레드스톤

[노트블럭 커버] 뉴진스 - ETA 3

노트블럭전문가

2024-11-27

1

/files/thumbnails/150/925/003/262x150.crop.jpg?20241123005717

건축

응답하라 1988 ? 1

팀뉴일리시

2024-11-23

5

/files/thumbnails/761/908/003/262x150.crop.jpg?20241025153749

건축

서울 숭례문(崇禮門) 6

KHC

2024-10-25

2

/files/thumbnails/578/899/003/262x150.crop.jpg?20241010142350

건축

경주 월정교 1

KHC

2024-10-10

2