Now the question is if this jar is proper bundle and if so if it's
mentioned somewhere in Eclipse OSGi configuration. Do you have
configuration/config.ini file? Is there a bundle list inside it or is
there kind of simple configuration use? i.e. have a look into
osgi.bundles= line.
If simple cofiguration is used, then take it's name and see
bundles.info inside configuration/<simple configuration name> --
verify that org.eclipse.swt.gtk.openbsd is mentioned there in some
form.

I'm sorry but I can't verify myself as I don't have Eclipse running on
OBSD yet and on Linux I do have 4.5. release which may be quite
different from 3.x on OBSD...

On Mon, Sep 14, 2015 at 8:56 PM, Jack J. Woehr <j...@well.com> wrote:
> Built eclipse today /usr/ports/devel/eclipse
>
> When I try to run it, it throws and error dialog referring me to
> ~/worspace/.metadata/.log where I find
> (among other things):
>
> !ENTRY org.eclipse.osgi 4 0 2015-09-14 12:37:49.832
> !MESSAGE Application error
> !STACK 1
> java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3236 in java.library.path
>         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
>         at java.lang.Runtime.loadLibrary0(Runtime.java:849)
>         at java.lang.System.loadLibrary(System.java:1088)
>         at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
>         at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
>         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:126)
>         at
> org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:436)
>         at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
>         at
> org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:122)
>         at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:75)
>         at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
>         at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
>         at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
>         at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
>         at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
>         at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
>         at org.eclipse.core.launcher.Main.run(Main.java:977)
>         at org.eclipse.core.launcher.Main.main(Main.java:952)
>
> I do find in
> /usr/local/eclipse/plugins/org.eclipse.swt.gtk.openbsd.x86_3.2.2.v3236.jar
> the following entry:
>
> 354196  Defl:N    82743  77% 09-14-2015 11:30 0c58e901
> libswt-pi-gtk-3236.so.4.0
>
> The Dell Latitude D830 laptop I am running this on only as 1G of memory,
> could it be unable to load the library
> for lack of memory?
>
> $ java -version
> openjdk version "1.7.0_71"
> OpenJDK Runtime Environment (build 1.7.0_71-b14)
> OpenJDK Client VM (build 24.71-b01, mixed mode)
>
> --
> Jack J. Woehr     # Science is more than a body of knowledge. It's a way of
> www.well.com/~jax # thinking, a way of skeptically interrogating the
> universe
> www.softwoehr.com # with a fine understanding of human fallibility. - Carl
> Sagan
>

Reply via email to