quackadoodle
Posts: 4
Joined: Tue Aug 02, 2016 4:26 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Tue Aug 02, 2016 5:20 am

Looks like I'm with @Professor, @weid, @RealMicahTheManiac, and @stutteringp0et, all stuck on this error:

Code: Select all

Error: Could not find or load main class net.minecraft.client.main.Main
This happens when doing

Code: Select all

./run.sh[code] on the very last step. I've followed the steps numerous times, removing .minecraft and ~/Minecraft in between attempts, with no luck.

Anybody have any advice?

User avatar
rpiMike
Posts: 855
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.8.9 on RaspPi2

Fri Aug 05, 2016 9:29 pm

quackadoodle wrote:Looks like I'm with @Professor, @weid, @RealMicahTheManiac, and @stutteringp0et, all stuck on this error:

Code: Select all

Error: Could not find or load main class net.minecraft.client.main.Main
This happens when doing

Code: Select all

./run.sh[code] on the very last step. I've followed the steps numerous times, removing .minecraft and ~/Minecraft in between attempts, with no luck.

Anybody have any advice?[/quote]

Are you trying to run 1.8.9 ?

quackadoodle
Posts: 4
Joined: Tue Aug 02, 2016 4:26 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Fri Aug 05, 2016 9:50 pm

rpiMike wrote: Are you trying to run 1.8.9 ?
Possibly not. I've gone through all the steps, but there's nothing I saw about selecting a specific version. If I run the .jar file and try to create a new profile, I only have 1.10.2 as an available option. Thoughts?

Thanks so much for any help you can offer :)

User avatar
rpiMike
Posts: 855
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.8.9 on RaspPi2

Fri Aug 05, 2016 11:54 pm

quackadoodle wrote:
rpiMike wrote: Are you trying to run 1.8.9 ?
Possibly not. I've gone through all the steps, but there's nothing I saw about selecting a specific version. If I run the .jar file and try to create a new profile, I only have 1.10.2 as an available option. Thoughts?

Thanks so much for any help you can offer :)
In step 7a :

If you've got the latest Minecraft.jar click 'edit profile' and select use release - 'release 1.8.9', then 'save profile'

quackadoodle
Posts: 4
Joined: Tue Aug 02, 2016 4:26 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Sat Aug 06, 2016 3:20 am

rpiMike wrote: Are you trying to run 1.8.9 ?
Bah, that was totally the problem! I should have caught that. Thanks so much for pointing me in the right direction.

Xynus
Posts: 22
Joined: Tue Apr 05, 2016 12:18 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Sat Aug 06, 2016 4:30 am

Hello. Every time I keep trying to load minecraft with the run.sh file, I get this
[email protected]:~/Minecraft $ ./run.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 272 100 107 100 165 389 601 --:--:-- --:--:-- --:--:-- 604
todays access token =
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Error: Could not find or load main class net.minecraft.client.main.Main
Can anyone help me?

quackadoodle
Posts: 4
Joined: Tue Aug 02, 2016 4:26 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Sat Aug 06, 2016 6:15 am

Xynus wrote: Error: Could not find or load main class net.minecraft.client.main.Main
Can anyone help me?
Hi Xynus. Check out the posts right above yours, rpiMike's in particular. Probably missed step 7a, setting the right version

Xynus
Posts: 22
Joined: Tue Apr 05, 2016 12:18 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Tue Aug 09, 2016 11:37 pm

