Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Can't use SWT in eclipse(get a security exception when using external SWT jar)
Can't use SWT in eclipse [message #1865400] Thu, 02 May 2024 14:19 Go to next message
ss ss is currently offline ss ssFriend
Messages: 1
Registered: May 2024
Junior Member
I have downloaded the SWT jar from the eclipse website and added it to:

java build path -> libraries

in the properties to the project

i can import classes from the jar but when i try to run it i get this:

Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
at java.base/
at java.base/
at java.base/java.util.jar.JarVerifier.processEntry(
at java.base/java.util.jar.JarVerifier.update(
at java.base/java.util.jar.JarFile.initializeVerifier(
at java.base/java.util.jar.JarFile.getInputStream(
at java.base/jdk.internal.module.ModuleReferences$JarModuleReader.implOpen(
at java.base/jdk.internal.module.ModuleReferences$
at java.base/
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassInModuleOrNull(
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(
at java.base/java.lang.ClassLoader.loadClass(
at bla/bla.bla.main(

can someone help? thanks

im on xubuntu 22
Re: Can't use SWT in eclipse [message #1865475 is a reply to message #1865400] Sat, 04 May 2024 05:32 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33152
Registered: July 2009
Senior Member
You can ask here:

But folks will want to know, exactly which version of SWT did you get and from where exactly did you get it, as well as which version of Java you are using.

Ed Merks
Professional Support:
Previous Topic:Unable to install plugin to Eclipse Kepler in Mac
Next Topic:Unable to run the Birt Report from Jsp
Goto Forum:

Current Time: Sat May 25 12:31:52 GMT 2024

Powered by FUDForum. Page generated in 0.08630 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top