User avatar
DarkPlatinum
Posts: 853
Joined: Thu Nov 02, 2017 2:30 pm
Location: Unknown
Contact: Website YouTube

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Fri Jun 21, 2019 9:38 am

1.13.2 still is not effective but is better than nothing. As you can see it shows that the server is lagging when it is "overloaded".
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi 3B :) ): https://html.dynu.net

quavoce
Posts: 109
Joined: Fri Nov 27, 2015 9:11 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Jun 30, 2019 7:35 am

Minecraft 1.12.2 works really well on the RPi4! By allocating 512MB to GPU on the 2GB Pi, the game world generates much faster and tends to run between 20 and 30 fps. It plays really well now!

One thing to note with Raspbian OS Buster, it doesn’t have the correct jvm library, so I needed to copy “/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt” from an older Pi image.

Btw should it be possible to run multiplayer between two Pis running this version of Minecraft? I couldn’t get it to work after opening the game to LAN.

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Jun 30, 2019 7:52 am

My new 1.12.2 tutorial should install oracle java 8 for you:

https://www.raspberrypi.org/forums/view ... 8&t=243946

Weeffyy
Posts: 1
Joined: Mon Jul 01, 2019 12:24 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Jul 01, 2019 12:31 pm

Is it possible to install Minecraft 1.14 on the raspberry pi 4?

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Jul 01, 2019 3:27 pm

Only when a 64bit OS is available for the Pi4.

tazz4843
Posts: 16
Joined: Thu May 11, 2017 10:04 pm
Location: Calgary, AB, Canada

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sat Jul 27, 2019 4:07 am

Upgraded to 1.14.4, OptiFine, it installs no problem, but it won't run. Error posted below:

Code: Select all

[22:00:26] [main/ERROR]: Unable to launch
java.lang.ClassNotFoundException: net.minecraft.client.main.Main
	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:185) ~[launchwrapper-of-2.1.jar:2.1]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:588) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
	at java.lang.Class.forName0(Native Method) ~[?:?]
	at java.lang.Class.forName(Class.java:398) ~[?:?]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:155) [launchwrapper-of-2.1.jar:2.1]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:30) [launchwrapper-of-2.1.jar:2.1]
Caused by: java.lang.NullPointerException
	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-of-2.1.jar:2.1]
	... 6 more
Any help?
Check me out on Reddit: reddit.com/u/tazz4843

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sat Jul 27, 2019 4:57 am

tazz4843 wrote:
Sat Jul 27, 2019 4:07 am
Upgraded to 1.14.4, OptiFine, it installs no problem, but it won't run. Error posted below:

Code: Select all

[22:00:26] [main/ERROR]: Unable to launch
java.lang.ClassNotFoundException: net.minecraft.client.main.Main
	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:185) ~[launchwrapper-of-2.1.jar:2.1]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:588) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
	at java.lang.Class.forName0(Native Method) ~[?:?]
	at java.lang.Class.forName(Class.java:398) ~[?:?]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:155) [launchwrapper-of-2.1.jar:2.1]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:30) [launchwrapper-of-2.1.jar:2.1]
Caused by: java.lang.NullPointerException
	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-of-2.1.jar:2.1]
	... 6 more
Any help?
As far as I am aware 1.13 and above requires a 64 bit OS.

tazz4843
Posts: 16
Joined: Thu May 11, 2017 10:04 pm
Location: Calgary, AB, Canada

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sat Jul 27, 2019 2:27 pm

rpiMike wrote:
Sat Jul 27, 2019 4:57 am
tazz4843 wrote:
Sat Jul 27, 2019 4:07 am
Upgraded to 1.14.4, OptiFine, it installs no problem, but it won't run. Error posted below:

Code: Select all

[22:00:26] [main/ERROR]: Unable to launch
java.lang.ClassNotFoundException: net.minecraft.client.main.Main
	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:185) ~[launchwrapper-of-2.1.jar:2.1]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:588) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
	at java.lang.Class.forName0(Native Method) ~[?:?]
	at java.lang.Class.forName(Class.java:398) ~[?:?]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:155) [launchwrapper-of-2.1.jar:2.1]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:30) [launchwrapper-of-2.1.jar:2.1]
Caused by: java.lang.NullPointerException
	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-of-2.1.jar:2.1]
	... 6 more
Any help?
As far as I am aware 1.13 and above requires a 64 bit OS.
Mmm, not that I know. I'm running Java 1.14.4 on my x86 laptop. ~15FPS with a crappy GPU and CPU in local worlds. I only plan to play on servers with 1.14.4 on the Pi.
Check me out on Reddit: reddit.com/u/tazz4843

jdonald
Posts: 417
Joined: Fri Nov 03, 2017 4:36 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sat Jul 27, 2019 9:50 pm

I recall the holdup earlier was not having an LWJGL3 build for armhf. Apparently they have an official one as of May: https://github.com/LWJGL/lwjgl3/issues/206
tazz4843 wrote:
Sat Jul 27, 2019 4:07 am
it installs no problem, but it won't run.

Code: Select all

[22:00:26] [main/ERROR]: Unable to launch
java.lang.ClassNotFoundException: net.minecraft.client.main.Main
	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:185) ~[launchwrapper-of-2.1.jar:2.1]
Any help?
These old scripts don't stop on errors, so they'd appear to "install no problem" then print java.lang.ClassNotFoundException: net.minecraft.client.main.Main at the end even if you had something catastrophic from the start like a differently named homedir. You can add #!/bin/sh -e at the top of each script to debug appropriately.

