Hi everyone. I’m pretty new to Linux, so hope I can explain this correctly.
I’m trying to open a program that uses Java to run, but it doesn’t know what application is needed to run it. I right click on it, open with, other application - but of course there is no correct application listed.
Have done some research and run the following commands in Konsole -
karl@erlangen:~> cat Schreibtisch/Jalbum.desktop
[Desktop Entry]
Categories=Graphics;Java
Comment[de_DE]=downscales your images to web and thumbnail size, creates complete web pages, and uploads them to jalbum.net or your own website!
Comment=downscales your images to web and thumbnail size, creates complete web pages, and uploads them to jalbum.net or your own website!
**Exec=java -jar /usr/lib/jalbum/JAlbum.jar **
GenericName[de_DE]=jAlbum is the best
GenericName=jAlbum is the best
Icon=/usr/lib/jalbum/icons/JalbumApp48.png
MimeType=
Name[de_DE]=jAlbum
Name=jAlbum
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
Version=1.0
X-DBUS-ServiceName=
X-DBUS-StartupType=none
X-KDE-SubstituteUID=false
X-KDE-Username=
karl@erlangen:~>
Many different versions of JVM exist:
karl@erlangen:~> java -version
openjdk version "14.0.1" 2020-04-14
OpenJDK Runtime Environment (build 14.0.1+7)
OpenJDK 64-Bit Server VM (build 14.0.1+7, mixed mode)
karl@erlangen:~>
Refer to the documentation of the application for specific requirements.
What I’ve done to use the thing from the KDE Plasma Desktop Starter, is to create a ‘.desktop’ file with the following content, which I then import into the KDE Starter –
It is a jar file and the program I’m trying to run is called iso2dsd. I have no idea how to create a desktop file or script as I’m Linux novice & never done it in Windows either I’m afraid, but willing to learn. I’ve learned some things already from this exercise, but most of the replies above are way beyond me currently. Nevertheless, I do really appreciate all you guys taking the time to reply with help and suggestions.
With your help earlier, this is the terminal command I use to run the program and it works, but a file or script would be nice.
Thank you. This is what I tried at the start of all this, but realised I couldn’t find a program to open the application with. Couldn’t even find Jave on my system so assumed it was a typo instead of java.
Possibly due to some 64-bit versus 32-bit issues – Linux tends to use 64-bit Java – Windows often uses 32-bit Java – you have to be careful in choosing the Java version Windows uses.
Possibly a BIOS/UEFI setting on the Windows machines – “CPU Core Leveling = One Compute Unit Per Core” often helps on Windows machines …