Eclipse from a Toolbox

Was wondering if it is possible to run Eclipse Java from a toolbox. I created a toolbox, created access to Java 8, then run eclipse but it gives me an error. Any suggestions would be welcome.
Thanks and BR,

java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en
Framework arguments: -product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product

!ENTRY org.eclipse.osgi 4 0 2019-09-10 16:58:24.932
!MESSAGE Application error
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(
at org.eclipse.swt.internal.gtk.OS.(
at org.eclipse.swt.internal.Converter.wcsToMbcs(
at org.eclipse.swt.internal.Converter.wcsToMbcs(
at org.eclipse.swt.widgets.Display.(
at org.eclipse.ui.internal.Workbench.createDisplay(
at org.eclipse.ui.PlatformUI.createDisplay(
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(
at org.eclipse.ui.internal.ide.application.IDEApplication.start(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(

Hi @ralphkw1,

Did you install Eclipse from the command line or software center?

Installing Eclipse

Fedora SilverBlue Toolbox Docs

Side note: if your end goal is just to have Eclipse working, there are unofficial Flatpaks available:

No install, just unzip into a local directory.

I usually have multiple instances of Eclipse with different configurations for each language or embedded target. I thought the concept of a container toolbox would be a natural. So flatpack install was less interesting.

1 Like

Okay, there’s a possibility your missing some build dependencies. I would try running the command below to ensure dependencies for eclipse are installed.

$ sudo dnf builddep eclipse

Thanks! This worked, not to sound ungrateful, :slight_smile: but WOW!

Transaction Summary

Install 529 Packages
Upgrade 8 Packages

Total download size: 546 M

Since I really don’t want to actually build eclipse I’d really like to figure out the minimum required to just run eclipse.
Thanks and BR,

1 Like

After some trial and error, all I needed additionally to run eclipse was to dnf install gtk3 and librsvg2.