Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum

[Solved] Java Issue

Started by ow346, May 14, 2017, 04:55:45 PM

Previous topic - Next topic


So i just downloaded and installed sparky to try out a new OS meant for gaming, (I've been using puppy Linux and ubuntu in the past) I really only play Minecraft and I cannot seem to figure out how to set the jar file to execute, I've opened the properties window to try and set the program that the jar file would be opened with, but the only thing that relates to Java that i can see is the "open JDK Java 8 policy tool"
please help , I'm not really good with this sort of thing and a Google search does not really pop up anything that is useful to me


1. Create openjdk.desktop file in your home's local directory:
Paste into the file:
[Desktop Entry]
Comment=OpenJDK Java
Exec=java -jar

2. Edit or create (if not exist) mimeapps file in your home dir:
Add the line to the file, in sections [Default Applications] & [Added Associations]:
make sure there is not other lines beginning with:

3. Update menus via the command:

4. Open a file manager, go to your *.jar file, then open it with "OpenJDK".
Nothing is easy as it looks. Danielle Steel
Join at [url="//"][/url]


Thank you so much! Your help is much appreciated  ;D it worked.


Please edit your initial subject line  and add Solved to the beginning.  peace out.
Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.

View the most recent posts on the forum