While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- New Linux kernel patch submitted to improve Lenovo Legion series support including Lenovo Legion Go
- Team Fortress 2 Comic issue 7 is finally, officially available
- Steam Replay for 2024 is live to show off all those hours you played
- Proton Experimental gets fixes for Final Fantasy XIV, Nioh: Complete Edition and more for Steam Deck / Linux
- Stalker 2: Heart of Chornobyl gets a massive patch with an AI overhaul and lots of A-Life fixes
- > See more over 30 days here
View PC info
I've finally bought Project Zomboid and the only official Linux version is of 1.5d.
There is a new 2.0x versions released and there even guides on how to make it work on Linux, but they don't work for me (while the 1.5d version does).
Any EASY way on how to make Project Zomboid 2.0 work ?
I've downloaded the file and put in in my Games dir, also put the lwjgl.jar and lwjgl_util.jar files from the 1.5d version there, but the game won't run, I get :
Running the game :
maximb@MaximB-HQ:~/Games$ ./zombie.sh
Exception in thread "main" java.lang.NoClassDefFoundError: zombie/FrameLoader
Caused by: java.lang.ClassNotFoundException: zombie.FrameLoader
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: zombie.FrameLoader. Program will exit.
Cat Zombie.sh
maximb@MaximB-HQ:~/Games$ cat zombie.sh
#!/bin/sh
java -Dgraphiclevel=0 -Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true -Dsun.java2d.d3d=false -Dsun.java2d.opengl=false -Dsun.java2d.pmoffscreen=false -Djava.net.preferIPv4Stack=true -Djava.security.policy=applet.policy -XX:+AggressiveOpts -XX:+ScavengeBeforeFullGC -XX:+TieredCompilation -XX:Tier2CompileThreshold=30000 -XX:CompileThreshold=1500 -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:MaxGCPauseMillis=3 -XX:+UseAdaptiveSizePolicy -Dorg.lwjgl.util.NoChecks=true -Xms1024m -Xmx1024m -Djava.library.path='/home/maximb/Games/' -cp "./*:./" zombie.FrameLoader
Any ideas ?
P.S
I need to run it with sudo to make the keyboard work, just like in Minecraft ;)
View PC info
In the script, where there's:
It should be something like:
I don't know the file layout for the game so I can't tell what it should be. I'd be surprised there's no post about this in the game's forum since it seems a trivial error.
PD: We should ask for OpenJDK support since Oracle Java is no longer free.
You don't need the other files from the older version, the launcher downloads everything for you. Trust me the launcher is the best and easiest way to do it;
https://s3.amazonaws.com/alpha.projectzomboid.com/ProjectZomboid.jar
View PC info
LOL, so it's a luncher ?
And I was trying to run it with Java like I do with Minecraft...
Seems to be downloading stuff...looks good so far
Thanks.
View PC info
[LWJGL] Failed to load 64 bit library: no lwjgl64 in java.library.path
[LWJGL] Failed to load 64 bit library: no lwjgl64 in java.library.path
Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at org.lwjgl.Sys$1.run(Sys.java:73)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:95)
at org.lwjgl.Sys.<clinit>(Sys.java:112)
at org.lwjgl.openal.AL.<clinit>(AL.java:59)
at zombie.openal.SoundStore$1.run(SoundStore.java:658)
at java.security.AccessController.doPrivileged(Native Method)
at zombie.openal.SoundStore.init(SoundStore.java:651)
at zombie.FrameLoader.main(FrameLoader.java:138)