Package Details: intellij-idea-ultimate-edition-jre 2022.2.3-1

Git Clone URL: https://aur.archlinux.org/intellij-idea-ultimate-edition.git (read-only, click to copy)
Package Base: intellij-idea-ultimate-edition
Description: An intelligent IDE for Java, Groovy and other programming languages with advanced refactoring features intensely focused on developer productivity.
Upstream URL: https://www.jetbrains.com/idea/
Licenses: custom:commercial
Submitter: uwolfer
Maintainer: uwolfer (dcelasun)
Last Packager: dcelasun
Votes: 392
Popularity: 2.59
First Submitted: 2009-10-28 09:09 (UTC)
Last Updated: 2022-10-05 19:08 (UTC)

Latest Comments

1 2 3 4 5 6 .. 37 Next › Last »

dcelasun commented on 2022-10-05 13:08 (UTC)

@njam alright, I'll include it with the next update.

njam commented on 2022-10-05 12:48 (UTC)

Sorry, my previous comment was wrong. The "ldd libcef.so" is not relevant. Here's a more proper bug report.

  1. Start with a minimal Arch linux
  2. Install intellij-idea-ultimate-edition
  3. Starting IntelliJ fails with:
2022-10-05 14:36:57,379 [    554] SEVERE - #c.i.i.StartupUtil - Cannot start app
[...]
Caused by: java.lang.UnsatisfiedLinkError: /opt/intellij-idea-ultimate-edition/jbr/lib/libawt_xawt.so: libXrender.so.1: cannot open shared object file: No such file or directory
  1. After installing "libxrender", IntelliJ UI starts

So I think just "libxrender" should be added as a dep.

dcelasun commented on 2022-10-05 07:59 (UTC) (edited on 2022-10-05 07:59 (UTC) by dcelasun)

I assume libcef.so refers to the Chromium Embedded Framework. If so, those are dependencies that CEF could theoretically need.

Are these warnings causing any problems? Because fixing those would introduce a lot of new dependencies like mesa, pango, libxrender, libxdamage, libxkbcommon etc.

njam commented on 2022-10-05 07:14 (UTC)

I think this package should have a dependency "gtk3" added.

Probably due to a recent change in Arch, various gtk3-packages are not available by default anymore, which results in errors and warnings in Intellij.

For example:

Caused by: java.lang.UnsatisfiedLinkError: /opt/intellij-idea-ultimate-edition/jbr/lib/libawt_xawt.so: libXrender.so.1: cannot open shared object file: No such file or directory

And:

