Package Details: clion-cmake 1:2024.3-1

Git Clone URL: https://aur.archlinux.org/clion.git (read-only, click to copy)
Package Base: clion
Description: JetBrains packaged CMake tools for CLion
Upstream URL: http://www.jetbrains.com/clion
Keywords: C C++ IDE JetBrains
Licenses: custom
Submitter: rdoursenaud
Maintainer: Zrax
Last Packager: Zrax
Votes: 230
Popularity: 0.88
First Submitted: 2015-04-14 21:23 (UTC)
Last Updated: 2024-11-20 16:39 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 10 Next › Last »

recolic commented on 2021-10-29 07:35 (UTC) (edited on 2021-10-29 07:35 (UTC) by recolic)

I think clion should depends on clion-jre. I'm also experiencing the same error.

If one day clion runs on latest jre-openjdk-headless, we can make clion depends on jre-openjdk-headless. It's not a good idea to ask users to manage dependencies by themselves.

Zrax commented on 2021-09-01 20:38 (UTC)

@deltaclock: You will need to either install the clion-jre sub-package that is built by this PKGBUILD, or downgrade your system JDK to an older version (jdk 11 should be supported since that's the version clion-jre uses).

deltaclock commented on 2021-09-01 17:21 (UTC)

Hello, just installed this today and I get this error. Tried changing some vmoptions but didn't really help.

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
2021-09-01 20:18:08,174 [    250]  ERROR - .ide.ui.laf.darcula.DarculaLaf - Unable to make field private static final java.lang.Object javax.swing.text.html.HTMLEditorKit.DEFAULT_STYLES_KEY accessible: module java.desktop does not "opens javax.swing.text.html" to unnamed module @53bb4a07 
java.lang.reflect.InaccessibleObjectException: Unable to make field private static final java.lang.Object javax.swing.text.html.HTMLEditorKit.DEFAULT_STYLES_KEY accessible: module java.desktop does not "opens javax.swing.text.html" to unnamed module @53bb4a07
    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
    at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:177)
    at java.base/java.lang.reflect.Field.setAccessible(Field.java:171)
    at com.intellij.ide.ui.laf.darcula.DarculaLaf.patchStyledEditorKit(DarculaLaf.java:168)
    at com.intellij.ide.ui.laf.darcula.DarculaLaf.getDefaults(DarculaLaf.java:127)
    at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:592)
    at com.intellij.idea.StartupUtil.lambda$scheduleInitUi$23(StartupUtil.java:490)
    at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:783)
    at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2021-09-01 20:18:08,176 [    252]  ERROR - .ide.ui.laf.darcula.DarculaLaf - CLion 2021.2.1  Build #CL-212.5080.54 
2021-09-01 20:18:08,176 [    252]  ERROR - .ide.ui.laf.darcula.DarculaLaf - JDK: 16.0.2; VM: OpenJDK 64-Bit Server VM; Vendor: N/A 
2021-09-01 20:18:08,176 [    252]  ERROR - .ide.ui.laf.darcula.DarculaLaf - OS: Linux 
2021-09-01 20:18:08,177 [    253]  ERROR -        #com.intellij.idea.Main - UI initialization failed 
com.intellij.ide.plugins.StartupAbortedException: UI initialization failed
    at com.intellij.idea.StartupUtil.lambda$start$15(StartupUtil.java:265)
    at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:986)
    at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:970)
    at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
    at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610)
    at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:791)
    at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.util.concurrent.CompletionException: java.lang.IllegalAccessError: class com.intellij.idea.StartupUtil (in unnamed module @0x53bb4a07) cannot access class sun.awt.AWTAutoShutdown (in module java.desktop) because module java.desktop does not export sun.awt to unnamed module @0x53bb4a07
    at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
    at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
    at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787)
    ... 14 more
Caused by: java.lang.IllegalAccessError: class com.intellij.idea.StartupUtil (in unnamed module @0x53bb4a07) cannot access class sun.awt.AWTAutoShutdown (in module java.desktop) because module java.desktop does not export sun.awt to unnamed module @0x53bb4a07
    at com.intellij.idea.StartupUtil.lambda$scheduleInitUi$23(StartupUtil.java:507)
    at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:783)
    ... 14 more
