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 Problems on Mac
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
KekePlip

Server Problems on Mac

By KekePlip, May 23, 2020 in Support & Bug Reports

  • Start new topic

Recommended Posts

KekePlip    0

KekePlip

KekePlip    0

  • Tree Puncher
  • KekePlip
  • Members
  • 0
  • 1 post
Posted May 23, 2020

So I've been trying to allocate more RAM to my modded Minecraft server on mac (and I know that I have enough RAM for it) but to do that I have to make a start.command file and yada yada and I've been running into problems when running the document, here's the error message that shows up in Terminal:

 

Quote

 

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(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

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: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')

at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

... 6 more

 

[Process completed]

 

Version is 1.12.2
I was just wondering what I should do to fix it...
(If you need any more information feel free to ask)

Share this post


Link to post
Share on other sites

diesieben07    7597

diesieben07

diesieben07    7597

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7597
  • 55122 posts
Posted May 23, 2020

1.12 is no longer supported on this forum.

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

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

    • Klarks
      [1.16.4] what difference between custom slots and EquipmentSlotType

      By Klarks · Posted 4 minutes ago

      Its kinda working now but how can i choose which of a default one slots i want to use. For example i dont need mainhand and offhand slots or i just shouldn't use it as an index in my container?
    • Klarks
      [1.16.4] what difference between custom slots and EquipmentSlotType

      By Klarks · Posted 38 minutes ago

      My constructor looks like this now. public ItemStackHandler handlerCustom; public IItemHandler handlerDefault; public IItemHandler both; LazyOptional<IItemHandler> optional; public WhoreEntity(EntityType<? extends WhoreEntity> type, World worldIn) { super(type, worldIn); handlerCustom = new ItemStackHandler(1); //1 handlerDefault = super.getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY,Direction.EAST).orElseThrow(null); both = new CombinedInvWrapper(handlerCustom, ((IItemHandlerModifiable) handlerDefault)); optional = LazyOptional.of(() -> both); }   And my Override getCapability. I dont sure what is facing means @Nonnull @Override public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable Direction side) { if(cap == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY && side != null) { return (LazyOptional<T>)optional; } return super.getCapability(cap, side); }   Did i do that all right?
    • poopoodice
      [1.15.2]ServerWorld.spawnParticle excluding specific player

      By poopoodice · Posted 47 minutes ago

      It sends a packet to all/tracking clients, you should be able to do the same thing but without sending to the specific player.
    • Woodside
      [1.15.2]ServerWorld.spawnParticle excluding specific player

      By Woodside · Posted 2 hours ago

      I have an item which I want to spawn a specific particle for the user, and then a separate particle for other players. Spawning one exclusively for the player using is easy enough, but spawning a particle server side has no way to exclude a specific player. Is there a way to do this without reflection?
    • DaemonUmbra
      I just started modding minecraft and I thought i had finished modding it but Titanium mod isn't loading properly. Can someone help me fix this?

      By DaemonUmbra · Posted 2 hours ago

      Please read the error...
  • Topics

    • Klarks
      32
      [1.16.4] what difference between custom slots and EquipmentSlotType

      By Klarks
      Started Thursday at 06:22 AM

    • Woodside
      1
      [1.15.2]ServerWorld.spawnParticle excluding specific player

      By Woodside
      Started 2 hours ago

    • TheDonkey_King
      5
      I just started modding minecraft and I thought i had finished modding it but Titanium mod isn't loading properly. Can someone help me fix this?

      By TheDonkey_King
      Started 10 hours ago

    • BIGDog8808
      11
      HELP! WORLD WONT WORK

      By BIGDog8808
      Started 11 hours ago

    • Gubipe
      2
      Minecraft.getMinecraft().thePlayer.swingItem(); wont attack

      By Gubipe
      Started 6 hours ago

  • Who's Online (See full list)

    • LK1905
    • Klarks
    • HourShower
  • All Activity
  • Home
  • Minecraft Forge
  • Support & Bug Reports
  • Server Problems on Mac
  • Theme

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