single instance

  1. W

    B4J Code Snippet B4J Single Instance checker irrespective of the Java version and packager used

    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. #AdditionalJar: sqlite-jdbc- Sub AppStart (Form1 As Form, Args() As String) MainForm = Form1 MainForm.Show If...
  2. N

    Share My Creation B4J single instance

    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...