You are not logged in.

#1 2024-08-22 08:00:30

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,111
Website

[SOLVED] Intellij does not start since last update

Since the last update yesterday, Intellij no longer starts on my system:

~> idea
OpenJDK 64-Bit Server VM warning: 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

**Start Failed**

Internal error

java.lang.RuntimeException: Could not find installation home path. Please make sure bin/idea.properties is present in the installation directory.
	at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:112)
	at com.intellij.openapi.application.PathManager.getBinDirectories(PathManager.java:145)
	at com.intellij.openapi.application.PathManager.loadProperties(PathManager.java:684)
	at com.intellij.idea.Main.mainImpl(Main.kt:55)
	at com.intellij.idea.Main.main(Main.kt:47)

-----
JRE: 17.0.12+7 amd64 (Arch Linux)
/usr/lib/jvm/java-17-openjdk
~>

Any idea as to why this might be happening?
Downgrading via

# pacman -U /var/cache/pacman/pkg/intellij-idea-community-edition-4:2024.1.4-1-x86_64.pkg.tar.zst

Lets it start normally again.

Last edited by schard (2024-08-22 22:05:29)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#2 2024-08-22 08:07:17

icar
Member
From: Catalunya
Registered: 2020-07-31
Posts: 505

Re: [SOLVED] Intellij does not start since last update

Did you see https://youtrack.jetbrains.com/issue/ID … -home-path? Does any path include an exclamation mark?

Offline

#3 2024-08-22 08:20:15

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,111
Website

Re: [SOLVED] Intellij does not start since last update

Nope. It's /usr/share/idea as packaged.
I also tried starting with openjdk-22 and debugging some variables.
All seems fine:

174,178d172
< echo "Basedir: $PWD"
< stat bin/idea.properties
< echo "IDE_HOME='${IDE_HOME}'"
< echo "VM_OPTIONS=${VM_OPTIONS}"
< echo "CLASS_PATH=${CLASS_PATH}"
Basedir: /usr/share/idea
 Datei: bin/idea.properties
 Größe: 11004     	Blöcke: 24         EA Block: 4096   reguläre Datei
Gerät: 254/0	Inode: 78918514    Verknüpfungen: 1
Zugriff: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Zugriff: 2024-08-22 10:06:25.196261740 +0200
Modifiziert: 2024-08-19 11:05:17.000000000 +0200
Geändert: 2024-08-22 10:02:24.835689729 +0200
Geburt: 2024-08-22 10:02:24.835689729 +0200
IDE_HOME='/usr/share/idea'
VM_OPTIONS=-Xms128m
-Xmx2048m
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-XX:+IgnoreUnrecognizedVMOptions
-ea
-Dsun.io.useCanonCaches=false
-Dsun.java2d.metal=true
-Djbr.catch.SIGABRT=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djdk.attach.allowAttachSelf=true
-Djdk.module.illegalAccess.silent=true
-Dkotlinx.coroutines.debug=off
-XX:CICompilerCount=2
-XX:ReservedCodeCacheSize=512m
-XX:+UnlockDiagnosticVMOptions
-XX:TieredOldPercentage=100000
-Dsun.tools.attach.tmp.only=true
-Dawt.lock.fair=true
CLASS_PATH=/usr/share/idea/lib/platform-loader.jar:/usr/share/idea/lib/util-8.jar:/usr/share/idea/lib/util.jar:/usr/share/idea/lib/util_rt.jar:/usr/share/idea/lib/opentelemetry.jar:/usr/share/idea/lib/app.jar:/usr/share/idea/lib/stats.jar:/usr/share/idea/lib/jps-model.jar:/usr/share/idea/lib/external-system-rt.jar:/usr/share/idea/lib/rd.jar:/usr/share/idea/lib/bouncy-castle.jar:/usr/share/idea/lib/protobuf.jar:/usr/share/idea/lib/intellij-test-discovery.jar:/usr/share/idea/lib/forms_rt.jar:/usr/share/idea/lib/lib.jar:/usr/share/idea/lib/externalProcess-rt.jar:/usr/share/idea/lib/groovy.jar:/usr/share/idea/lib/annotations.jar:/usr/share/idea/lib/idea_rt.jar:/usr/share/idea/lib/junit4.jar:/usr/share/idea/lib/nio-fs.jar:/usr/share/idea/lib/trove.jar
[0.004s][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

**Start Failed**

Internal error

java.lang.RuntimeException: Could not find installation home path. Please make sure bin/idea.properties is present in the installation directory.
	at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:112)
	at com.intellij.openapi.application.PathManager.getBinDirectories(PathManager.java:145)
	at com.intellij.openapi.application.PathManager.loadProperties(PathManager.java:684)
	at com.intellij.idea.Main.mainImpl(Main.kt:55)
	at com.intellij.idea.Main.main(Main.kt:47)

-----
JRE: 22.0.2+9 amd64 (Arch Linux)
/usr/lib/jvm/java-22-openjdk

Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#4 2024-08-22 14:42:49

seth
Member
Registered: 2012-09-03
Posts: 58,698

Re: [SOLVED] Intellij does not start since last update

https://gitlab.archlinux.org/archlinux/ … -/issues/6
There's a newer version in the testing repos that has a fix (and upstream update) applied.

Offline

Board footer

Powered by FluxBB