4

I am getting following error after downloading and extracting Intellij Idea on OpenSuse Linux 42.1 (Latest 32 bit OS), I have installed JDK 7 and JAVA_HOME/PATH environment variables are setup correctly.

Command:

~/Work/idea-IC-145.1617.8/bin> ./idea.sh

Error:

/idea-IC-145.1617.8/bin/idea.sh: line 197: 4049 Bus error
(core dumped) LD_LIBRARY_PATH="$IDE_BIN_HOME:$LD_LIBRARY_PATH" "$JAVA_BIN" $AGENT "-Xbootclasspath/a:$IDE_HOME/lib/boot.jar" -classpath "$CLASSPATH" $VM_OPTIONS "-Djb.vmOptionsFile=$VM_OPTIONS_FILE" "-XX:ErrorFile=$HOME/java_error_in_IDEA_%p.log" "-XX:HeapDumpPath=$HOME/java_error_in_IDEA.hprof" -Djb.restart.code=88 -Didea.paths.selector=IdeaIC2016.1 $IDE_PROPERTIES_PROPERTY -Didea.jre.check=true com.intellij.idea.Main "$@"

I am not sure what is wrong here, as this does not explains what is the issue.

Wtower
  • 18,848
  • 11
  • 103
  • 80
Amit Mahajan
  • 895
  • 6
  • 34
  • Welcome to Stack Overflow! I edited your question to format the code samples so that it renders properly - please see the editing help for more information on formatting. Please edit in to provide any additional detial that's necessary to identify the specific problem. Good luck! – Wtower Jul 04 '16 at 05:27
  • Are you using OpenJDK or the Oracle one? – Jonathan E. Landrum Aug 17 '16 at 15:20
  • I am using Oracle JDK v 1.7 – Amit Mahajan Aug 17 '16 at 19:03
  • OK, I've just climbed out of a week-long battle with getting multiple versions of the JDK installed on my machine, and after looking at the function that contains line 197 in `idea.sh`, I'm inclined to ask if your JDK has `tools.jar` and `rt.jar` in its `lib` directory? – Jonathan E. Landrum Aug 24 '16 at 14:34
  • It just occurred to me that I had to create a hack to make Maven and IntelliJ play nice together. I set an alias in my `.zshrc` that changes the `$JAVA_HOME` variable temporarily: `idea='JAVA_HOME="/usr/java/java8" && /usr/local/bin/idea'`. Perhaps update your JDK to 1.8 and try again? – Jonathan E. Landrum Aug 24 '16 at 16:01
  • 2
    Need to be careful about the correct architecture is used like 32 bit version for 32 bit OS. –  Apr 06 '17 at 16:16

1 Answers1

1

Yes, Reinstalling the IDEA 32bit version resolved the issue. Here are the versions userd: OS 64 Bit, JDK 32 bit, IDEA 32 bit.

Amit Mahajan
  • 895
  • 6
  • 34