If anyone cares, last night with a few hours of tweaking and trial and error, I did get 1.10.2 with OptiFine Ultra D1 to work on my Pi2. With a few changes to the script (mostly changes or additions of JAR files to the CP variable) it seems to run at about 20 FPS.
I'll post the changes and additions of the runOptifine.sh when I get home after my workday in 10 or so hours.
Re: How to setup Minecraft 1.8.9 on RaspPi2
- Attachments
-
- MinecraftPi2.jpg (52.73 KiB) Viewed 7883 times
Re: How to setup Minecraft 1.8.9 on RaspPi2
That's the same error I got!
pi@raspberrypi:~/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)
Re: How to setup Minecraft 1.8.9 on RaspPi2
My bad, I didn't have time to even get back to this forum last night. I'll try to post updates to the script tonight then.
Re: How to setup Minecraft 1.8.9 on RaspPi2
It all boils down to having an updated file list in your -CP section on your runOptifine.sh scripts. The following is assuming you've followed all installation steps of Minecraft and Optifine on the first page.
First, update the MINECRAFT_VERSION variable in the runOptifine.sh from 1.8.9 to 1.10. (Yes, leave off the .2)
Next,There is a section on the script that lists the Jar files under a CP variable in the same script. You just need to replace the entire section of the CP= variable with this updated list for the 1.10.2 files:
Assuming you installed everything correctly from the first page (omitting the version change to 1.8.9 in the launcher and choosing 1.10.2 instead), this has worked for me the last 5 installation attempts I have done.
With my installations, I didn't even have to install the forge (asm) tools either... not sure why those steps are there.
First, update the MINECRAFT_VERSION variable in the runOptifine.sh from 1.8.9 to 1.10. (Yes, leave off the .2)
Next,There is a section on the script that lists the Jar files under a CP variable in the same script. You just need to replace the entire section of the CP= variable with this updated list for the 1.10.2 files:
Code: Select all
CP=/home/pi/.minecraft/libraries/optifine/OptiFine/1.10.2_HD_U_D1/OptiFine-1.10.2_HD_U_D1.jar:/home/pi/.minecraft/libraries/net/minecraft/launchwrapper/1.7/launchwrapper-1.7.jar:/home/pi/.minecraft/libraries/com/mojang/netty/1.6/netty-1.6.jar:/home/pi/.minecraft/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar:/home/pi/.minecraft/libraries/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar:/home/pi/.minecraft/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar:/home/pi/.minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar:/home/pi/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar:/home/pi/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar:/home/pi/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar:/home/pi/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar:/home/pi/.minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar:/home/pi/.minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar:/home/pi/.minecraft/libraries/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar:/home/pi/.minecraft/libraries/com/google/guava/guava/17.0/guava-17.0.jar:/home/pi/.minecraft/libraries/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar:/home/pi/.minecraft/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/pi/.minecraft/libraries/commons-codec/commons-codec/1.9/commons-codec-1.9.jar:/home/pi/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar:/home/pi/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar:/home/pi/.minecraft/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/home/pi/.minecraft/libraries/com/mojang/authlib/1.5.22/authlib-1.5.22.jar:/home/pi/.minecraft/libraries/com/mojang/realms/1.9.7/realms-1.9.7.jar:/home/pi/.minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar:/home/pi/.minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar:/home/pi/.minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/home/pi/.minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar:/home/pi/.minecraft/libraries/it/unimi/dsi/fastutil/7.0.12_mojang/fastutil-7.0.12_mojang.jar:/home/pi/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar:/home/pi/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar:/home/pi/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar:/home/pi/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar:/home/pi/.minecraft/versions/1.10.2-OptiFine_HD_U_D1/1.10.2-OptiFine_HD_U_D1.jar
TWEAK_CLASS=optifine.OptiFineTweaker
With my installations, I didn't even have to install the forge (asm) tools either... not sure why those steps are there.
Re: How to setup Minecraft 1.8.9 on RaspPi2
My experience with raspberry pi's are somewhat helpful in my situation however, I would like for you to send me an disk image with everything ready besides the login info. If you are able to, please let me know. If not, let me know as well. Thanks for all your hard work!
Re: How to setup Minecraft 1.8.9 on RaspPi2
If you don't know how,Vasboch wrote: I would like for you to send me an disk image with everything ready besides the login info.<> Thanks for all your hard work!
(1) just plug the Pi's SD card(make sure there's no personal info on it) into your computer,
(2)open Win32 Disk Imager,
(3)find(or make) an empty image file,
(4)and click read. When it's done,
(5)upload the file to the forum.

