LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't Run Java/Minecraft on Lubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/cant-run-java-minecraft-on-lubuntu-4175456036/)

Altiris 03-29-2013 12:08 PM

Can't Run Java/Minecraft on Lubuntu
 
I installed java on Lubuntu with these commands

Code:

sudo apt-get install python-software-properties

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java7-installer

And then I did
Code:

java -version
to check if it installed correctly and it outputted a bunch of things you can see below, I looked online and everything is correct.

Code:

java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

The problem is when I try running minecraft (minecraf.jar) it won't run, I also don't have anything such as "Java 7 Runtime" I only have "Java 7 VisualVM" and "Java 7 Console" when right clicking to select what will run it. How do I fix this?

Thanks

manu-tm 03-30-2013 08:09 AM

Have you tried right-click on minecraft.jar, then properties > general > open with ?

From what I see on https://minecraft.net/download, you may also try launching minecraft from terminal with:
Code:

java -cp minecraft.jar net.minecraft.LauncherFrame


All times are GMT -5. The time now is 08:11 PM.