Fork me on GitHub
#minecraft
<
2022-06-10
>
plexus00:06:06

Wow, never seen that. Which JVM are you using? Is this something we can safely add to the script for everyone?

pez06:06:03

% java -version 
openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-86)
OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)
I'll try with some other version, and see if that is why this happens.

pez06:06:41

This is the crash output, btw.

pez06:06:48

Does the installer somehow care about the java version used? I fail at starting the client with any other jdk. Either directly complaining about some class having the wrong version of bytecode, or just failing to load some library. Java18:

[08:18:47] [Render thread/INFO]: [STDERR]: [LWJGL] Failed to load a library. Possible solutions:
        a) Add the directory that contains the shared library to -Djava.library.path or -Dorg.lwjgl.librarypath.
        b) Add the JAR that contains the shared library to the classpath.
[08:18:47] [Render thread/INFO]: [STDERR]: [LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics.
[08:18:47] [Render thread/INFO]: [STDERR]: [LWJGL] Enable the SharedLibraryLoader debug mode with -Dorg.lwjgl.util.DebugLoader=true for better diagnostics.
Exception in thread "Render thread" [08:18:47] [Render thread/INFO]: [STDERR]: java.lang.NoClassDefFoundError: Could not initialize class com.mojang.blaze3d.systems.RenderSystem
[08:18:47] [Render thread/INFO]: [ST
(With or without that first-thread option.)

plexus07:06:28

What kind of cpu architecture are you on? This looks like it might be having trouble loading native libraries

plexus07:06:32

If start-client doesn't work an alternative is to get the game from official sources

plexus07:06:16

If you're on an M1 you could try using a java for x86_64 instead of aarch64 (https://github.com/MultiMC/Launcher/issues/4693#issuecomment-1129985225)

pez08:06:05

It runs fine with my defiant JVM (which might be x64 for all I know) if I use the Java option.

pez12:06:10

I'm a Minecraft noob. Can I REPL while the client is showing the world. Now when I switch to VS Code, the Minecraft game pauses (or at least shows something looking like a pause screen). The things I do in the REPL (just evaluating the pre-cooked forms there) happen, though, so that is super cool.

plexus13:06:06

This is explained in the workshop readme, F3+p will toggle "pause on lost focus"

Paul13:06:09

Or as I did back in the day: Open the chat with t

plexus13:06:21

oh good trick 👍

plexus13:06:03

for people who are completely new to minecraft the videos linked here are excellent to figure out the basics https://github.com/lambdaisland/witchcraft-workshop#understanding-the-basics

plexus13:06:23

Regarding F3+p, if you have a keyboard with FnLk (function key lock) you might have to turn it on first, we tried it with some folks and Fn+F3+p does not work.