frontpage

Creating an executable file with Launch4J and Java 11

How to build an executable file for a Java 11 GUI application using Launch4J

Before we look at the how perhaps we should ask the question of why.  The aim is to package up our Java application so that we can distribute it to others. We want them to be able to launch the application without having to install anything else.


Using JLink to build a Java 11 JRE

Since Java 9, there is no longer a Java Runtime Environment (JRE) shipped as part of the Java Development Kit.  The JDK provides a tool to allow you to create your own JRE.  In this article, we will look at using this tool to create our own JRE.


Making a Windows MSI from a Java 11 and JavaFX 11 Desktop application

With the advent of Java 9 and the introduction of 6 monthly release cycles, the Java Desktop landscape has changed considerably.  If you find yourself looking to build Desktop applications using JavaFX and present them as self-contained applications, then take note.


Showcasing a deployable JavaFX application

What is the point of writing an application if no one is going to use it?  We all want our applications out there in the hands of users.

So how can we achieve this if we are building JavaFX applications for the desktop?

Take a look at this video which showcases a JavaFX Spelling Test application and does just that.  It provides an installer that deploys an executable JavaFX Spelling Test program on a Windows 10 operating system.

 


So You Want to Write a Java Desktop Application

Novice programmers often find themselves overwhelmed when it comes to writing their own applications.  Sometimes what they need is a blueprint – an example to follow that shows them the way.  “So you want to write a Java application!” is written to do just that.  It takes a simple description of an application and walks through how to build the program.

So if you want to get to grips with how to produce your own applications then this book is written just for you.  See what it takes to take an idea through to completion.

 


Calling a SOAP web service from a Java client

Even Java Desktop applications can use web services, and in this article, we will take a look at how to make a call to a SOAP web service and receive a response.  For this simple example, we will make use of “The Naked Web Service” which was produced as an earlier article.


LEARNING TO CODE

The best way to learn is through doing and the quickest way to do things is for someone to show you the way, to lead you through each step, and show you how to put things together. Taking theory into the real world with practical coding


TUTORIALS TO GET YOU GOING

When starting out on your journey to learn something new like Java it can be a little daunting.   That’s how I felt in the beginning.  There were so many things I wasn’t sure about like using streams, input and output, swing, awt and a host of others, that I wanted to know.

So, for anyone looking to develop their Java programming skills and feeling the same way, I have put together some short tutorials demonstrating how to do certain things.  I hope you can take these tutorials and include them in your own Java desktop applications.  Each tutorial comes with a description to explain what the video is about.  There is also the full project source code available to download if required so you can skip the typing and just follow along.  Just go here to see the tutorials.