This method works on my setup: Windows 10, B4J 9.10, OpenJDK 11. It works even if the jar or exe is copied or renamed.
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
I wanted to limit my app to running as a single instance, in both Windows and Linux.
Several solutions for this single instance problem have been posted, but usually do not include running in Linux.
Erel made a few suggestions in one of his posts. One of these was to use an external file as a...