Re: How to setup Minecraft 1.8.9 on RaspPi2
The steps are really not that hard to follow. To put it more simply:
Install Minecraft by downloading and launching 'launcher.jar' as per instructions
Run it and let it fail
Install Optifine as per instructions
Run it and let it fail
Download the runOptifine.sh script then update the script inputing your account info, as well as the client token and UUID (from your 'launcher_profiles.json' file), then change the version to 1.10, and replace the CP section with the info I posted.
Launch scripts and it works.
I've done this at least 15 times already and it works every time on Pi2 and my recently received Pi3. Tried it on my Pi1 but runs at a frame every 30 seconds so it's not feasible.
The Pi3 however runs at 30-55 FPS. It was surprisingly smooth, even though chunk updating was a bit sluggish (I even have a Sandisk Extreme Pro SD card which should be able to write fast enough...)
Install Minecraft by downloading and launching 'launcher.jar' as per instructions
Run it and let it fail
Install Optifine as per instructions
Run it and let it fail
Download the runOptifine.sh script then update the script inputing your account info, as well as the client token and UUID (from your 'launcher_profiles.json' file), then change the version to 1.10, and replace the CP section with the info I posted.
Launch scripts and it works.
I've done this at least 15 times already and it works every time on Pi2 and my recently received Pi3. Tried it on my Pi1 but runs at a frame every 30 seconds so it's not feasible.
The Pi3 however runs at 30-55 FPS. It was surprisingly smooth, even though chunk updating was a bit sluggish (I even have a Sandisk Extreme Pro SD card which should be able to write fast enough...)
Re: How to setup Minecraft 1.8.9 on RaspPi2
Ok, thanks! If i made an image, would it be easier for everyone else with my problems?Sumie wrote:The steps are really not that hard to follow. To put it more simply:
Install Minecraft by downloading and launching 'launcher.jar' as per instructions
Run it and let it fail
Install Optifine as per instructions
Run it and let it fail
Download the runOptifine.sh script then update the script inputing your account info, as well as the client token and UUID (from your 'launcher_profiles.json' file), then change the version to 1.10, and replace the CP section with the info I posted.
Launch scripts and it works.
I've done this at least 15 times already and it works every time on Pi2 and my recently received Pi3. Tried it on my Pi1 but runs at a frame every 30 seconds so it's not feasible.
The Pi3 however runs at 30-55 FPS. It was surprisingly smooth, even though chunk updating was a bit sluggish (I even have a Sandisk Extreme Pro SD card which should be able to write fast enough...)
Re: How to setup Minecraft 1.8.9 on RaspPi2
Yes, it would make it a lot easier for "us"Vasboch wrote:Ok, thanks! If i made an image, would it be easier for everyone else with my problems?Sumie wrote:The steps are really not that hard to follow. To put it more simply:
Install Minecraft by downloading and launching 'launcher.jar' as per instructions
Run it and let it fail
Install Optifine as per instructions
Run it and let it fail
Download the runOptifine.sh script then update the script inputing your account info, as well as the client token and UUID (from your 'launcher_profiles.json' file), then change the version to 1.10, and replace the CP section with the info I posted.
Launch scripts and it works.
I've done this at least 15 times already and it works every time on Pi2 and my recently received Pi3. Tried it on my Pi1 but runs at a frame every 30 seconds so it's not feasible.
The Pi3 however runs at 30-55 FPS. It was surprisingly smooth, even though chunk updating was a bit sluggish (I even have a Sandisk Extreme Pro SD card which should be able to write fast enough...)

