Situation
After updating the host machine from MacOS 15.1.1 to 15.3 (find OS update history from /usr/sbin/system_profiler SPInstallHistoryDataType | grep -A 4 macOS)
attempting to start JetBrains Rider from within a Parallels VM running Xubuntu failed with the error:
[0.011s][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.037s][warning][os ] Loading hsdis library failed
Please try to reinstall the IDE. For support, please refer to https://jb.gg/ide/critical-startup-errors
Diagnosis
Snap already downloaded the latest version of Rider.
Snap by default checks for updates 4 times per day.
Show snap activity with snap changes and details for specific change number with snap change 8.
Check for updates with snap refresh --list.
List the versions of all installed snaps with snap list.
I haven’t found a way to get at the specific build version from the snap revision. Snap reports rider latest/stable for revision 543 is currently version 2024.3.5, but on JetBrains’ website, the latest version of Rider is Version: 2024.3.5 Build: 243.24978.27.
All of the JetBrains IDEs come bundled with a customized version of Java called JetbrainsRuntime that the IDE runs on top of. JetBrains’ main bug for the issue is https://youtrack.jetbrains.com/issue/JBR-8038 and the fix is in release 21.0.6b872.80. The most helpful comment for resolving this for me was https://youtrack.jetbrains.com/issue/IJPL-173458/Cannot-start-install-IDE-Pycharm#focus=Comments-27-11317298.0-0. Until a version of Rider is released that includes the updated JBR, I will need to direct Rider to use the fixed JBR that I downloaded manually.
Solution
-
Download the latest JetBrains Runtime binary that includes fix JBR-8038 https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-21.0.6b872.80
-
Confirm the checksum
sha512sum jbr_jcef-21.0.6-linux-aarch64-b872.80.tar.gz -
Extract the contents of the tar
tar xvzf jbr_jcef-21.0.6-linux-aarch64-b872.80.tar.gz -
Create a file named
rider.jdkin the Rider configuration directory:~/.config/JetBrains/Rider2024.3, containing the path to the new JBR directory (Per https://www.jetbrains.com/help/rider/Switching_Boot_JDK.html)
/home/myusername/jbr_jcef-21.0.6-linux-aarch64-b872.80
- Start Rider as normal