Intellij Idea does not start after installation
Hi there,
so, I am trying to run Intellij IDEA Community Edition 2:2017.3.4-1 on Antergos (Arch). Problem: It just doesn't start. I have JDK and JRE 8, JRE 8 headless and JRE 9 headless installed. Log file looks unsuspicious like this:
IDE STARTED ------------------------------------------------------
2018-03-30 17:58:40,356 [ 312] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.0
2018-03-30 17:58:40,356 [ 312] INFO - #com.intellij.util.ui.JBUI - System scale factor: 1.0 (IDE-managed HiDPI)
2018-03-30 17:58:40,377 [ 333] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IC-173.4548.28, 30 Jan 2018 00:40)
2018-03-30 17:58:40,377 [ 333] INFO - #com.intellij.idea.Main - OS: Linux (4.15.13-1-arch, amd64)
2018-03-30 17:58:40,377 [ 333] INFO - #com.intellij.idea.Main - JRE: 9.0.4+11 (Oracle Corporation)
2018-03-30 17:58:40,377 [ 333] INFO - #com.intellij.idea.Main - JVM: 9.0.4+11 (OpenJDK 64-Bit Server VM)
2018-03-30 17:58:40,377 [ 333] INFO - #com.intellij.idea.Main - JVM Args: -Xbootclasspath/a:/usr/share/intellijidea-ce/lib/boot.jar -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Dawt.useSystemAAFontSettings=on -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine -XX:ErrorFile=/home/christian/java_error_in_IDEA_%p.log -XX:HeapDumpPath=/home/christian/java_error_in_IDEA.hprof -Didea.paths.selector=IdeaIC2017.3 -Djb.vmOptionsFile=/usr/share/intellijidea-ce/bin/idea64.vmoptions -Didea.platform.prefix=Idea -Didea.jre.check=true
2018-03-30 17:58:40,378 [ 334] INFO - #com.intellij.idea.Main - ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool@40f1953c[Running, parallelism = 7, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]
2018-03-30 17:58:40,378 [ 334] INFO - #com.intellij.idea.Main - JNU charset: UTF-8
2018-03-30 17:58:40,404 [ 360] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 26 ms
2018-03-30 17:58:40,563 [ 519] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
I read it could help to start IDEA from the command line but I have no idea how to do so und search results always point me to creating a command line launcher from within the program, which is not possible for me because it never started. So... what now?
Please sign in to leave a comment.
Hi. To run from command line, start a terminal cd to IDEA install folder and run idea.sh
https://www.jetbrains.com/help/idea/2017.3/install-and-set-up-intellij-idea.html#desktop_shortcut
Thanks Petr, that helped me figure out my JAVA_HOME was not correctly set. Fixed it and now IDEA runs.