Cannot start/install IDE on macOS VM: "Archived non-system classes are disabled" / SIGILL at java.lang.System.registerNatives

I am currently experiencing an issue with launching the IDE application (Pycharm) on UTM Virtual Machine (Macbook M4 processor). After installation by snap the application fails to start due to below error: 

0.005s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "com.intellij.util.lang.PathClassLoader"). To use archived non-system classes, this property must not be set
[0.020s][warning][os ] Loading hsdis library failed

Please try to reinstall the IDE.
For support, please refer to https://jb.gg/ide/critical-startup-errors

I tried to install it by downloading the programs directly from site - Toolbox and Pycharm in that cases below Java error appears when I try to run: 

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x0000e0b128740c5c, pid=4144, tid=4162
#
# JRE version:  (21.0.5+8) (build )
# Java VM: OpenJDK 64-Bit Server VM (21.0.5+8-b631.28, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# j  java.lang.System.registerNatives()V+0 java.base
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/buu/core.4144)
#
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

I tried with different Java version from 8 to 21. 

Could you kindly assist me in resolving this issue? Any guidance or recommendations would be greatly appreciated.

0
1 comment

Issue was reported as https://youtrack.jetbrains.com/issue/IJPL-173458

Solution: update macOS version on the virtual machine.

1

Please sign in to leave a comment.