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.

Help?!??!? Error: Unable to access jarfile forge-1.21-51.0.29-shim.jar

Featured Replies

Posted

I tried to run java again after i put in my shipwrecked modpack and the error message kept showing up. 

Error: Unable to access jarfile forge-1.21-51.0.29-shim.jar is all that showed up
Im on a m2 mac air and i ran the run.sh file. 
When i tried to run the run.sh after cd server it also gave me a fatal error message detected  by the java runtime enviroment. 
 

A fatal error has been detected by the Java Runtime Environment:

#

#  SIGSEGV (0xb) at pc=0x0000000102ea68fc, pid=73610, tid=126211

#

# JRE version: Java(TM) SE Runtime Environment (22.0.2+9) (build 22.0.2+9-70)

# Java VM: Java HotSpot(TM) 64-Bit Server VM (22.0.2+9-70, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)

# Problematic frame:

# C  [jna15258103312733787804.tmp+0x68fc]  Java_com_sun_jna_Native_invokePointer+0xadc

#

# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

#

# An error report file with more information is saved as:

# /Users/me/Desktop/server/hs_err_pid73610.log

#

# If you would like to submit a bug report, please visit:

#   https://bugreport.java.com/bugreport/crash.jsp

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

#

/Users/me/Desktop/server/run.sh: line 7: 73610 Abort trap: 6           java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.21-51.0.29/unix_args.txt "$@"

 

I have replaced the /Users/[name]/ to /me/ but for everything else i just straight up copy pasted. 
I have no knowledge about java or coding so let me know if i am missing something.

  • Author

I have tried switching to java 21 after i downloaded java 22 but im not sure if it works. I just followed the installation and i downloaded the ARM64 DMG Installer product/file description. Its still showing the fatal error. 

  • Author

I think the error is still the same but it loaded a few server/thread infos that werent present before. I think it only loaded the main/info when i was using java 22
Below is the full crash report with the additional server thread/info 

[10:42:58] [Server thread/INFO] [minecraft/DedicatedServer]: Starting minecraft server version 1.21

[10:42:58] [Server thread/INFO] [minecraft/DedicatedServer]: Loading properties

[10:42:58] [Server thread/INFO] [minecraft/DedicatedServer]: Default game type: SURVIVAL

[10:42:58] [Server thread/INFO] [minecraft/MinecraftServer]: Generating keypair

#

# A fatal error has been detected by the Java Runtime Environment:

#

#  SIGSEGV (0xb) at pc=0x00000001012428fc, pid=76464, tid=127491

#

# JRE version: Java(TM) SE Runtime Environment (21.0.3+7) (build 21.0.3+7-LTS-152)

# Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0.3+7-LTS-152, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)

# Problematic frame:

# C  [jna13902680717977756248.tmp+0x68fc]  Java_com_sun_jna_Native_invokePointer+0xadc

#

# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

#

# An error report file with more information is saved as:

# /Users/me/Desktop/server/hs_err_pid76464.log

[8.679s][warning][os] Loading hsdis library failed

#

# If you would like to submit a bug report, please visit:

#   https://bugreport.java.com/bugreport/crash.jsp

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

#

/Users/me/Desktop/server/run.sh: line 7: 76464 Abort trap: 6           java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.21-51.0.29/unix_args.txt "$@"

me@my-MacBook-Air-2 server % cat hs_err_pid76464.log 

#

# A fatal error has been detected by the Java Runtime Environment:

#

#  SIGSEGV (0xb) at pc=0x00000001012428fc, pid=76464, tid=127491

#

# JRE version: Java(TM) SE Runtime Environment (21.0.3+7) (build 21.0.3+7-LTS-152)

# Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0.3+7-LTS-152, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)

# Problematic frame:

# C  [jna13902680717977756248.tmp+0x68fc]  Java_com_sun_jna_Native_invokePointer+0xadc

#

# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

#

# If you would like to submit a bug report, please visit:

#   https://bugreport.java.com/bugreport/crash.jsp

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

#

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.