개인 자료란 (JE)

  서버 커뮤니티

Profile joohyun777 대표칭호 없음
Profile

질문하기 멀티플레이

1.15.2 크래프트 투 엑자일 서버가 갑자기 안열려요

2023.10.22 조회 수 463 추천 수 0
이해도 입문자 
게임버전 (JE) 1.15.2 
게임버전 (BE) 관련없음 

친구들이랑 할려고 1.15.2 크래프트 투 엑자일을 커스포지에서 서버버킷을 다운받아 실행시키려는데 

pause가 뜨면서 계속 실행이 안되요 그렇다고 자바 버전을 여러가지 다해봤는데도 안되고요..

전체적으로는 이렇게 떠요 


C:\Users\chJOO\OneDrive\Desktop\Craft+to+Exile+[Dissonance]-3.1.9+SERVER-fixed>java -XX:+UseG1GC -Xmx4096m -Xms256m -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -jar forge-1.15.2-31.2.57.jar nogui

2023-10-20 21:21:13,138 main WARN Advanced terminal features are not available in this environment

[21:21:13] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 31.2.57, --fml.mcpVersion, 20200515.085601, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, nogui]

[21:21:13] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 5.1.2+70+master.2845bb9 starting: java version 20.0.2 by Oracle Corporation

[21:21:13] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust

[21:21:13] [main/INFO] [MixinBootstrap Launch/]: MixinBootstrap v1.1.0

[21:21:13] [main/INFO] [MixinBootstrap Launch/]: Mixin v0.8.4

[21:21:13] [main/INFO] [MixinBootstrap Launch/]: ModLauncher v5.1.2+70+master.2845bb9 (4.0)

[21:21:13] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/C:/Users/chJOO/OneDrive/Desktop/Craft+to+Exile+%5bDissonance%5d-3.1.9+SERVER-fixed/libraries/org/spongepowered/mixin/0.8.2/mixin-0.8.2.jar Service=ModLauncher Env=SERVER

Exception in thread "main" [21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]: java.lang.NoClassDefFoundError: jdk/nashorn/api/scripting/NashornScriptEngineFactory

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at net.minecraftforge.coremod.CoreModEngine.loadCoreMod(CoreModEngine.java:48)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at net.minecraftforge.coremod.CoreModProvider.addCoreMod(CoreModProvider.java:12)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at net.minecraftforge.fml.loading.LoadingModList.addCoreMods(LoadingModList.java:88)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:125)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:213)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at net.minecraftforge.fml.loading.FMLServiceProvider.runScan(FMLServiceProvider.java:107)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:111)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:115)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1787)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:116)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:63)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at cpw.mods.modlauncher.Launcher.run(Launcher.java:75)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:698]:        at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:660]: Caused by: java.lang.ClassNotFoundException: jdk.nashorn.api.scripting.NashornScriptEngineFactory

[21:21:14] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:660]:    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:660]:    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:660]:    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)

[21:21:14] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:660]:    ... 35 more


C:\Users\chJOO\OneDrive\Desktop\Craft+to+Exile+[Dissonance]-3.1.9+SERVER-fixed>PAUSE



제발 도와주세요 ㅠㅠ 



설치가 꼬인 경우, 수동으로 경로를 설정해야합니다. 서버 실행 파일에서 java 부분을 설치된 자바의 java.exe파일 경로로 바꿔주세요. 

라고 누가 알려주셧는데 이부분에서 java부분을 설치된 자바의 java.exe 파일 경로로 어떻해 교환하는지를 모르겠어요 

경로 교체할려면 그 잘못된 경로의 위치를 알아야하는데 전 그 위치를 못찾고있어요.... '서버 실행 파일에서 java 부분을 설치된 자바의 java.exe파일 경로'이부분에 대해 아시는분 좀 알려주세요..

3개의 댓글

NoEul
2023.10.22

ex) java -Xmx1024M -Xms256M -jar SomeJar.jar
-> "C:\Program Files\Java\jdk-17.0.8\bin\java.exe" -Xmx1024M -Xms256M -jar SomeJar.jar

joohyun777
2023.10.22
@NoEul

그니깐 서바 키는 .bat 파일을 저걸로 바꾸라는거죠? 안에 내용을?

joohyun777
2023.10.23
@joohyun777

openjdk version "21" 2023-09-19 LTS

 

 

OpenJDK Runtime Environment Temurin-21+35 (build 21+35-LTS)

 

 

OpenJDK 64-Bit Server VM Temurin-21+35 (build 21+35-LTS, mixed mode, sharing)

 

 

이와같이 cmd 에다가 java -version이라고 치면 나오는 건데 아무리 찾아봐도 자바가 존재하지가 않는데 어떻해 존재한다는건지 모르겠어요

 

저번에 실수로 cmd로 자바를 깐적이있는데 그문제인것 같아서 찾아보니깐

 

 

Set-ExecutionPolicy RemoteSigned -Force -scope CurrentUser

 

iwr -useb get.scoop.sh | iex

 

scoop bucket add palindrom615 https://github.com/palindrom615/scoop-bucket

 

scoop update

 

scoop install sdkman

 

sdk install java

 

Invoke-Expression (sdk export windows)

 

Write-Output "Done!"

 

이런걸 제가 cmd에다가 친적이있어요

 

그래서 스쿱에 들어갔는데 스쿱에서 이걸 어떻해 삭제하는지를 모르겠어요