Minecraft Beta on Linux doesnt work
1 reply [Last post]
Piraniah
WoM Member
Members
WoM Member: 191597
WoM Coins: 0

Hey all,

i downloaded Minecraft Beta for Linux and started it as root  with java -jar minecraft.jar . Everything seems to work until i tried to log in it just tells me User not Premium you have to play online once to enable offline.
I just want to play the Beta offline...

Heres the what the console told:

java.io.FileNotFoundException: /root/.minecraft/lastlogin (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at net.minecraft.LoginForm.readUsername(LoginForm.java:72)
    at net.minecraft.LoginForm.<init>(LoginForm.java:42)
    at net.minecraft.LauncherFrame.<init>(LauncherFrame.java:20)
    at net.minecraft.LauncherFrame.main(LauncherFrame.java:137)
    at net.minecraft.MinecraftLauncher.main(MinecraftLauncher.java:13)

I tried to run Minecraft with  java -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame  then, but the program didnt even start...

The console:

Exception in thread "main" java.lang.NoClassDefFoundError: net/minecraft/LauncherFrame
Caused by: java.lang.ClassNotFoundException: net.minecraft.LauncherFrame
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: net.minecraft.LauncherFrame.  Program will exit.

i am using linux sabayon

Can you help me?


 

werecat
WoM Member
Members
WoM Member: 84239
WoM Coins: 0
First off, Why did you run it

First off, Why did you run it as root? There is no reason to do that!
Also, you need to buy the game then login to play beta. The only other way to play beta without paying is pirating.