I've attempted to run the Optifine version for Minecraft 1.8.9. I keep getting this error
raspberrypi:~/Downloads $ ./runOptifine.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 438 100 273 100 165 596 360 --:--:-- --:--:-- --:--:-- 597
todays access token = 83d93993392d4c748e1ebe76e508875e
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Aug 09, 2016 11:34:57 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Loading tweak class name optifine.OptiFineTweaker
Aug 09, 2016 11:34:57 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using primary tweak class name optifine.OptiFineTweaker
Aug 09, 2016 11:34:57 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Calling tweak class optifine.OptiFineTweaker
OptiFineTweaker: acceptOptions
OptiFineTweaker: injectIntoClassLoader skipped, OptiFine is loaded as a library
OptiFineTweaker: getLaunchArguments
OptiFineTweaker: getLaunchTarget
Aug 09, 2016 11:34:58 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Launching wrapped minecraft {net.minecraft.client.main.Main}
Aug 09, 2016 11:35:01 PM net.minecraft.launchwrapper.LogWrapper log
SEVERE: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.lwjgl.Sys$1.run(Sys.java:72)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:96)
at org.lwjgl.Sys.<clinit>(Sys.java:117)
at ave.J(SourceFile:2539)
at net.minecraft.client.main.Main.main(SourceFile:41)
... 6 more
Anyone got a fix?

willieaames
Posts: 18
Joined: Tue Aug 09, 2016 6:14 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Fri Aug 12, 2016 10:30 am

Hi, I have successfully installed Minecraft on my Raspberry Pi 2 however the next time I tried to play minecraft it didn't work because when I execute the run.sh it says game crashed and closes the terminal.

halppls
Posts: 4
Joined: Mon May 02, 2016 5:49 am
Location: Homer, AK

Re: How to setup Minecraft 1.8.9 on RaspPi2

Mon Aug 15, 2016 9:23 am

Hello, I am feeling a bit nostalgic today, so I was wondering how to get an alpha version working on the raspberry pi? I have already downloaded the version, but cannot get it to work. I have been playing around with the run.sh a lot and looking at ways to get it to work. Any Ideas?

Vasboch
Posts: 8
Joined: Sun Feb 28, 2016 2:58 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Sun Aug 28, 2016 1:57 am

Ever since i overclocked my pi 2, it will not boot. It is running retropie with gui installed. Thanks!

halppls
Posts: 4
Joined: Mon May 02, 2016 5:49 am
Location: Homer, AK

Re: How to setup Minecraft 1.8.9 on RaspPi2

Sun Aug 28, 2016 9:21 pm

Vasboch wrote:Ever since i overclocked my pi 2, it will not boot. It is running retropie with gui installed. Thanks!
You should be using raspbian if you want Minecraft, otherwise wrong topic. Also, try holding shift at boot, see if that helps

Vasboch
Posts: 8
Joined: Sun Feb 28, 2016 2:58 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Mon Aug 29, 2016 10:35 pm

halppls wrote:
Vasboch wrote:Ever since i overclocked my pi 2, it will not boot. It is running retropie with gui installed. Thanks!
You should be using raspbian if you want Minecraft, otherwise wrong topic. Also, try holding shift at boot, see if that helps
As stated above, I am running retropie which is built on TOP of raspbian. I installed the GUI thru a install script. The shifting did not help considering the fact that I forgot to mention, I am using the atrix lapdock for my display, keyboard, and mouse/trackpad.

GamingStar
Posts: 8
Joined: Sat Apr 02, 2016 2:25 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Aug 31, 2016 2:39 am

Would you be able to do this on Ubuntu MATE on the Pi? Or only on Raspbian?

arkhunter623
Posts: 2
Joined: Tue Feb 23, 2016 10:18 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Tue Sep 06, 2016 3:26 am

I WOULD NOT ADIVSE DOING THIS tried it myself follwed the steps went to reboot after open gl driver was enabled and I'm now reinstalling rasbian through noobs because after the noobs recoveryscreen NOTHING APPEARS this driver is glitched

BowGunner
Posts: 1
Joined: Tue Sep 13, 2016 3:09 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Tue Sep 13, 2016 3:12 pm

Downloading the experimental OpenGL Driver returned the following error: "Reading package lists... Error!
E: Unable to parse package file /var/lib/dpkg/status (1)
E: The package lists or status file could not be parsed or opened."

Is there a more up to date command for downloading this driver or am I doing something wrong altogether?

Mazer
Posts: 2
Joined: Sun Sep 11, 2016 4:44 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Tue Sep 20, 2016 10:53 pm

I cant seem to get this to work. when I type in ./run.sh, I get this message "Error: Could not find or load main class net.client.minecraft.main.Main" and i have done everything, i even went over the video, and i did the exact same thing. The only difference is when I type in that command.

User avatar
rpiMike
Posts: 855
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Sep 21, 2016 7:28 am

Mazer wrote:I cant seem to get this to work. when I type in ./run.sh, I get this message "Error: Could not find or load main class net.client.minecraft.main.Main" and i have done everything, i even went over the video, and i did the exact same thing. The only difference is when I type in that command.
In step 7a, did you click 'edit profile' and select use release - 'release 1.8.9', then 'save profile' ?

Are you logged into the Pi as user 'pi' ?

Did you get the OpenGL demo glxgears running at about 60 fps?

owen_soo
Posts: 18
Joined: Thu Jul 07, 2016 7:54 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Thu Sep 22, 2016 8:41 pm

I have got the Minecraft launcher to run on rpi2 but when I click play it gives me this error:

Code: Select all

Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
    Java HotSpot(TM) Client VM warning: You have loaded library /home/pi/.minecraft/versions/1.8.9/1.8.9-natives-3490523417582/liblwjgl64.so which might have disabled stack guard. The VM will try to fix the stack guard now.
    It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/pi/.minecraft/versions/1.8.9/1.8.9-natives-3490523417582/liblwjgl.so: /home/pi/.minecraft/versions/1.8.9/1.8.9-natives-3490523417582/liblwjgl.so: cannot open shared object file: No such file or directory (Possible cause: can't load IA 32-bit .so on a ARM-bit platform)
       at java.lang.ClassLoader$NativeLibrary.load(Native Method)
       at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
       at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
       at java.lang.Runtime.loadLibrary0(Runtime.java:870)
       at java.lang.System.loadLibrary(System.java:1122)
       at org.lwjgl.Sys$1.run(Sys.java:72)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
       at org.lwjgl.Sys.loadLibrary(Sys.java:96)
       at org.lwjgl.Sys.<clinit>(Sys.java:117)
       at ave.J(SourceFile:2539)
       at net.minecraft.client.main.Main.main(SourceFile:41)
I posted this problem before but no one responded :cry: . Please tell me how to fix this. :)
EDIT: OK, I get it, that's the link error, sorry for posting :oops: . I will leave this post if someone else has the same problem.
Last edited by owen_soo on Wed Sep 28, 2016 8:38 pm, edited 1 time in total.

Ulincsys
Posts: 3
Joined: Tue Dec 29, 2015 5:51 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Sun Sep 25, 2016 5:59 pm

I am getting an error after running the script:
  • Error: Could not find or load main class net.minecraft.client.main.Main
I have edited the run.sh script to add my login details, and changed the java directory (I am running Oracle Java 7 on Ubuntu Mate for the PI 3).

I have logged in to the MC launcher, and dowloaded 1.8.9. I have also done all the other steps successfully.

Midget-of-a-pi
Posts: 1
Joined: Wed Sep 28, 2016 2:27 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Sep 28, 2016 8:31 pm

I did everthing right but i still get an unsatified link error! PLEASE HELP!!!!!!!!

owen_soo
Posts: 18
Joined: Thu Jul 07, 2016 7:54 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Thu Sep 29, 2016 5:31 pm

Midget-of-a-pi wrote:I did everthing right but i still get an >unsatified link error<! PLEASE HELP!!!!!!!!
I got the same problem myself, but, :idea: your supposed to get that error. Just close the launcher and continue with
step 7b:
rpiMike wrote:7b Copy libraries

Code: Select all
cd ~/Minecraft/Natives && wget https://www.dropbox.com/s/4oxcvz3ky7a3x6f/liblwjgl.so && wget https://www.dropbox.com/s/m0r8e01jg2og36z/libopenal.so

