[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.epf] Re: 1.2.0.1 fails under Ubuntu 7.10 (Gutsy)

Hey Darren,

I don't know if you ever got this working, but I had the same problem on 
Ubuntu 8.04.  Here's the solution I found, quite by accident, while 
reading the <a href=http://wiki.eclipse.org/index.php/Mylyn/
User_Guide#Browser_issues>Mylyn User Guide</a>:

1. Install Seamonkey, by doing a search from "Add/Remove Programs."
I already had xulrunner and Firefox installed, but none of /usr/lib/
xulrunner, /usr/lib/mozilla or /usr/lib/firefox worked for 
MOZILLA_FIVE_HOME.  /usr/lib/seamonkey does the trick.

2. Run EPF from a shell script, like so:

#!/usr/bin/bash

export MOZILLA_FIVE_HOME=/usr/lib/seamonkey
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MOZILLA_FIVE_HOME
./epf

<<EOF

3. To test to see if your browser is properly configured, select Window -
> Show View -> Other -> General -> Internal Web Browser, then try to 
bring up a web page.

It just goes to show, it pays to be curious.  I'd given up on getting EPF 
to work on Linux, when I came across this the next day, working on a 
completely different problem.

Good luck!

	Mark Tippetts

On Mon, 15 Oct 2007 12:11:54 +0100, Darren Bell wrote:

> I get
> 
> !SESSION 2007-10-15 11:51:05.966
> ----------------------------------------------- eclipse.buildId=unknown
> java.version=1.6.0_02
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB Framework
> arguments:  -defaultlibrary OpenUP Command-line arguments:  -os linux
> -ws gtk -arch x86 -data @user.home/EPF/workspace.1201 -defaultlibrary
> OpenUP
> 
> !ENTRY org.eclipse.osgi 4 0 2007-10-15 11:51:12.473 !MESSAGE Application
> error
> !STACK 1
> java.lang.UnsatisfiedLinkError: no swt-gtk-3346 or swt-gtk in
> swt.library.path, java.library.path or the jar file
> 	at org.eclipse.swt.internal.Library.loadLibrary(Library.java:219) 
at
> 	org.eclipse.swt.internal.Library.loadLibrary(Library.java:151) at
> 	org.eclipse.swt.internal.C.<clinit>(C.java:21) at
> 	org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63) at
> 	org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54) at
> 	org.eclipse.swt.widgets.Display.<clinit>(Display.java:128) at
> 	org.eclipse.ui.internal.Workbench.createDisplay
(Workbench.java:482) at
> 	org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) at
> 	org.eclipse.epf.rcp.ui.MainApplication.start(Unknown Source) at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run
(EclipseAppHandle.java:153)
> 	at
> 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication
(EclipseAppLauncher.java:106)
> 	at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:76)
> 	at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:363)
> 	at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:176)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597) at
> 	org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504) 
at
> 	org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) at
> 	org.eclipse.equinox.launcher.Main.run(Main.java:1169) at
> 	org.eclipse.equinox.launcher.Main.main(Main.java:1144)
> 
> 
> Now, i've tried adding libswt-gtk-3346.so to LD)LIBRARY_PATH and copying
> into /usr/local/lib, but none of these work.
> 
> Any help on this would be appreciated.