LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-21-2022, 10:46 AM   #1
xunilq
LQ Newbie
 
Registered: Dec 2016
Posts: 21

Rep: Reputation: Disabled
IntelliJ Idea error after Multilib 15.0 install


SOLVED EDIT:

The IDE is running again after i installed sBo zulu-openjdk11 and pointed /etc/profile.d/idea.xx to the new jdk

BUT WHY THE SLACKS was it working before with java8? The IDE have not been auto updated, i checked same version still. And the IDEA sBo asks for java 8:
Quote:
This requires: zulu-openjdk8
--------------

I installed IntelliJ using sBo.

Had it working fine.

Installed multilib 15 for steam, working fine. (as i thought Conty for steam was causing input lag cause some emulation (secondary question if anybody want to share an input, would that be right?).

Anyway, now IntelliJ have this error:

Quote:
java.lang.UnsupportedClassVersionError: com/intellij/util/lang/PathClassLoader has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Quote:
echo $JAVA_HOME
/usr/lib64/zulu-openjdk8
EDIT:

1) Tried reinstalling zulu-openjdk8
2) The message says class compiled by java 11 (55) cant be recognized by java8 (52)
3) It was working before, i was able to create projects, actiavate, mess with settings.
4) Tried removing local user config files for clean install launch but same error.
5) I have installed audacity and had issues with audio, i may have tried installing a couple of different audio libs from sbo to make it work. will check (checked: after multilib i have reinstalled video drivers (mesa, xorg, intel- for steam) and installed for audacity: (alsa-plugins, jack2, vamp-)

Last edited by xunilq; 03-22-2022 at 08:57 AM.
 
Old 03-22-2022, 06:41 AM   #2
notzed
Member
 
Registered: Dec 2020
Location: South Australia
Distribution: slackware64-current
Posts: 95

Rep: Reputation: Disabled
According to [1] the runtime used for intellij is based on openjdk 11, so this seems entirely correct? Did it update also? Obviously installing multilib did not overwrite your intellij installation so it's probably just a coincidence, and the class files at version 55 would never work with any java 8. Perhaps something changed the default java you already had since installing multiple jdks or runtimnes will make a mess of JAVA_HOME on slackware since each will dump something into /etc/profile.d.

FWIW Since java 9 applications are supposed to just bundle their own runtimes and no longer use a system runtime, I think it's kinda pants vs clicking on a jar but that's what's been decided for some technical and some political reasons and it's something that intellij seemingly does itself (but i don't use it so i'm just going off that page). I'd also be wary of any free 'openjdk' that isn't tracking the latest official release as that's the only fully supported free one (i.e. 17 at time of writing). See [2] -- pron89 is an openjdk developer who's been trying to clarify this seemingly forever on reddit. Although for running local trusted software like an IDE it's probably not super-critical and intellij does come with it's own presumably-supported runtime anyway, then again the latest is quite a bit faster.

Also I don't see why conty should add any appreciable latency but I suppose it might. It seems to add a bit of a file i/o overhead to stuff in the compressed image but that doesn't include games which are installed into ~/.local. It's just a chroot 'arch' installation and still just hits the kernel directly for most of what it does and doesn't do any emulation (wine is not an emulator etc, let alone native games).

[1] https://www.jetbrains.com/help/idea/...ion-guide.html
[2] https://old.reddit.com/r/java/commen...n_ffs/g0so60h/
 
Old 03-22-2022, 08:56 AM   #3
xunilq
LQ Newbie
 
Registered: Dec 2016
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by notzed View Post
According to [1] the runtime used for intellij is based on openjdk 11, so this seems entirely correct? Did it update also? Obviously installing multilib did not overwrite your intellij installation so it's probably just a coincidence, and the class files at version 55 would never work with any java 8. Perhaps something changed the default java you already had since installing multiple jdks or runtimnes will make a mess of JAVA_HOME on slackware since each will dump something into /etc/profile.d.

FWIW Since java 9 applications are supposed to just bundle their own runtimes and no longer use a system runtime, I think it's kinda pants vs clicking on a jar but that's what's been decided for some technical and some political reasons and it's something that intellij seemingly does itself (but i don't use it so i'm just going off that page). I'd also be wary of any free 'openjdk' that isn't tracking the latest official release as that's the only fully supported free one (i.e. 17 at time of writing). See [2] -- pron89 is an openjdk developer who's been trying to clarify this seemingly forever on reddit. Although for running local trusted software like an IDE it's probably not super-critical and intellij does come with it's own presumably-supported runtime anyway, then again the latest is quite a bit faster.

Also I don't see why conty should add any appreciable latency but I suppose it might. It seems to add a bit of a file i/o overhead to stuff in the compressed image but that doesn't include games which are installed into ~/.local. It's just a chroot 'arch' installation and still just hits the kernel directly for most of what it does and doesn't do any emulation (wine is not an emulator etc, let alone native games).

[1] https://www.jetbrains.com/help/idea/...ion-guide.html
[2] https://old.reddit.com/r/java/commen...n_ffs/g0so60h/
I don't mean to "pile on" on a solved thread but i guess [1] explains why it was working with jdk8:

Quote:
You do not need to install Java to run IntelliJ IDEA because JetBrains Runtime is bundled with the IDE (based on JRE 11).
I should say that i used the IdeaC Slackbuild but with the IdeaJ package.

But still, not sure why this JetBrains Runtime bundled with the IDE stopped working. Intalling the zulu jdk11 solved.
 
  


Reply

Tags
multilib, slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install intellij-idea on Fedora 33 via COPR Repository LXer Syndicated Linux News 0 03-03-2021 10:50 AM
LXer: How to Install IntelliJ IDEA on Ubuntu 18.04 LXer Syndicated Linux News 0 02-05-2019 12:10 PM
LXer: How to Install IntelliJ IDEA IDE on Ubuntu 18.04 LXer Syndicated Linux News 0 01-13-2019 02:22 AM
LXer: IntelliJ Has a New IDEA (version 8) LXer Syndicated Linux News 0 11-07-2008 09:30 AM
IntelliJ IDEA/InstallAnywhere programs/Java filburt1 Linux - Software 0 03-17-2004 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration