How to Use MyEclipse 14.04 in Ubuntu 10.7

Source: Internet
Author: User

Most of the JSP websites developed on Ubuntu (or other platforms) are developed using MyEclipse.

Here we will share with you how to handle the flashback of MyEclipse.

Reason for crash: use the code prompt shortcut key

Flashback style: exit directly and generate an Error Log File

Error Log File:

#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc = 0x00007f423ca0c2a1, pid = 3294, tid = 139925162981120
#
# Java VM: Java HotSpot (TM) 64-Bit Server VM (11.3-b02 mixed mode linux-amd64)
# Problematic frame:
# C [libsoup-2.4.so.1 + 0x6c2a1] soup_session_feature_detach + 0x11
#
# If you wowould like to submit a bug report, please visit:
# Http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- T h r e a d ---------------

Current thread (0x00007f42d8007c00): JavaThread "main" [_ thread_in_native, id = 3295, stack (0x00007f42dd927000, 0x00007f42dda28000)]

Siginfo: si_signo = SIGSEGV: si_errno = 0, si_code = 1 (SEGV_MAPERR), si_addr = 0x0000000000000000

Registers:
##### The middle part is omitted, too many

Environment Variables:
JAVA_HOME =/usr/local/jdk1.7.0
JRE_HOME =.:/usr/local/jdk1.7.0/jre
CLASSPATH =.:/usr/local/jdk1.7.0/lib:.:/usr/local/jdk1.7.0/jre/lib
PATH =/usr/local/jdk1.7.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin: /bin:/usr/games:/usr/local/games
LD_LIBRARY_PATH =/home/gopain/MyEclipse/Common/binary/com. sun. java. jdk. linux. x86_64_1.6.0.013/jre/lib/amd64/server:/home/gopain/MyEclipse/Common/binary/com. sun. java. jdk. linux. x86_64_1.6.0.013/jre/lib/amd64:/home/gopain/MyEclipse/Common/binary/com. sun. java. jdk. linux. x86_64_1.6.0.013/jre /.. /lib/amd64
SHELL =/bin/bash
DISPLAY =: 0.0

Signal Handlers:
SIGSEGV: [libjvm. so + 0x5fcd20], sa_mask [0] = 0x7ffbfeff, sa_flags = 0x10000004
SIGBUS: [libjvm. so + 0x5fcd20], sa_mask [0] = 0x7ffbfeff, sa_flags = 0x10000004
SIGFPE: [libjvm. so + 0x4e0eb0], sa_mask [0] = 0 x 7ffbfeff, sa_flags = 0x10000004
SIGPIPE: SIG_IGN, sa_mask [0] = 0x00001000, sa_flags = 0x10000000
SIGXFSZ: [libjvm. so + 0x4e0eb0], sa_mask [0] = 0x7ffbfeff, sa_flags = 0x10000004
SIGILL: [libjvm. so + 0x4e0eb0], sa_mask [0] = 0x7ffbfeff, sa_flags = 0x10000004
SIGUSR1: SIG_DFL, sa_mask [0] = 0x00000000, sa_flags = 0x00000000
SIGUSR2: [libjvm. so + 0x4e35d0], sa_mask [0] = 0x00000000, sa_flags = 0x10000004
SIGHUP: [libjvm. so + 0x4e3320], sa_mask [0] = 0x7ffbfeff, sa_flags = 0x10000004
SIGINT: [libjvm. so + 0x4e3320], sa_mask [0] = 0x7ffbfeff, sa_flags = 0x10000004
SIGTERM: [libjvm. so + 0x4e3320], sa_mask [0] = 0x7ffbfeff, sa_flags = 0x10000004
SIGQUIT: [libjvm. so + 0x4e3320], sa_mask [0] = 0x7ffbfeff, sa_flags = 0x10000004


--------------- S y s t e m ---------------

OS: jessie/sid

Uname: Linux 3.20.- 24-generic # 47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64
Libc: glibc 2.19 NPTL 2.19
Rlimit: STACK 8192 k, CORE 0 k, NPROC 30376, NOFILE 4096, AS infinity
Load average: 0.99 1.06 0.81

CPU: total 2 (8 cores per cpu, 2 threads per core) family 6 model 5 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, ht

Memory: 4 k page, physical 3909676 k (1213728 k free), swap 4051964 k (4051964 k free)

Vm_info: Java HotSpot (TM) 64-Bit Server VM (11.3-b02) for linux-amd64 JRE (1.6.0 _ 13-b03 ), built on Mar 9 2009 11:08:22 by "java_re" with gcc 3.2.2 (SUSE Linux)

Time: Wed May 14 12:58:44 2014
Elapsed time: 109 seconds

I originally thought that the [memory consumption during code prompt] would flash back when the code prompt is used, as long as the code prompt is not used, it can still be developed normally. But it is obviously a little naive, and it will automatically exit after a while without any prompts.

I found a lot of information on the Internet and did not [Baidu].
 
Later I found it.
 
Solution:
 
Modify the myeclipse. ini file,

-Xmx512m
-XX: MaxPermSize = 512 m
-XX: ReservedCodeCacheSize = 256 m
-Dosgi. nls. warnings = ignore

Increase the memory allocation. Do not worry that myeclipse will actually use too much memory. This software is very responsible, not how much memory is used. This does not completely solve the problem.

Then append the file:

-Dorg. eclipse. swt. browser. DefaultType = mozilla

-Dorg. eclipse. swt. browser. UseWebKitGTK = true
-Dorg. eclipse. swt. browser. XULRunnerPath =/usr/lib/xulrunner-2

The first is to open the jsp file flash back, and the second and third are to open the class file flash back, not to use the code prompt.

But the problem is solved in this way, and it will never crash again.

Why does MyEclipse start Tomcat slowly and Its Solution

MyEclipse 12.10 + download + install + crack in Ubuntu 10.6

Install MyEclipse10.0 Linux + cracking

Configure JDK environment variables in MyEclipse

Full installation of MyEclipse10 and MySQL in Ubuntu

MyEclipse10 development SSH2 (Struts2.1 + Spring + Hibernate)

Configure the MySQL 13.04 environment in Ubuntu 10.7

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.