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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Jul 19, 2017 11:25 am

Flop666 wrote:Okay...
I'm now at this point where I have to modify the runOptiFine1_12.sh script.
I'm not understand what I have to change in CP please give me more details.
1 Run minecraft using 'java -jar Minecraft.jar' and allow to crash
2 Scroll up in terminal window and find last ../jre/bin/java command, scroll across and find ‘-cp ’, copy this path list until ‘ net.minecraft.launchwrapper.Launch’
3 Paste this text into the cp= in the run.sh script

Cosmos2192
Posts: 6
Joined: Wed Jul 19, 2017 9:24 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Jul 19, 2017 11:29 am

Yes,i have installed but it gives me this error

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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Jul 19, 2017 11:34 am

Which version of Optifine did you install - does it match the CP= path list in runOptifine.sh ?

Cosmos2192
Posts: 6
Joined: Wed Jul 19, 2017 9:24 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Jul 19, 2017 11:37 am

I installed only the optifine 1.8.9 _HD_U_H8 what else do I need to install?

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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Jul 19, 2017 11:45 am

Edit the runOptifine.sh file - which version is listed in the CP= line ?

If its different to the one you installed you can either try editing it or :

1 Run minecraft using 'java -jar Minecraft.jar' and allow to crash
2 Scroll up in terminal window and find last ../jre/bin/java command, scroll across and find ‘-cp ’, copy this path list until ‘ net.minecraft.launchwrapper.Launch’
3 Paste this text into the cp= in the run.sh script

Cosmos2192
Posts: 6
Joined: Wed Jul 19, 2017 9:24 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Jul 19, 2017 11:52 am

I can not find it

Cosmos2192
Posts: 6
Joined: Wed Jul 19, 2017 9:24 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Jul 19, 2017 12:00 pm

Okay, I copy it in runOptifine.sh?

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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Jul 19, 2017 12:15 pm

Cosmos2192 wrote:Okay, I copy it in runOptifine.sh?
Yes

Cosmos2192
Posts: 6
Joined: Wed Jul 19, 2017 9:24 am

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Jul 19, 2017 12:16 pm

then I delete what it says and I'll put that?

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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Jul 19, 2017 12:25 pm

Cosmos2192 wrote:then I delete what it says and I'll put that?
Yes

User avatar
mikesome13
Posts: 16
Joined: Sun Jul 23, 2017 6:26 pm
Contact: Twitter YouTube

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Jul 26, 2017 9:41 pm

Sindybad wrote:
Tue Mar 01, 2016 8:31 pm
I have worked out how to install the OptiFine mod :D
Runs on average at a good 20 frames per second :o


How to install the OptiFine mod for better performance:
Assuming you have completed the tutorial above(and installed Minecraft 1.8.9):

Go to http://optifine.net/downloads
And download “OptiFine 1.8.9 HD U H3”

Go to your downloads

Code: Select all

cd ~/Downloads
And run optifine installer

Code: Select all

java -jar OptiFine_1.8.9_HD_U_H3.jar
Click install.

Now launch Minecraft

Code: Select all

cd ~/Minecraft
java -jar Minecraft.jar
Select the OptiFine profile and click play. The launcher will crash

Install asm:

Code: Select all

cd ~/Minecraft
mkdir Libraries
cd Libraries
Download asm-5.0.4-bin.zip from http://forge.ow2.org/project/showfiles. ... se_id=5660
Move it to the Libraries folder

Code: Select all

cd ~/Minecraft/Libraries
mv ~/Downloads/asm-5.0.4-bin.zip .
Unzip it

Code: Select all

unzip asm-5.0.4-bin.zip

Now download my updated run.sh:

Code: Select all

cd ~/Minecraft
wget https://www.dropbox.com/s/0r5trow18vi5vls/runOptifine.sh?dl=1 -O runOptifine.sh
Fill runOptifine.sh with your Minecraft login details
Edit MINECRAFT_LOGIN, MINECRAFT_USERNAME, MINECRAFT_PASSWORD and MINECRAFT_UUID:

Code: Select all

nano runOptifine.sh
Change permissions of file:

Code: Select all

chmod 700 runOptifine.sh
Now run it:

Code: Select all

./runOptifine.sh
When Minecraft has launched, turn everything down to low in the video settings (and turn on things like fast math)
Close Minecraft(It might crash if you open a world now)
And relaunch it:

Code: Select all

./runOptifine.sh

Thanks for reading!
P.S. rpiMike, you can include this in the original post if you want
I did all this, yet I got the error

Code: Select all

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   259  100   107  100   152    327    464 --:--:-- --:--:-- --:--:--   464
todays access token = 
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Jul 26, 2017 5:39:07 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Loading tweak class name optifine.OptiFineTweaker
Jul 26, 2017 5:39:07 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)
What did I do wrong?
YES!

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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Thu Jul 27, 2017 7:05 am

Which version of Optifine did you download ? Does it match what is in the 'CP=' line in runOptifine.sh ?

By the way have you seen the 1.12 thread viewtopic.php?f=78&t=186547

User avatar
mikesome13
Posts: 16
Joined: Sun Jul 23, 2017 6:26 pm
Contact: Twitter YouTube

Re: How to setup Minecraft 1.8.9 on RaspPi2

Fri Jul 28, 2017 5:49 pm

