An open API service indexing awesome lists of open source software.

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

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/