r/javahelp • • 9d ago

Eclipse Java crash error

Hey, I'm not so experienced with Java or coding in general, so I feel really helpless. When I try to do something in Eclipse, I get an error code (I'm gonna paste it down below). I have tried downloading Java from Adoptium and from Oracle; neither of them worked. I have tried using different versions, so Java 21, 25, and 27, which also didn't work.Maybe someone knows a solution and could help me. Thank you beforehand for helping

#

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

#

# SIGSEGV (0xb) at pc=0x000000019c1abf1c, pid=58220, tid=4867

#

# JRE version: (25.0.5+8) (build )

# Java VM: OpenJDK 64-Bit Server VM (25.0.5+8-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)

# Problematic frame:

# C [libsystem_platform.dylib+0x3f1c] _platform_memmove+0x1bc

#

# 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/Mac/eclipse-workspace/Meinproject/hs_err_pid58220.log

#

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

# See problematic frame for where to report the bug.

#

5 Upvotes

7 comments sorted by

•

u/AutoModerator 9d ago

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions

  • You include any and all error messages in full

  • You ask clear questions

  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

    Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

5

u/idontlikegudeg 9d ago

This is in native code. I’d guess your Java is incompatible with the libc of your system. Can you install Java from an official repository of your distribution? The message says it’s a BSD system running on ARM. What does `uname -a` return (run it on the console)?

2

u/Yato-ex 9d ago

It gave back "Darwin MacBookAir 27.0.0 Darwin Kernel Version 27.0.0: Tue Aug 11 21:05:27 PDT 2026; root:xnu-13432.1.9~1/RELEASE_ARM64_T8103 arm64"

2

u/idontlikegudeg 9d ago

Ok, so that’s macOS. Does Java run from the console, i.e., `java —version`? If not, Java is incompatible. If yes, eclipse is. Eclipse uses native libraries for its UI, so you need to download a compatible version.

5

u/idontlikegudeg 9d ago

On the eclipse download page, select "Download Packages" and make sure you download for macOS aarch64.

2

u/Yato-ex 9d ago

Okay thank you very much

2

u/bigkahuna1uk 9d ago

I recommend using SDKMan to install a JDK of your choice. It’s easy to setup a JDK for different projects or change versions.