2021-09-01 20:18:08,178 [    254]  ERROR -        #com.intellij.idea.Main - CLion 2021.2.1  Build #CL-212.5080.54 
2021-09-01 20:18:08,178 [    254]  ERROR -        #com.intellij.idea.Main - JDK: 16.0.2; VM: OpenJDK 64-Bit Server VM; Vendor: N/A 
2021-09-01 20:18:08,178 [    254]  ERROR -        #com.intellij.idea.Main - OS: Linux 

Start Failed
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors

com.intellij.ide.plugins.StartupAbortedException: UI initialization failed
    at com.intellij.idea.StartupUtil.lambda$start$15(StartupUtil.java:265)
    at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:986)
    at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:970)
    at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
    at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610)
    at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:791)
    at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.util.concurrent.CompletionException: java.lang.IllegalAccessError: class com.intellij.idea.StartupUtil (in unnamed module @0x53bb4a07) cannot access class sun.awt.AWTAutoShutdown (in module java.desktop) because module java.desktop does not export sun.awt to unnamed module @0x53bb4a07
    at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
    at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
    at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787)
    ... 14 more
Caused by: java.lang.IllegalAccessError: class com.intellij.idea.StartupUtil (in unnamed module @0x53bb4a07) cannot access class sun.awt.AWTAutoShutdown (in module java.desktop) because module java.desktop does not export sun.awt to unnamed module @0x53bb4a07
    at com.intellij.idea.StartupUtil.lambda$scheduleInitUi$23(StartupUtil.java:507)
    at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:783)
    ... 14 more

-----
Your JRE: 16.0.2+7 amd64 (N/A)
/usr/lib/jvm/java-16-openjdk

Start Failed
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors

java.lang.IllegalAccessError: class com.intellij.idea.StartupUtil (in unnamed module @0x53bb4a07) cannot access class sun.awt.AWTAutoShutdown (in module java.desktop) because module java.desktop does not export sun.awt to unnamed module @0x53bb4a07
    at com.intellij.idea.StartupUtil.start(StartupUtil.java:297)
    at com.intellij.idea.Main.bootstrap(Main.java:123)
    at com.intellij.idea.Main.main(Main.java:84)

-----
Your JRE: 16.0.2+7 amd64 (N/A)
/usr/lib/jvm/java-16-openjdk

nesuma commented on 2021-08-11 11:18 (UTC)

With no JDK installed executing Clion did not return any message to me and I had to go trough the shell script to find the breaking lines. I know that "optional" packages were listed during installation but some feedback from the executable would be nice

Algunenano commented on 2021-07-29 10:57 (UTC)

Hi, with the update to 2021.2 Jetbrains removed x86 support and renamed fsnotifier64 to fsnotifier (the name of the old 32b program). The PKGBUILD needs to be changed to stop deleting fsnotifier.

jbbjarnason commented on 2021-02-07 11:20 (UTC)

FYI you can run clion with java 15 https://youtrack.jetbrains.com/issue/IDEA-251536

In short remove UseConcMarkSweepGC lines from the configuration files, the file are by default placed in /opt/clion/bin/clion.vmoptions and /opt/clion/bin/clion64.vmoptions

bootlegbilly commented on 2021-02-03 23:06 (UTC)

@rhysperry111 try switching your java version to 11.

First install it: sudo pacman -S jre11-openjdk

Then run: sudo archlinux-java set java-11-openjdk

bootlegbilly commented on 2021-02-03 23:04 (UTC) (edited on 2021-02-03 23:04 (UTC) by bootlegbilly)

Can you add aarch64 as a supported architecture? I can confirm it runs just fine on it.

rhysperry111 commented on 2021-01-11 22:32 (UTC) (edited on 2021-01-11 22:33 (UTC) by rhysperry111)

Even though I have clion-jre installed, I am getting

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
IDE is being shut down

Marcel_K commented on 2020-12-28 14:33 (UTC)

What do you mean? That's exactly what you (can) do with this package.