Skip to content

using a different AWT  #3

Description

@ag88

This is more an 'app/build note':
I had an old linux installation which needs a different AWT jar library

it turns out there is a separate SWT repository for eclipse under the group org.eclipse.platform
https://search.maven.org/search?q=g:org.eclipse.platform
e.g. I modified the profile-<OS>.gradle file accordingly (this is an example for linux 64)

dependencies {
//    implementation('org.eclipse.swt:org.eclipse.swt.gtk.linux.x86_64:4.3')
    implementation('org.eclipse.platform:org.eclipse.swt.gtk.linux.x86_64:3.126.0') {
    	exclude group: 'org.eclipse.platform', module: 'org.eclipse.swt'
    }
}

note that the version 3.126.0 may not be necessarily suitable for one's OS environment, one need to find a version that works if one diagnose the errors to be strictly an SWT issue.

I managed a build that way by substituting the swt implementation.
it may not necessary solve one's problem, but leaving a note here just in case it helps.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions