Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/praj-foss/swt-jlink-demo
Demo of a self-contained SWT app, built using jlink and ModiTect
https://github.com/praj-foss/swt-jlink-demo
desktop gradle java moditect swt
Last synced: 20 days ago
JSON representation
Demo of a self-contained SWT app, built using jlink and ModiTect
- Host: GitHub
- URL: https://github.com/praj-foss/swt-jlink-demo
- Owner: praj-foss
- License: unlicense
- Created: 2020-07-17T18:18:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-18T14:39:33.000Z (over 4 years ago)
- Last Synced: 2024-11-16T15:34:44.388Z (3 months ago)
- Topics: desktop, gradle, java, moditect, swt
- Language: Kotlin
- Homepage: https://www.praj.in/posts/2020/self-contained-native-looking-apps/
- Size: 58.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
swt-jlink-demo
==============
Demo of a self-contained [SWT](https://www.eclipse.org/swt/) app, built using
[jlink](https://docs.oracle.com/en/java/javase/11/tools/jlink.html) and
[ModiTect](https://github.com/moditect/moditect-gradle-plugin).## Building
You'll need JDK 11 or higher installed. Use the following command to build:
```shell script
./gradlew imageZip
```The generated `demo.zip` should be found inside your `build` folder. It weighs
around **30mb** and comes with a minimized Java runtime, making it completely
standalone. Extract this zip, and execute the `demo` inside its `bin` folder to
see it running.