Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse swt(Problem using Swt with Eclipse 2024-06)
Eclipse swt [message #1867092] Fri, 14 June 2024 13:52 Go to next message
Alex Lutat is currently offline Alex LutatFriend
Messages: 20
Registered: July 2009
Junior Member
I use Eclipse Swt For my java Applications since Many years on Windows and since 4 years on Raspberry pi Model 4B successfully.

I world like to update to: Raspberry pi Model 5, linux aarch64
I tried the following steps:

Installed Eclipse Java For developers 2024-06
Downloaded corresponding Swt Archive
Imported Swt Archive Into Workspace: a project org.Eclipse.Swt ist generate automatically
Created project myproject
Added org.Eclipse.Swt to project dependency : Bild Path -> project (classpath/Module?')
Created a sample Swt Java file
The Widgets are recognized And an import Statement is added on Top of the Java file. However, the Statement Implies an error
" org.Eclipse.Widgets.Display is Not accessibile"

Any suggestions?
Re: Eclipse swt [message #1867278 is a reply to message #1867092] Thu, 20 June 2024 12:54 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4507
Registered: July 2009
Senior Member

Which Java version are you targeting? Did you inadvertently pick one that defaults to being modular by adding a module-info.java for you?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Eclipse swt [message #1867362 is a reply to message #1867278] Mon, 24 June 2024 02:45 Go to previous messageGo to next message
Wumun Greken is currently offline Wumun GrekenFriend
Messages: 2
Registered: June 2024
Junior Member
I want to uninstall everything that is now installed on my Linux computer without effecting the new install of Eclipse since I want to start from scratch. What is the process to accomplish this?

Re: Eclipse swt [message #1867368 is a reply to message #1867362] Mon, 24 June 2024 05:29 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Delete the installation folder, the workspace folder, and probably everything in ~/.p2 and ~/.eclipse.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse swt [message #1867581 is a reply to message #1867278] Sun, 30 June 2024 09:44 Go to previous messageGo to next message
Alex Lutat is currently offline Alex LutatFriend
Messages: 20
Registered: July 2009
Junior Member
I tried it with
JRE System Library [java-17 openjdk-arm64]

for both, myProject and SWTZ project

An dnow I get the error message

Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

Re: Eclipse swt [message #1867785 is a reply to message #1867581] Sun, 07 July 2024 15:40 Go to previous message
Alex Lutat is currently offline Alex LutatFriend
Messages: 20
Registered: July 2009
Junior Member
The problem is resolved.
Just take the corresponding SWT.jar and delete the two files ECLIPSE_.RSA and ECLIPSE_.SF in the directory META-INF using e.g. xarchiver.
The resulting SWT.jar works
Previous Topic:Install Old Version
Next Topic:Embedded Eclipse JLink Script Call on Run/Pause
Goto Forum:
  


Current Time: Thu Dec 26 13:08:29 GMT 2024

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

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

Back to the top