Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337333

Summary: Crash with "Fatal relocation error file ...jre/plugin/sparc/ns7/libjavaplugin_oji.so" when try to set "Preferences - Web Browser"
Product: [Eclipse Project] Platform Reporter: O. Duffey <oduffey>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: critical    
Priority: P3 CC: daniel.m.ormond, grant_gayed, remy.suen
Version: 3.6.1   
Target Milestone: ---   
Hardware: Sun   
OS: Solaris   
Whiteboard:

Description O. Duffey CLA 2011-02-16 11:51:20 EST
Build Identifier: M20100909-0800

I Just install 3.6.1 (Helios) and i can't set my "Web Browser Preferences".

Error in console is:
/eclipse &
ld.so.1: java: fatal: relocation error: file /usr/jdk/instances/jdk1.6.0_18/jre/plugin/sparc/ns7/libjavaplugin_oji.so: symbol PR_NewMonitor: referenced symbol not found

uname -a
SunOS suna 5.10 Generic_137137-09 sun4u sparc SUNW,SPARC-Enterprise

The same error if i try the View "Javadoc".

Reproducible: Always

Steps to Reproduce:
1. ./eclipse &
2. In Eclipse choose: "Window - Preferences - General - Web Browser"
3. Fatal crash
Comment 1 Grant Gayed CLA 2011-02-22 15:10:35 EST

*** This bug has been marked as a duplicate of bug 290911 ***
Comment 2 O. Duffey CLA 2011-09-22 08:49:44 EDT
I solve this problem by deleting my plugins environement in Firefox, that contains some links to libjavaplugin_oji.so that are probably no more up to date!

>rm -r $HOME/.mozilla/plugins/*

Finally i can migrate from my Eclipse Galileo version to Indigo !
Comment 3 Dann Ormond CLA 2011-11-23 14:05:13 EST
I removed the link to libjavaplugin_oji.so in my /usr/sfw/lib/mozilla/plugins directory and then the browser widget started working.  This does remove the java plugin from mozilla but I run firefox that has its own plugins directory.

As a note I am running:
Solaris 10 x86 u10 (8/11)

I had the problem with both Eclipse 3.6.1 and Eclipse 3.7.0