Help needed updating java/eclipse to 4.11

Jonathan Chen jonc at chen.org.nz
Sat Mar 16 07:20:05 UTC 2019


Hi,

With the impending demise of java/eclipse 4.6 due to webkit-gtk2
deprecation, I've been attempting to update the port to
eclipse-4.11.RC2. Progress has been good, and I've managed to produce
an executable from the build. Unfortunately, while I get a
splashscreen displayed, the application currently dies with:

java.lang.UnsatisfiedLinkError: org.eclipse.swt.internal.C.memmove(I[II)V
    at org.eclipse.swt.internal.C.memmove(Native Method)
    at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:68)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:209)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:155)
    at org.eclipse.swt.widgets.Display.<clinit>(Display.java:159)
    at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:749)
    at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
    at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:185)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:128)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:661)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1476)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1449)

There's some issue with JNI bindings that I just don't understand, and
I'm hoping that some on the list (java@ or eclipse@) may be willing to
give me a hand. Please drop me a line if you're interested in helping
me bring java/eclipse up to date on FreeBSD.

Thanks!
-- 
Jonathan Chen <jonc at chen.org.nz>


More information about the freebsd-java mailing list