java - Unified set of Eclipse Luna workarounds for Red Hat Enterprise Linux 6 -
java - Unified set of Eclipse Luna workarounds for Red Hat Enterprise Linux 6 -
i'm using company-administered re-create of reddish hat linux, means force fixes out me on regular basis. several of recent fixes have caused eclipse (any version) blow uninformative java crash.
websearching has been frustrating, since there several incompatabilities can cause this. in scheme there appear 2 conflicts versions of mozilla code, , 1 cairo graphics library.
now i've got working, thought ought share i'm using, save others searching , experimentation time. not guaranteed, means, got me on air after painful thrashing.
late edit: should have noted when able upgrade eclipse mars, crashes stopped occurring default configuration. out of date.
the easiest way illustrate shell script. note much of commented out, wanted leave here "notes" things seek if still doesn't solve problems. in case, suppressing gre , cairo sufficient.
note "nocairo" switch moved exlipse.ini file... preferred maintain here wouldn't forget apply if switch copy/version of eclipse.
i haven't written pass command-line arguments thru eclipse; left simple exercise reader.
one other thought: may (or may not) want add together -vm switch eclipse invocation have eclipse run particular re-create of jre. may help maintain things stable if upgrade scheme newer version of java.
hope helps someone...
#!/bin/bash # having problem running eclipse on latest open client linux? # front-end collection of kluges may help. # workaround other display bugs, not needed...? # export gdk_native_windows=true # environment switch: workaround tooltip bug export gre_home=/doesnotexist # java switch: workaround cairo breakage. # go eclipse.ini nocairo=-dorg.eclipse.swt.internal.gtk.cairographics=false # java switch: workaround xulrunner breakage # there seems open question versions work, if any. # suggest pointing specific 1.9 build, suggest disabling. # i'm trying without alter now. # go eclipse.ini #noxul=-dorg.eclipse.swt.browser.xulrunnerpath=/dev/nul noxul= # apply nocairo/noxul switches above # plus joe's additional opts... # show class , workspace name in eclipse window header eclipse -showlocation -vmargs ${nocairo} ${noxul} java linux eclipse redhat
Comments
Post a Comment