0 votes
640 views

I normally don't feel like a newbee, but this I can not solve:

Both 1.11 and 1.10.3 refuses to start because the 'org.eclipse.fx.osgi' bundle can not be found.
I am using Linux and the precompiled version of openLCA, so I should not need to install eclipse separately, right?

Anyone has any idea on how to solve, or debug this?

Here is the whole output from my log file. (sorry about the formatting. Can't seem to find a code format)

!SESSION Mon Feb 20 14:11:06 CET 2023 ------------------------------------------

!ENTRY org.eclipse.equinox.launcher 4 0 2023-02-20 14:11:06.697

!MESSAGE Could not find extension: org.eclipse.fx.osgi

!SESSION 2023-02-20 14:11:06.686 -----------------------------------------------

eclipse.buildId=unknown

java.version=1.8.0_222

java.vendor=AdoptOpenJDK

BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en

Command-line arguments:  -os linux -ws gtk -arch x86_64 -clean -data @noDefault

!ENTRY org.eclipse.osgi 4 0 2023-02-20 14:11:06.865

!MESSAGE Bundle org.eclipse.fx.osgi not found.

!ENTRY org.eclipse.osgi 4 0 2023-02-20 14:11:07.431

!MESSAGE Application error

!STACK 1

java.lang.UnsatisfiedLinkError: org.eclipse.swt.internal.gtk.OS._cachejvmptr()V

at org.eclipse.swt.internal.gtk.OS._cachejvmptr(Native Method)

at org.eclipse.swt.internal.gtk.OS.cachejvmptr(OS.java:492)

at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:91)

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:161)

at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:739)

at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)

at org.openlca.app.rcp.RcpApplication.start(RcpApplication.java:14)

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:660)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)

at org.eclipse.equinox.launcher.Main.run(Main.java:1468)

at org.eclipse.equinox.launcher.Main.main(Main.java:1441)

in openLCA by (230 points)
by (100 points)
Hi, I have the same problem on Fedora 37, but it works fine on Ubuntu 22.04. So it seems to be an environment issue, not a missing bundle in the build.
I hope someone will find a solution.

1 Answer

0 votes
by (125k points)
Some background information woujld be useful. How was openLCA installed, which operating system are you using - thank you.
by (230 points)
Sorry for being unclear Andreas,
I am using Arch Linux.
here's the complete output from uname -a:
Linux machine 6.1.9-arch1-2 #1 SMP PREEMPT_DYNAMIC Fri, 03 Feb 2023 18:49:53 +0000 x86_64 GNU/Linux

As for installation I just downloaded the gzipped tarballs from the openLCA download page, extracted them to an empty openLCA folder and executed the openLCA executable.
This approach has always worked in the past.
Not sure what has changed. I am not so proficient in the inner workings of openLCA or eclipse so I am having trouble debugging. Are they using the system path variables in any way that might create problems? Or is the  org.eclipse.fx.osgi bundle really missing?
-thank you
...