8 Update lwjgl

Code: Select all
cd /home/pi/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209 && rm lwjgl-2.9.4-nightly-20150209.jar; wget https://www.dropbox.com/s/mj15sz3bub4dm ... 150209.jar

( based on Roger Allen's tutorial : http://rogerallen.github.io/jetson/2014 ... etson-tk1/ )
9 Copy run script

Code: Select all
cd ~/Minecraft/ && wget https://www.dropbox.com/s/jkhr58apwa7pt1w/run.sh && sudo chmod +x run.sh

10 Edit run.sh, update MINECRAFT_LOGIN, MINECRAFT_USERNAME and MINECRAFT_PASSWORD (may need "" for special characters) to your own
11 From Terminal use ./run.sh

hyx
Posts: 8
Joined: Tue Jul 12, 2016 4:27 am
Location: PRC

Re: Minecraft 1.8.9 on rpi2 : Minecraft 1.10.2 on RPi3

Sat Oct 01, 2016 1:10 pm

Well, I've been watching this topic for a long time, and I want to say thanks first.

As the subject said, I've found a way to run minecraft 1.10.2 on RPi3. I don't know whether someone else has successfully run minecraft 1.10.2,and it seems not. So I'm posting my solution.

First, I am not using an official launcher. I use a launcher which is called "Hello Minecraft Launcher"(which is now sold to a company). I think this launcher is good and keep using it. Download it from github (I'll give the link at last) and never update it (the newsest version contains ads and performs badly).

Second, put the launcher in a folder and launch it in the shell. The program will make ".minecraft" folder in the folder where you put the launcher in. It's easy to know how to use it, and you can ask me if you really don't know. You must download the games first and then the assets and libraries in the program (these are official). DON'T RUN THE GAME NOW!

Third, the most important part, download the jars and the libraries provided in this topic. If you are success in step2, you will find a folder called "libraries" in ".minecraft",get in here

Code: Select all

cd thefolderyoumade/.minecraft/libraries/org/lwjgl/lwjgl
Replace the jar and sha in "lwjgl/2.9.4-nightly-20150209". Open the jar in "lwjgl-platform/2.9.4-nightly-20150209" and replace the libraries in it.

Now you can play any version of minecraft on RPis (just download another version if you want).

launcher link: https://github.com/Cat7373/HMCL/releases

I'm not so active in the forum so please wait my reply or just google it if you have problems. This post may help you run minecraft 1.10.2. I only tested it on RPi3 and you can try this on your RPi2. ;)

PS: Make sure you have the latest java.

Edit:if you can't find the jars mentioned above, try to run the game once and the launcher will download the missing files , then continue step3. Try a few times and you'll success.
Poor English, perhaps.
Using RPi3.

owen_soo
Posts: 18
Joined: Thu Jul 07, 2016 7:54 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Mon Oct 03, 2016 5:20 pm

Hello, can somebody show me how to run Minecraft 1.10.2 on a pi?
Not using the Hello Minecraft launcher. I see that some people have got Minecraft 1.9 to run. :shock:

Vasboch
Posts: 8
Joined: Sun Feb 28, 2016 2:58 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Mon Oct 17, 2016 8:39 pm

If you guys could help my new problem
Pi 2 optifine setup to the point where you need to run ./runOptifine.sh
Here it is

[email protected]:~/Minecraft $ ./runOptifine.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 426 100 261 100 165 663 419 --:--:-- --:--:-- --:--:-- 665
todays access token = 9050ffb774fd41cfb1852aaa711ebca0
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Oct 17, 2016 3:37:12 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Loading tweak class name optifine.OptiFineTweaker
Oct 17, 2016 3:37:12 PM net.minecraft.launchwrapper.LogWrapper log
SEVERE: Unable to launch
java.lang.ClassNotFoundException: optifine.OptiFineTweaker
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:99)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

Return to “Gaming”