nvm, I I followed the other tutorial and got it to work, but it runs, at the most, at 4 fps. I am going to get a cooling kit and see if that lowers the temp, thus making it so the system doesn't have to keep throttling back.
YES!

User avatar
mikesome13
Posts: 16
Joined: Sun Jul 23, 2017 6:26 pm
Contact: Twitter YouTube

Re: How to setup Minecraft 1.8.9 on RaspPi2

Thu Aug 03, 2017 1:52 am

mikesome13 wrote:
Fri Jul 28, 2017 5:49 pm
nvm, I I followed the other tutorial and got it to work, but it runs, at the most, at 4 fps. I am going to get a cooling kit and see if that lowers the temp, thus making it so the system doesn't have to keep throttling back.
runs at a good 40 fps now
YES!

ijens10
Posts: 13
Joined: Fri Aug 04, 2017 11:05 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Fri Aug 04, 2017 11:09 pm

Hi,

I have followed the tutorial on viewtopic.php?t=137279 and every time I get to the last step it says "./run.sh: 43: ./run.sh: /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/bin/java: not found". I am a bit confused bc I can find it myself! HELP!!!!

Thx in advance

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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Sat Aug 05, 2017 6:38 am

Are you using the latest Raspbian ? Is Oracle Java 8 installed ?

ijens10
Posts: 13
Joined: Fri Aug 04, 2017 11:05 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Sat Aug 05, 2017 7:20 am

I am running on raspi 2 model b. I downloaded/updated the raspian Jessie like it said (step 1) and I assume that I have oracle java 8. Can I check? :|

User avatar
fruitoftheloom
Posts: 15466
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: How to setup Minecraft 1.8.9 on RaspPi2

Tue Aug 15, 2017 7:34 am

ijens10 wrote:
Fri Aug 04, 2017 11:09 pm
Hi,

I have followed the tutorial on viewtopic.php?t=137279 and every time I get to the last step it says "./run.sh: 43: ./run.sh: /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/bin/java: not found". I am a bit confused bc I can find it myself! HELP!!!!

Thx in advance
It clearly states a newer up to date post is here: viewtopic.php?f=78&t=186547 if you are actually running a fully updated Raspbian Jessie with Desktop on a RPi 3B
My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C ARM32 SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC.
3 Mobile Huawei E5330 Mobile Mi-Fi

ijens10
Posts: 13
Joined: Fri Aug 04, 2017 11:05 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Tue Aug 15, 2017 7:40 am

As I am rpi 2b I do not have "Menu\Preferences\Raspberry Pi Configuration"

User avatar
fruitoftheloom
Posts: 15466
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: How to setup Minecraft 1.8.9 on RaspPi2

Tue Aug 15, 2017 7:42 am

ijens10 wrote:
Tue Aug 15, 2017 7:40 am
As I am rpi 2b I do not have "Menu\Preferences\Raspberry Pi Configuration"
Have you fully updated, I presume you are running Raspbian Jessie ?

Code: Select all

sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot
My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C ARM32 SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC.
3 Mobile Huawei E5330 Mobile Mi-Fi

ijens10
Posts: 13
Joined: Fri Aug 04, 2017 11:05 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Aug 16, 2017 6:26 am

fruitoftheloom wrote:
Tue Aug 15, 2017 7:42 am
ijens10 wrote:
Tue Aug 15, 2017 7:40 am
As I am rpi 2b I do not have "Menu\Preferences\Raspberry Pi Configuration"
Have you fully updated, I presume you are running Raspbian Jessie ?

Code: Select all

sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot
Do I have to enable it or does it auto enable?

User avatar
fruitoftheloom
Posts: 15466
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Aug 16, 2017 7:00 am

ijens10 wrote:
Wed Aug 16, 2017 6:26 am
fruitoftheloom wrote:
Tue Aug 15, 2017 7:42 am
ijens10 wrote:
Tue Aug 15, 2017 7:40 am
As I am rpi 2b I do not have "Menu\Preferences\Raspberry Pi Configuration"
Have you fully updated, I presume you are running Raspbian Jessie ?

Code: Select all

sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot
Do I have to enable it or does it auto enable?
No comprehed !!

Type each line in LXTerminal and press Enter, follow the prompts...........
My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C ARM32 SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC.
3 Mobile Huawei E5330 Mobile Mi-Fi

ijens10
Posts: 13
Joined: Fri Aug 04, 2017 11:05 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Aug 16, 2017 9:37 am

fruitoftheloom wrote:
Wed Aug 16, 2017 7:00 am
ijens10 wrote:
Wed Aug 16, 2017 6:26 am
fruitoftheloom wrote:
Tue Aug 15, 2017 7:42 am


Have you fully updated, I presume you are running Raspbian Jessie ?

Code: Select all

sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot
Do I have to enable it or does it auto enable?
No comprehed !!

Type each line in LXTerminal and press Enter, follow the prompts...........
After that? Sorry for the inconvenience but i am a noob...

ijens10
Posts: 13
Joined: Fri Aug 04, 2017 11:05 pm

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Aug 16, 2017 9:38 am

Don't judge...

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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Wed Aug 16, 2017 12:14 pm

If you've updated Raspbian, but are still getting the java not found error, I would suggest re-flashing your sd card with the latest 'Raspbian Jessie with Desktop'. Note this will overwrite everything on your sd card.

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 9 guests