FS#47131 - [jre8-openjdk] ClassNotFoundException in rt.jar when starting IntelliJ IDEA

Attached to Project: Arch Linux
Opened by Ondřej Hruška (MightyPork) - Friday, 20 November 2015, 17:41 GMT
Last edited by Guillaume ALAUX (galaux) - Saturday, 21 November 2015, 11:33 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Guillaume ALAUX (galaux)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After upgrading from 8.u65-1 to 8.u66-1, IntelliJ Idea Community Edition (from the Community repo) fails to start with the following error message:

```
Error occurred during initialization of VM
java/lang/ClassNotFoundException: error in opening JAR file /usr/lib/jvm/java-8-openjdk/jre/lib/rt.jar
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=250m; support was removed in 8.0
Error occurred during initialization of VM
java/lang/ClassNotFoundException: error in opening JAR file /usr/lib/jvm/java-8-openjdk/jre/lib/rt.jar
```

The IDEA package has not been upgraded (it is outdated in the community repo, btw).

Steps to reproduce: Upgrade your openjdk and see it break.

Packages downgraded to get it working again:
jdk8-openjdk-8.u65-1
jre8-openjdk-8.u65-1
jre8-openjdk-headless-8.u65-1
This task depends upon

Closed by  Guillaume ALAUX (galaux)
Saturday, 21 November 2015, 11:33 GMT
Reason for closing:  Not a bug
Comment by Ondřej Hruška (MightyPork) - Friday, 20 November 2015, 17:43 GMT
By the way, I suspect -- considering the line `Error occurred during initialization of VM` -- that it might be broken for all Java apps, this is the only one I tried to run.

I'd add it to the bug Details, but I can't edit my own bug (why?)
Comment by Guillaume ALAUX (galaux) - Saturday, 21 November 2015, 10:44 GMT
I see IntelliJ got updated today. Latest openjdk 8.u66-1 with IntelliJ 1:15.0.1-1 work for me.

Could you please test with these 2 updated and report back?
Comment by Ondřej Hruška (MightyPork) - Saturday, 21 November 2015, 10:56 GMT
Yes, it works now.

Loading...