About the Unbutu (64-bit) Eclipse crash solution, unbutueclipse
Today, I encountered a very bad problem:
I was going to build an android development environment under Ubuntu today. I downloaded Eclipse + ADT from the official website, decompress it, and open it. Everything works.
Unexpectedly, the sky was unpredictable, and a new Project was created. When I was just planning to knock on the code, I created a new class, And the cursor flashed a few times, so I went straight back! Mom, try again, and continue to crash!
Check the information in the terminal as follows:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc = 0x00007f2a7696a2a1, pid = 6640, tid = 139823043487488
#
# JRE version: Java (TM) SE Runtime Environment (7.0 _ 51-b13) (build 1.7.0 _ 51-b13)
# Java VM: Java HotSpot (TM) 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libsoup-2.4.so.1 + 0x6c2a1] soup_session_feature_detach + 0x11
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit-c unlimited" before starting Java again
#
# An error report file with more information is saved:
#/Home/jason/codemonkey/adt-bundle-linux-x86_64-20140702/eclipse/hs_err_pid6640.log
#
# If you wowould like to submit a bug report, please visit:
# Http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Nima, my first reaction was, what happened to Jre?
So, reconfigure JDK and JRE.
Then try again and continue to crash !!!
......
......
......
After countless struggles, I finally found a solution:
Open the eclipse. ini file in the eclipse directory and add the following line:
-Dorg. eclipse. swt. browser. DefaultType = mozilla
The problem is solved perfectly!
Don't ask me why, because I don't know either...
Why does eclipse crash? Solution
The easiest way for the boss is
Install JDK
Then download an ECLIPSE
There is no problem. This is the simplest and most effective solution, and the fastest solution in many cases.
Double-click eclipse and then crash
JDK1.6 Not Installed
Or the environment variable is faulty.
Run the cmd command to create a java