-
Notifications
You must be signed in to change notification settings - Fork 6
Installation
Fred Rothganger edited this page Oct 17, 2024
·
9 revisions
You will need to install the following items:
- The latest Java Runtime Environment (JRE). N2A requires at least Java 15, whereas many systems sill have Java 8 installed by default. Oracle has made it more difficult to obtain a standalone JRE for versions newer than 8. It is OK to get the Java Development Environment (JDK) instead, though this is a heavier solution. Go to Oracle for JDK, or to Azul for either JDK or JRE.
- The latest n2a.jar.
- Your favorite simulator.
If you have a JRE installed, you should be able to launch the N2A jar by double-clicking it. Alternately, on the command line type: java -jar n2a.jar
Some Linux distros don't supply a desktop configuration for jar files. Without it, command-line is the only way to launch the app. To make jar files conveniently launchable, copy the following text into (for example) ~/.local/share/applications/java-jar.desktop:
[Desktop Entry]
Name=Java Archive
Exec=java -jar %f
# May need to replace this icon file with something else ...
Icon=java-17-openjdk
Type=Application
Categories=Java
MimeType=application/x-java-archive
Terminal=false
NoDisplay=true
To make this launcher the default for jar files, you may also need to update (for example) ~/.local/share/applications/mimeapps.list by adding/modifying this line:
application/x-java-archive=java-jar.desktop;
Alternately, your desktop environment may provide a GUI way to permanently change file associations.