Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Minecraft Forge
  • Support & Bug Reports
  • Server booting problem
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
MrJoeyscaerce

Server booting problem

By MrJoeyscaerce, December 1, 2020 in Support & Bug Reports

  • Start new topic

Recommended Posts

MrJoeyscaerce    0

MrJoeyscaerce

MrJoeyscaerce    0

  • Tree Puncher
  • MrJoeyscaerce
  • Members
  • 0
  • 2 posts
Posted December 1, 2020

Hello I'm having a problem where an error pops up when trying to run a bat file for my Minecraft server.

 

A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
        at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
        ... 6 more
Press any key to continue . . .

 

here the bat

@echo off
C:\Program Files\Java\jdk1.8.0_251\bin\java.exe -Xmx8192M -Xms8192M -jar Server.jar nogui
PAUSE

 

I've also just found a post from 2018 on how to fix it but do not understand what I'm spouse to do and tried to mimic but failed.
here's the original post

Share this post


Link to post
Share on other sites

MrJoeyscaerce    0

MrJoeyscaerce

MrJoeyscaerce    0

  • Tree Puncher
  • MrJoeyscaerce
  • Members
  • 0
  • 2 posts
Posted December 1, 2020 (edited)

ps the server is forge 1.12.2

Edited December 1, 2020 by MrJoeyscaerce

Share this post


Link to post
Share on other sites

LexManos    1616

LexManos

LexManos    1616

  • Reality Controller
  • LexManos
  • Forge Code God
  • 1616
  • 8925 posts
Posted December 1, 2020

1.12 is no longer supported on this forum.

Please update to a modern version of Minecraft to receive support.


I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Patreon: http://www.patreon.com/lexmanos
Paypal: http://paypal.me/LexManos

BitCoin: 1Q8rWvUNMM2T1ZfDaFeeYQyVXtYoeT6tTn

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • DaemonUmbra
      1.16.4 (Heavily decent modded with around 150ish mods) Crash with exit code -1 most of the time and sometimes exit code 0.

      By DaemonUmbra · Posted just now

      Uploading to gist?
    • BobbyLikesCake
      1.16.4 (Heavily decent modded with around 150ish mods) Crash with exit code -1 most of the time and sometimes exit code 0.

      By BobbyLikesCake · Posted 1 minute ago

      How does one do this I tried to do this in the first place and it didnt let me
    • DaemonUmbra
      1.16.4 (Heavily decent modded with around 150ish mods) Crash with exit code -1 most of the time and sometimes exit code 0.

      By DaemonUmbra · Posted 3 minutes ago

      I would recommend directly uploading the file instead of copypasting
    • kiou.23
      1.16.4 (Heavily decent modded with around 150ish mods) Crash with exit code -1 most of the time and sometimes exit code 0.

      By kiou.23 · Posted 6 minutes ago

      use pastebin
    • BobbyLikesCake
      1.16.4 (Heavily decent modded with around 150ish mods) Crash with exit code -1 most of the time and sometimes exit code 0.

      By BobbyLikesCake · Posted 20 minutes ago

      I tried using the github one since the debug log is 40,000 KB but it said error and a unicorn appeared. Halp! 😧
  • Topics

    • BobbyLikesCake
      10
      1.16.4 (Heavily decent modded with around 150ish mods) Crash with exit code -1 most of the time and sometimes exit code 0.

      By BobbyLikesCake
      Started 3 hours ago

    • Klarks
      19
      [1.16.4] How i can open a container by clicking on my mob

      By Klarks
      Started Yesterday at 09:56 PM

    • Woodside
      6
      [1.15.2] Render as 2D icon in GUI, 3D model in hand

      By Woodside
      Started 2 hours ago

    • X4Ghost
      1
      Unable to install

      By X4Ghost
      Started 1 hour ago

    • clermont.holiday
      1
      1.16.3 forge crashing

      By clermont.holiday
      Started 4 hours ago

  • Who's Online (See full list)

    • salvestrom
    • BobbyLikesCake
    • Triforcehero923
    • Sleepwalkerx
    • Heinzchen
    • Danebi
    • DaemonUmbra
    • Woodside
    • kiou.23
    • Somonestolemyusername
    • The_Raven
  • All Activity
  • Home
  • Minecraft Forge
  • Support & Bug Reports
  • Server booting problem
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community