https://github.com/tornaia/java-minimum-desktop-app
Java Minimum Desktop App | Sample project
https://github.com/tornaia/java-minimum-desktop-app
desktop java java10 javapackager mit-license windows
Last synced: 10 months ago
JSON representation
Java Minimum Desktop App | Sample project
- Host: GitHub
- URL: https://github.com/tornaia/java-minimum-desktop-app
- Owner: tornaia
- License: mit
- Created: 2018-11-18T19:12:37.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-08T13:16:19.000Z (over 6 years ago)
- Last Synced: 2025-01-25T15:26:18.121Z (11 months ago)
- Topics: desktop, java, java10, javapackager, mit-license, windows
- Language: Batchfile
- Homepage: https://andrastornai.com/
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
### Java Minimum Desktop App
To demonstrate how easy is to build a desktop application with Java.
##### Prerequisites for development
* Windows 10 x64/
* Oracle JDK 10.0.2 (http://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html)
* Oracle JDK 13-jpackage+36 (https://jdk.java.net/jpackage/)
* Oracle JDK 14-jpackage+35 (https://jdk.java.net/jpackage/)
* Inno Setup 5.6.1 (u) (http://www.jrsoftware.org/isdl.php)
##### Hints
For a smooth building experience, it is recommended that you follow these rules on where and how to check out the source code.
* Do not check out the source code in a path which contains spaces or special characters. Chances are the build will not work. This is most likely to be an issue on Windows systems.
* Do not check out the source code in a path which has a very long name or is nested many levels deep. Chances are you will hit an OS limitation during the build.
##### How to build
See .bat files.
The javapackager will create the installer exe for this self-contained application. It consists of a single, installable bundle that contains the application and a copy of the JRE needed to run the application. When the application is installed, it behaves the in the same way as any native application.
##### More to read
* https://docs.oracle.com/javase/tutorial/deployment/selfContainedApps/index.html
* https://docs.oracle.com/javase/10/tools/javapackager.htm#JSWOR719
* https://andrastornai.com/