[ ← JBASICODE ]


JBASICODE - Installation

1. Neuinstallation / New Installation

1.1. Java und JBASICODE / Java and JBASICODE

Deutsch:
  1. Installieren Sie bitte eine aktuelle Java-Version (z.B. OpenJDK), mindestens jedoch Version 8 (siehe auch Hinweise zu Java).
  2. Kopieren Sie die JBASICODE-Programmdatei jbasicode-1.1.jar in ein beliebiges Verzeichnis auf die Festplatte ihres Computers oder auf einen Dateiserver.
  3. Starten Sie JBASICODE mit dem Befehl:
    java -jar jbasicode-1.1.jar
    Gegebenfalls müssen Sie den vollständigen Dateinamen einschließlich des Pfads für das Kommando java und/oder die Datei jbasicode-1.1.jar angeben, z.B.:
    /usr/bin/java -jar /home/benutzer/jbasicode-1.1.jar

English:
  1. Please install a current version of Java (e.g. OpenJDK), but at least version 8 (see also Notes on Java).
  2. Copy the JBASICODE program file jbasicode-1.1.jar to any directory on your computer's hard drive or to a file server.
  3. Start JBASICODE with the command:
    java -jar jbasicode-1.1.jar
    You may need to specify the full file name including the path for the java command and/or the jbasicode-1.1.jar file, e.g.:
    /usr/bin/java -jar /home/user/jbasicode-1.1.jar

1.2. Hinweise für Windows / Notes for Windows

Deutsch: Die o.a. Installationsanweisung gilt auch für Windows. Jedoch wird beim Starten des Java-Programms die Eingabeaufforderung geöffnet, in der die Standardausgabe erscheint. JBASICODE benutzt die Standardausgabe nicht, sodass auch die Eingabeaufforderung nicht benötigt wird und somit nicht erscheinen sollte. Das erreichen Sie durch Aufruf von javaw.exe, z.B.:
javaw.exe -jar C:\jbasicode-1.1.jar
Die Laufwerksbuchstaben und Pfade müssen Sie natürlich an Ihre Gegebenheiten anpassen.

Zum Schluss sollten Sie auf dem Desktop eine Verknüpfung erstellen, um JBASICODE bequem starten zu können:
  1. Drücken Sie mit der rechten Maustaste auf den Desktop-Hintergrund.
  2. Sie sehen ein Menü. Wählen Sie darin den Eintrag Verknüpfung erstellen aus.
  3. In den folgenden Fenstern müssen Sie die Kommandozeile (Speicherort) und den Namen der Verknüpfung angeben. Als Speicherort geben Sie den o.a. Aufruf ein. Den Namen der Verknüpfung können Sie frei wählen, z.B. "JBASICODE".
  4. Nachdem die Verknüpfung angelegt wurde, Laden Sie das JBASICODE-Icon im ICO-Format herunter. Anschließend öffnen Sie über das Kontext-Menü die Eigenschaften der Verknüpfung und klicken darin auf Anderes Symbol.... Geben Sie hier nun das heruntergeladene JBASICODE-Icon an


English: The above installation instructions also apply to Windows. However, when you start the Java program, the command prompt opens, where the standard output appears. JBASICODE does not use the standard output, so the command prompt is not needed and should therefore not appear. You can do this by calling javaw.exe, e.g.:
javaw.exe -jar C:\jbasicode-1.1.jar
You will, of course, have to adapt the drive letters and paths to your needs.

Finally, you should create a link on your desktop to easily launch JBASICODE:
  1. Right-click on the desktop background.
  2. You'll see a menu. Select the entry New Shortcut.
  3. In the following windows, you must specify the command line (location of the item) and the name of the shortcut. Enter the above-mentioned call as the location. You can freely choose the name of the shortcut, e.g., "JBASICODE".
  4. After the shortcut has been created, Download the JBASICODE icon in ICO format. Then, open the shortcut's properties via the context menu and click Change Icon.... Now choose the downloaded JBASICODE icon here.


1.3. Hinweise für Linux/Unix / Notes for Linux/Unix

Deutsch: Bei einigen Fenstersystemen, z.B. KDE, können Sie ähnlich wie bei Windows eine Verknüpfung auf dem Desktop anlegen und dann durch Klicken auf das Symbol JBASICODE einfach starten. Beim Icon müssen Sie die PNG-Datei herunterladen.

Wenn Sie keine Verknüpfung anlegen wollen oder können, sollten Sie sich ein Shell-Script (z.B. mit dem Namen jbasicode.sh) mit folgendem Inhalt schreiben, um die Kommandozeile nicht jedesmal komplett eingeben zu müssen:

#!/bin/sh
/usr/bin/java -jar /home/benutzer/jbasicode-1.1.jar

Die Pfade müssen Sie natürlich an Ihre Bedürfnisse anpassen. Vergessen Sie nicht, das Execute-Flag des Shell-Scripts mit dem Befehl chmod zu setzen, z.B.:

chmod 755 jbasicode.sh



English: On some windowing systems, such as KDE, you can create a shortcut on the desktop, similar to Windows, and then simply start it by clicking on the JBASICODE icon. For the icon, you need to download the PNG file.

If you don't want or can't create a shortcut, you should write a shell script (e.g. named jbasicode.sh) with the following content, so you don't need to enter the entire command line every time:

#!/bin/sh
/usr/bin/java -jar /home/user/jbasicode-1.1.jar

Of course, you can adapt the paths to your needs. Don't forget to set the shell script's execute flag with the chmod command, e.g.:

chmod 755 jbasicode.sh



2. JBASICODE aktualisieren / Update JBASICODE

Deutsch: Ersetzen Sie in ihrer vorhandenen JBASICODE-Installation die JAR-Datei durch die aktuelle JBASICODE-Programmdatei jbasicode-1.1.jar. Anschließend passen Sie den Aufuf von JBASICODE (z.B. Verknüpfung auf dem Desktop) entsprechend an, so dass der Dateiname zur JAR-Datei übereinstimmt (z.B. Versionsnummer im Dateinamen).

English: In your existing JBASICODE installation replace the jar file with the current JBASICODE program file jbasicode-1.1.jar. Then adjust the JBASICODE launch method (e.g. shortcut on the desktop) accordingly so that the file name matches the jar file (e.g. version number in the file name).

© 2025 Jens Müller