Package Details: swt 4.30-1

Git Clone URL: (read-only, click to copy)
Package Base: swt
Description: An open source widget toolkit for Java
Upstream URL:
Licenses: EPL-2.0
Submitter: arojas
Maintainer: Khorne
Last Packager: Khorne
Votes: 6
Popularity: 0.019706
First Submitted: 2021-04-22 20:25 (UTC)
Last Updated: 2024-01-24 09:10 (UTC)

Dependencies (13)

Sources (2)

Latest Comments

1 2 3 Next › Last »

curlywei commented on 2024-02-17 08:01 (UTC)

I solved it after I change to version 21. Thank you very much.

Khorne commented on 2024-02-16 09:29 (UTC)


You'll need to swap to JDK >= 17

curlywei commented on 2024-02-15 06:31 (UTC) (edited on 2024-02-15 06:37 (UTC) by curlywei)

Hi @Khorne I got:

> $ archlinux-java get                                                                                                                                                                                            

jdk-openjdk and openjdk-src have been installed by me.

Khorne commented on 2024-01-30 12:03 (UTC)


What's archlinux-java get reporting?

curlywei commented on 2024-01-29 02:45 (UTC)

Today I upgrade from 4.29 to 4.30. I got error messages:

   [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set to 1706495951
    [mkdir] Created dir: /home/dewei/.cache/yay/swt/src/build

    [javac] Compiling 452 source files to /home/dewei/.cache/yay/swt/src/build
    [javac] error: invalid source release: 17
    [javac] Usage: javac <options> <source files>
    [javac] use --help for a list of possible options

/home/dewei/.cache/yay/swt/src/build-swt.xml:11: Compile failed; see the compiler error output for details.

Total time: 0 seconds
==> ERROR: A failure occurred in build().
 -> error making: swt-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
swt - exit status 4

Can anyone suggest something?

jhunkeler commented on 2023-07-24 16:49 (UTC)

Thanks, now it makes sense. Installing openjdk-src installs jdk-openjdk. Shouldn't jdk-openjdk be added as a make dependency then?

Khorne commented on 2023-07-23 16:19 (UTC)

extra/jdk-openjdk 20.0.1.u9-3 [installed: 20.0.2.u9-3]
extra/jdk11-openjdk 11.0.19.u7-1 [installed: 11.0.20.u8-2]
extra/jdk17-openjdk 17.0.7.u7-1 [installed: 17.0.8.u7-1]
extra/jdk8-openjdk 8.372.u07-1

jni.h is contained in all of the repo openjdk packages.

jhunkeler commented on 2023-07-23 11:12 (UTC)

Installing the openjdk-src package as a make dependency fixed the missing jni.h issue for me.

kane_thornwyrd commented on 2023-07-23 08:48 (UTC)

If you can't update swt, try running # archlinux-java set java-11-openjdk, because as stated in this comment swt depends on java-11-openjdk. It solved the issue for me.