ldd /opt/intellij-idea-ultimate-edition/jbr/lib/libcef.so | grep "not found" 
ldd: warning: you do not have execution permission for `/opt/intellij-idea-ultimate-edition/jbr/lib/libcef.so'
    libatk-1.0.so.0 => not found
    libatk-bridge-2.0.so.0 => not found
    libXcomposite.so.1 => not found
    libXdamage.so.1 => not found
    libXrandr.so.2 => not found
    libgbm.so.1 => not found
    libdrm.so.2 => not found
    libxkbcommon.so.0 => not found
    libpango-1.0.so.0 => not found
    libcairo.so.2 => not found
    libatspi.so.0 => not found

ElijahLynn commented on 2022-09-27 20:33 (UTC) (edited on 2022-09-27 20:47 (UTC) by ElijahLynn)

I just updated to 2022.2.2 and it loads my project and half way through loading it just quits, taking me back to the project selection modal/dialog.

I'll post updates to this comment as I figure out what is happening. Until then, if anyone has useful advice, that would be appreciated.

Update1:

2022-09-27 13:32:13,800 [   3708] SEVERE - #c.i.c.ComponentStoreImpl - Cannot init component state (componentName=XDebuggerManager, componentClass=XDebuggerManagerImpl) [Plugin: com.intellij]
com.intellij.diagnostic.PluginException: Cannot init component state (componentName=XDebuggerManager, componentClass=XDebuggerManagerImpl) [Plugin: com.intellij]
        at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:148)
        at com.intellij.configurationStore.ComponentStoreWithExtraComponents.initComponent(ComponentStoreWithExtraComponents.kt:48)
        at com.intellij.serviceContainer.ComponentManagerImpl.initializeComponent$intellij_platform_serviceContainer(ComponentManagerImpl.kt:535)
        at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:55)
        at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:41)
        at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:119)
        at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:73)
        at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:66)
        at com.intellij.serviceContainer.ComponentManagerImpl.preloadService(ComponentManagerImpl.kt:1068)
        at com.intellij.serviceContainer.ComponentManagerImpl$preloadServices$1.invoke(ComponentManagerImpl.kt:1033)
        at com.intellij.serviceContainer.ComponentManagerImpl$preloadServices$1.run(ComponentManagerImpl.kt:55)
        at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1375)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: com.intellij.util.IncorrectOperationException: Sorry but parent: Project(name=VA.gov, containerState=DISPOSE_IN_PROGRESS, componentStore=/home/elijah/Projects/va.gov) (disposed) (class com.intellij.open
api.project.impl.ProjectExImpl) has already been disposed (see the cause for stacktrace) so the child: false (class com.intellij.util.containers.DisposableWrapperList$DisposableWrapper) will never be disposed
        at com.intellij.openapi.util.ObjectTree.register(ObjectTree.java:43)
        at com.intellij.openapi.util.Disposer.register(Disposer.java:117)
        at com.intellij.util.containers.DisposableWrapperList.createDisposableWrapper(DisposableWrapperList.java:254)
        at com.intellij.util.containers.DisposableWrapperList.add(DisposableWrapperList.java:63)
        at com.intellij.util.EventDispatcher.addListener(EventDispatcher.java:172)
        at com.intellij.openapi.vfs.impl.http.RemoteFileManagerImpl.addFileListener(RemoteFileManagerImpl.java:93)
        at com.intellij.openapi.vfs.impl.http.HttpFileSystemBase.addFileListener(HttpFileSystemBase.java:51)
        at com.intellij.xdebugger.impl.breakpoints.XBreakpointManagerImpl.init(XBreakpointManagerImpl.java:129)
        at com.intellij.xdebugger.impl.XDebuggerManagerImpl.initializeComponent(XDebuggerManagerImpl.java:197)
        at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:131)
        ... 16 more
2022-09-27 13:32:13,813 [   3721] SEVERE - #c.i.c.ComponentStoreImpl - IntelliJ IDEA 2022.2.2  Build #IU-222.4167.29
2022-09-27 13:32:13,814 [   3722] SEVERE - #c.i.o.w.i.ToolWindowManagerImpl - Cannot process toolwindow Cargo
...

Update2: I got it working. I had to open another project, then after that loaded click the "Update 17 plugins" icon on the top right, then restart Intellij and then I was able to load my main project.

The plugins updated notification on the bottom right said: "Live Edit, Native Debugging Support, GraphQL, Rust, PHP, Drupal, Python, Prettier, Makefile Language, Behat Support, Ini, Go". That is only 12 so not sure why it wasn't 17 but :shrug:.

dcelasun commented on 2022-09-14 06:30 (UTC)

@badlydrawnface done, thanks!

badlydrawnface commented on 2022-09-13 22:43 (UTC) (edited on 2022-09-13 22:50 (UTC) by badlydrawnface)

@Corpswalker @dcelasun fixed aarch64 patch with a dead link to jbr, solved file conflict between idea and jre packages

diff --git a/PKGBUILD b/PKGBUILD
index 1edd1b7..c294f96 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,9 +7,9 @@ pkgname=(intellij-idea-ultimate-edition intellij-idea-ultimate-edition-jre)
 pkgver=2022.2.1
 pkgrel=1
 _buildver=222.3739.54
-jbr_ver=17.0.3
+jbr_ver=17.0.4
 jbr_build=aarch64-b469
-jbr_minor=44
+jbr_minor=53
 arch=('any')
 pkgdesc="An intelligent IDE for Java, Groovy and other programming languages with advanced refactoring features intensely focused on developer productivity."
 url="https://www.jetbrains.com/idea/"
@@ -21,7 +21,7 @@ source_aarch64=("https://cache-redirector.jetbrains.com/intellij-jbr/jbr-$jbr_ve
                 "https://github.com/JetBrains/intellij-community/raw/master/bin/linux/aarch64/fsnotifier")
 sha256sums=('69d3600b94cdd45a0954d7424e6e87d86fb4c86f64974ff678ba6a4e2a885c47'
             '83af2ba8f9f14275a6684e79d6d4bd9b48cd852c047dacfc81324588fa2ff92b')
-sha256sums_aarch64=('74af20d7e7dfe765301e73e8fe93b78d619a22b02c2cdd45c962616928bc008e'
+sha256sums_aarch64=('b86531e3bc2f3760636e818dab80f3967935ffdf77996b19fda2bdb72f9b258b'
                     'eb3c61973d34f051dcd3a9ae628a6ee37cd2b24a1394673bb28421a6f39dae29')

 prepare() {
@@ -33,6 +33,7 @@ prepare() {
     cp -a "$srcdir"/jbr-$jbr_ver-$jbr_build "$srcdir"/jbr
     cp -f fsnotifier "$srcdir"/idea-IU-$_buildver/bin/fsnotifier
     chmod +x "$srcdir"/idea-IU-$_buildver/bin/fsnotifier
+    rm -Rf idea-IU-$_buildver/jbr
   else
     mv idea-IU-$_buildver/jbr "$srcdir"/jbr
   fi

Corpswalker commented on 2022-08-13 07:03 (UTC)

@dcelasun You're welcome. FYI: The jbr and IDEA builds are dependent, jbr is usually released at the same day as jetbrain"s IDEs.

dcelasun commented on 2022-08-12 07:49 (UTC)

@Corpswalker thanks! I applied the patch and pushed an update. I didn't bump pkgrel as I don't want to trigger an unnecessary update for everyone on x86.

Corpswalker commented on 2022-08-12 07:37 (UTC)

Hi, I IDEA on my mac M1 VM, here is a patch enabling also aarch64 architecture installation:


diff --git a/PKGBUILD b/PKGBUILD
index b8340f5..f8bf1f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,6 +5,9 @@ pkgname=(intellij-idea-ultimate-edition intellij-idea-ultimate-edition-jre)
 pkgver=2022.2
 _buildver=222.3345.118
 pkgrel=1
+jbr_ver=17.0.3
+jbr_build=aarch64-b469
+jbr_minor=37
 arch=('any')
 pkgdesc="An intelligent IDE for Java, Groovy and other programming languages with advanced refactoring features intensely focused on developer productivity."
 url="https://www.jetbrains.com/idea/"
@@ -12,13 +15,27 @@ license=('Commercial')
 options=(!strip)
 source=("https://download.jetbrains.com/idea/ideaIU-$pkgver.tar.gz"
         "jetbrains-idea.desktop")
+source_aarch64=("https://cache-redirector.jetbrains.com/intellij-jbr/jbr-$jbr_ver-linux-$jbr_build.$jbr_minor.tar.gz"
+                "https://github.com/JetBrains/intellij-community/raw/master/bin/linux/aarch64/fsnotifier")
 sha256sums=('15654e4b0b27f56427184ceefe5229f2a644218f83dfd735b0e8dcb7041610e7'
             '83af2ba8f9f14275a6684e79d6d4bd9b48cd852c047dacfc81324588fa2ff92b')
+sha256sums_aarch64=('737242bdd6795a14897ff97bb0bb8d99e7a1a5878a6d2f942712147b20312320'
+                    'eb3c61973d34f051dcd3a9ae628a6ee37cd2b24a1394673bb28421a6f39dae29')

 prepare() {
   # Extract the JRE from the main pacakge
   rm -rf "$srcdir"/jbr
-  mv idea-IU-$_buildver/jbr "$srcdir"/jbr
+
+  # https://youtrack.jetbrains.com/articles/IDEA-A-48/JetBrains-IDEs-on-AArch64#linux
+  if [ "${CARCH}" == "aarch64" ]; then
+    cp -a "$srcdir"/jbr-$jbr_ver-$jbr_build "$srcdir"/jbr
+    cp -f fsnotifier "$srcdir"/idea-IU-$_buildver/bin/fsnotifier
+    chmod +x "$srcdir"/idea-IU-$_buildver/bin/fsnotifier
+  else
+    mv idea-IU-$_buildver/jbr "$srcdir"/jbr
+  fi
+
+
 }

 package_intellij-idea-ultimate-edition() {