Page 14 of 17

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Jul 19, 2017 11:25 am
by rpiMike
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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Jul 19, 2017 11:29 am
by Cosmos2192
Yes,i have installed but it gives me this error

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Jul 19, 2017 11:34 am
by rpiMike
Which version of Optifine did you install - does it match the CP= path list in runOptifine.sh ?

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Jul 19, 2017 11:37 am
by Cosmos2192
I installed only the optifine 1.8.9 _HD_U_H8 what else do I need to install?

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Jul 19, 2017 11:45 am
by rpiMike
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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Jul 19, 2017 11:52 am
by Cosmos2192
I can not find it

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Jul 19, 2017 12:00 pm
by Cosmos2192
Okay, I copy it in runOptifine.sh?

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Jul 19, 2017 12:15 pm
by rpiMike
Cosmos2192 wrote:Okay, I copy it in runOptifine.sh?
Yes

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Jul 19, 2017 12:16 pm
by Cosmos2192
then I delete what it says and I'll put that?

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Jul 19, 2017 12:25 pm
by rpiMike
Cosmos2192 wrote:then I delete what it says and I'll put that?
Yes

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Jul 26, 2017 9:41 pm
by mikesome13
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?

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Thu Jul 27, 2017 7:05 am
by rpiMike
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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Fri Jul 28, 2017 5:49 pm
by mikesome13
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.

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Thu Aug 03, 2017 1:52 am
by mikesome13
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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Fri Aug 04, 2017 11:09 pm
by ijens10
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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Sat Aug 05, 2017 6:38 am
by rpiMike
Are you using the latest Raspbian ? Is Oracle Java 8 installed ?

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Sat Aug 05, 2017 7:20 am
by ijens10
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? :|

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Tue Aug 15, 2017 7:34 am
by fruitoftheloom
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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Tue Aug 15, 2017 7:40 am
by ijens10
As I am rpi 2b I do not have "Menu\Preferences\Raspberry Pi Configuration"

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Tue Aug 15, 2017 7:42 am
by fruitoftheloom
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

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Aug 16, 2017 6:26 am
by ijens10
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?

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Aug 16, 2017 7:00 am
by fruitoftheloom
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...........

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Aug 16, 2017 9:37 am
by ijens10
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...

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Aug 16, 2017 9:38 am
by ijens10
Don't judge...

Re: How to setup Minecraft 1.8.9 on RaspPi2

Posted: Wed Aug 16, 2017 12:14 pm
by rpiMike
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.