To port the 1.12.1 scripts to 1.13 or above, at a minimum you'll have to make it download the LWJGL3 binary instead of LWJGL2. Alternatively you could try mmlpi which claims support for 1.14.

Also, the 1.13+ thread could be a good spot for continued discussion.

Snapwhiz914
Posts: 8
Joined: Sat Sep 14, 2019 5:38 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Sep 15, 2019 12:36 pm

I get an error every time I try this guide:

Code: Select all

OpenJDK Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Exception in thread "main" java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
	at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Any ideas?

jdonald
Posts: 417
Joined: Fri Nov 03, 2017 4:36 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Sep 16, 2019 3:03 am

This topic was written long ago and Raspbian no longer comes with Oracle Java 8 preinstalled.

Use a newer guide such as this one for 1.12.2: https://www.raspberrypi.org/forums/view ... p?t=243946


Xann
Posts: 1
Joined: Sat Sep 21, 2019 11:08 pm

Re: Setting up a controller on RPi Minecraft 1.12.1

Sun Sep 22, 2019 2:48 am

Can you set up a PlayStation DualShock 4 or Xbox Wireless controller with Raspberry Pi Minecraft 1.12.1 optifine?
By Xann. :D

Vishwanth
Posts: 1
Joined: Wed Sep 25, 2019 12:06 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Wed Sep 25, 2019 7:42 pm

Dear Mike when i tried to download Minecraft i wasn't able to well you see on number 14 you said to run optifine but when i did it says that runoptifine file has not been found please and by the here is a video clip to show you the problem.


https://drive.google.com/file/d/1ThDV5G ... YwHrF/view


Thanks,
VishwanthKarthikeyan

Axel Lopez
Posts: 1
Joined: Thu Oct 24, 2019 2:07 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Oct 24, 2019 2:13 am

resulta que tengo una version mas reciente del raspbian y me aparece algo como ./runOptifine1_12_1.sh: 52: ./runOptifine1_12_1.sh: /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/bin/java: not found alguien sabe por que sucede?

Moomoo5
Posts: 7
Joined: Mon Jun 10, 2019 8:59 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Oct 27, 2019 4:45 pm

Please help! I have done everything the tutorial said, and when I run the optifine sh file, I get this error:

Code: Select all

pi@raspberrypi:~/Minecraft $ ./runOptifine1_12_1.sh 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   756  100   590  100   166   1328    373 --:--:-- --:--:-- --:--:--  1706
todays access token = eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJjNDcwNGMxMGMxYzBmNTg3NDM0ZWMxNTZiNTVhZjhiMyIsIm5iZiI6MTU3MjE5NDU2OSwieWdndCI6IjM1NTQ1YzExODZiYzQyNDY5ZDNkNGMwN2FjNzY3ZGVhIiwic3ByIjoiMGNmZjRhMmJjYjU0NDJlMjk1ZTE2MjQyZDEzNzNiNDIiLCJyb2xlcyI6W10sImlzcyI6ImludGVybmFsLWF1dGhlbnRpY2F0aW9uIiwiZXhwIjoxNTczMDU4NTY5LCJpYXQiOjE1NzIxOTQ1Njl9.p8If7MfNlx5maUDt_hwLPjt0D44kY254YtFX0_i6dRA
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    73  100    62  100    11    218     38 --:--:-- --:--:-- --:--:--   257
MINECRAFT_UUID=0cff4a2bcb5442e295e16242d1373b42
./runOptifine1_12_1.sh: 52: ./runOptifine1_12_1.sh: /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/bin/java: not found
 
Please help! If you can figure out how to solve this I would be thankfull!
Thanks,
MooMoo5

NanoJedi
Posts: 1
Joined: Thu Nov 14, 2019 6:43 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Nov 18, 2019 5:26 pm

Hi there.
I love your tutorials, and I followed this one through on my Pi 3 in June and it worked to perfection. I have bought a new SD card because the old one burned out, I try to install Minecraft on it, but i get some error about the java not being there. Can you do an updated tutorial about this bug as I would highly appreciate it. Thanks!

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Nov 18, 2019 8:52 pm

NanoJedi wrote:
Mon Nov 18, 2019 5:26 pm
Hi there.
I love your tutorials, and I followed this one through on my Pi 3 in June and it worked to perfection. I have bought a new SD card because the old one burned out, I try to install Minecraft on it, but i get some error about the java not being there. Can you do an updated tutorial about this bug as I would highly appreciate it. Thanks!
Try the more recent tutorial https://www.raspberrypi.org/forums/view ... 8&t=243946

Moomoo5
Posts: 7
Joined: Mon Jun 10, 2019 8:59 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sat Nov 23, 2019 5:25 pm

Please help me! I did everything the tutorial said, but it didnt work.
Why does it work for everyone else except me?

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sat Nov 23, 2019 6:36 pm

Moomoo5 wrote:
Sat Nov 23, 2019 5:25 pm
Please help me! I did everything the tutorial said, but it didnt work.
Why does it work for everyone else except me?
Did you use the 1.12.2 tutorial in the link on the previous post or the very start of this tutorial?

seb.grant1
Posts: 1
Joined: Sun Dec 01, 2019 8:23 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Dec 02, 2019 1:57 am

my runOptifine thigny reads as "no java found"

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Dec 02, 2019 7:13 am

seb.grant1 wrote:
Mon Dec 02, 2019 1:57 am
my runOptifine thigny reads as "no java found"
Use the newer tutorial https://www.raspberrypi.org/forums/view ... 8&t=243946

Return to “Gaming”