Also, I not sure if you should get an error when you launch the game from the launcher.(It just crashes

Re: How to setup Minecraft 1.8.9 on RaspPi2
I'd be happy to VNC into anyone's Pi to assist with issues getting this set up. Maybe we can figure out where the issues are stemming from and post it. Posting an image is cumbersome and I don't believe I can upload such a large file. PM me if interested. Your IP will have to be internet facing or have port forwarding set up for port 5900.
On another note, I installed Minecraft again yesterday morning with the new U_D2 version of OptiFine and it works great, even though the optifine installer seems to extract another U_D2_MOD Jar file that needs to run as well. It was kinda strange but very doable.
Edit: Since I have a Sandisk Extreme Pro MicroSD card and I was sure it could handle it, I overclocked my SDcardreader bus to 100mhz (up from 50mhz) and it seemed to make things a bit smoother and faster in loading. I would not do this with a cheapo SDcard though. Instructions here:
viewtopic.php?f=63&t=140461
On another note, I installed Minecraft again yesterday morning with the new U_D2 version of OptiFine and it works great, even though the optifine installer seems to extract another U_D2_MOD Jar file that needs to run as well. It was kinda strange but very doable.
Edit: Since I have a Sandisk Extreme Pro MicroSD card and I was sure it could handle it, I overclocked my SDcardreader bus to 100mhz (up from 50mhz) and it seemed to make things a bit smoother and faster in loading. I would not do this with a cheapo SDcard though. Instructions here:
viewtopic.php?f=63&t=140461
- Attachments
-
- IMG_0985.JPG (50.38 KiB) Viewed 7176 times
Last edited by Sumie on Wed Nov 02, 2016 4:40 pm, edited 1 time in total.
Re: How to setup Minecraft 1.8.9 on RaspPi2
As a heads up, DO NOT install pixel, as it's incompatible with the OpenGl driver
(it probably will be fixed soon
).



Re: How to setup Minecraft 1.8.9 on RaspPi2
I have the latest Raspian (with PIXEL) image installed on my Pi3. Running Minecraft requires the OpenGL driver so I have it enabled as well. I have my own grievances with the OpenGL driver (like random freezing when moving windows on the desktop and such), but it does seem to work fine for me for Minecraft.owen_soo wrote:As a heads up, DO NOT install pixel, as it's incompatible with the OpenGl driver![]()
(it probably will be fixed soon
).
Re: How to setup Minecraft 1.8.9 on RaspPi2
Sumie wrote:I have the latest Raspian (with PIXEL) image installed on my Pi3. Running Minecraft requires the OpenGL driver so I have it enabled as well. I have my own grievances with the OpenGL driver (like random freezing when moving windows on the desktop and such), but it does seem to work fine for me for Minecraft.owen_soo wrote:As a heads up, DO NOT install pixel, as it's incompatible with the OpenGl driver![]()
(it probably will be fixed soon
).








Re: How to setup Minecraft 1.8.9 on RaspPi2
Why not update JDK? I found the same problem while using HMCL,and it seems that Minecraft works fine on PIXEL after replaceing JDK with the latest version.That is why I mentioned updating JDK in my early post.owen_soo wrote:Sumie wrote:I have the latest Raspian (with PIXEL) image installed on my Pi3. Running Minecraft requires the OpenGL driver so I have it enabled as well. I have my own grievances with the OpenGL driver (like random freezing when moving windows on the desktop and such), but it does seem to work fine for me for Minecraft.owen_soo wrote:As a heads up, DO NOT install pixel, as it's incompatible with the OpenGl driver![]()
(it probably will be fixed soon
).
![]()
![]()
![]()
![]()
![]()
![]()
What?
That's awesome. I guess I spoke in haste. It doesn't work for me, or some other people(I read there(sorry about that spelling, its the "spell correction" plugin) post).
I don't know what the cause is,but you can have a try.
Poor English, perhaps.
Using RPi3.
Using RPi3.
Re: How to setup Minecraft 1.8.9 on RaspPi2
Hmm, I'll try that if I get time.hyx wrote:Why not update JDK? I found the same problem while using HMCL,and it seems that Minecraft works fine on PIXEL after replaceing JDK with the latest version.That is why I mentioned updating JDK in my early post.
I don't know what the cause is,but you can have a try.
Re: How to setup Minecraft 1.8.9 on RaspPi2
Hey
I'm having an error when trying to play online. I have th UUID and everything, but it keeps giving me an access code error when logging in. Anyone know what to do?
I'm having an error when trying to play online. I have th UUID and everything, but it keeps giving me an access code error when logging in. Anyone know what to do?
Re: How to setup Minecraft 1.8.9 on RaspPi2
By the way, how do I find the UUID? 

Re: How to setup Minecraft 1.8.9 on RaspPi2
I got it, thank you ^~^
But, I do have one final question.
Since 1.11 has been released, is there gonna be anyone trying to find a way to run it? I've seen people have issues running 1.10 and 1.9, maybe we just need to add a few more files to the run.sh script? I'm not entirely intelligent in this field, but I'd like to try to help
But, I do have one final question.
Since 1.11 has been released, is there gonna be anyone trying to find a way to run it? I've seen people have issues running 1.10 and 1.9, maybe we just need to add a few more files to the run.sh script? I'm not entirely intelligent in this field, but I'd like to try to help
Re: How to setup Minecraft 1.8.9 on RaspPi2
You can google UUID Minecraft, and a website should give it to youowen_soo wrote:By the way, how do I find the UUID?
Re: How to setup Minecraft 1.8.9 on RaspPi2
Since the lwjgl libraries weren't updated in 1.11, we can still use the ARM compiled ones in the OP's post, and it should still work. I'll give it a go sometime this weekend and post results.Xynus wrote:I got it, thank you ^~^
But, I do have one final question.
Since 1.11 has been released, is there gonna be anyone trying to find a way to run it? I've seen people have issues running 1.10 and 1.9, maybe we just need to add a few more files to the run.sh script? I'm not entirely intelligent in this field, but I'd like to try to help
-
- Posts: 5
- Joined: Fri Jul 06, 2012 12:55 pm
Re: How to setup Minecraft 1.8.9 on RaspPi2
+1 for trying to get 1.11 on the pi 3, did you have any luck?
Re: How to setup Minecraft 1.8.9 on RaspPi2
I'm gonna try myself and see if it works once Optifine is released for 1.11.
Re: How to setup Minecraft 1.8.9 on RaspPi2
I keep accidentally leaving my Pi at work... I'll try to remember to bring it home tomorrow and try it out.
I would rather wait until Optifine comes out too, but it doesn't hurt to try the vanilla implementation.
I would rather wait until Optifine comes out too, but it doesn't hurt to try the vanilla implementation.
Re: How to setup Minecraft 1.8.9 on RaspPi2
I got it to load up once in 1.11 vanilla, but now I'm getting AL Lib: Pipe Break messages. I may restore the Raspbian image and try it again later. I really should just wait for Optifine though, since vanilla has quite a few important options missing.
We'll see when I get some more time.
We'll see when I get some more time.