Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

mytaa

Members
  • Joined

  • Last visited

  1. I know the path, however I cannot find the path. I don't know why. Like it says the path exists and all but I can't find it.
  2. java version "12.0.1" 2019-04-16 Java(TM) SE Runtime Environment (build 12.0.1+12) Java HotSpot(TM) 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)
  3. I understand this but I don't know how to find the full path.
  4. Wait I don't understand what you are saying. Are you saying that I should replace "java" in java -Xmx4G -Xms4G -jar forge-1.12.2-14.23.5.2838-universal.jar with the location of java itself?
  5. I believe I have version 8, but the issue still occurs
  6. mytaa joined the community
  7. So I created a forge server and it is working fine normally (as in just launching the jar file). However, I can't seem to add more ram like I can to a vanilla server. I usually go to terminal and type: cd Server Folder java -Xmx4G -Xms4G -jar forge-1.12.2-14.23.5.2838-universal.jar ---- and if I switched the forge server with vanilla it would typically work. But if I do it with the forge server it prompts: 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:567) 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 logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. ----- I was just wondering how to allocate more ram to my forge server and I can definitely do this on windows but I am not too well-versed with MacOS. Thank you!

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.