Cant set proper default Application to run Minecraft

Questions about applications and software
Forum rules
Before you post please read how to get help

Cant set proper default Application to run Minecraft

Postby jeveleth3 on Tue Dec 04, 2012 12:30 am

(I am using linux mint cinnamon 14)Minecraft opens with archive manager by default after instilation and if I right click I can choose to open it with OpenJDK java 7 runtime (The correct app to open it with) as seen here.
Image
So I right clicked minecraft and went to properties to set openJDK as the default app to open it with but it wasnt there?
Minecraft set default.png
Minecraft set default.png (38.64 KiB) Viewed 564 times

On cinnamon 13 there was usually another bar in between "Default Application" and "Other Applications" called "Recommended Applications" but its not there anymore and "OpenJDK" nor "archive manager" show in "Other Applications"
Can someone please tell me how to fix this? Like a way to change the default app to open with through the terminal? Or a simple script in place of the Minecraft desktop icon that auto-runs it with openJDK?
jeveleth3
Level 1
Level 1
 
Posts: 10
Joined: Tue Jul 03, 2012 3:01 pm

Linux Mint is funded by ads and donations.
 

Re: Cant set proper default Application to run Minecraft

Postby nikker on Tue Dec 04, 2012 11:02 am

I'm having the same issue, I can not set default application for opening Minecraft. Is there any Minecraft Mod to resolve this issue?
nikker
Level 1
Level 1
 
Posts: 1
Joined: Tue Dec 04, 2012 11:00 am

Re: Cant set proper default Application to run Minecraft

Postby bigj231 on Tue Dec 04, 2012 12:54 pm

I have not seen a way to set the default application for minecraft using the GUI. I just made a bash script to launch it. you will have to run minecraft from the console the first time, but then you can run this script.
Code: Select all
#!/bin/bash
export LD_LIBRARY_PATH="/opt/java/64/jre1.7.0_09/lib/amd64"
java -jar ~/.minecraft/minecraft.jar

Just copy and paste it into a text file, and name it something like "minecraft.sh"
I'm using SUN's proprietary JAVA, so I need the export line. I'm not sure if it is necessary for the open JRE, as I never had good luck with it.
I installed JAVA using my script here .
Running on a 4-slot toaster @ 60Hz
User avatar
bigj231
Level 5
Level 5
 
Posts: 793
Joined: Fri Feb 26, 2010 10:16 am
Location: Middle of Nowhere


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 19 guests

cron