Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal. You can also buy games using our partner links for GOG and Humble Store.
How to install Project Zomboid 2.0 ?
MaximB May 4, 2012
Hello !

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 ;)
Brandon Smith May 4, 2012
What version of Java are you using? The SUN version or OpenJDK?
MaximB May 4, 2012
I use Sun/Oracle as OpenJDK often has problems with many Java apps.
berarma May 4, 2012
Hi. It seems the classpath in the command is wrong, I think it can't accept wildcards but instead a list of jar files and directories.

In the script, where there's:

Quote-cp "./*:./"



It should be something like:

Quote-cp ".:A.jar:B.jar:C.jar"


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.
Liam Dawe May 4, 2012
Is it the new launcher you are trying to run or the game jar directly?

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
MaximB May 4, 2012
Quoting: "liamdawe, post: 4203, member: 1"Is it the new launcher you are trying to run or the game jar directly?

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


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.
MaximB May 4, 2012
Ok, after downloading and running I get this :

[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)
Liam Dawe May 4, 2012
Odd seems it must have failed to download lwjgl 64bit, that was an error i used to get but a launcher update fixed it i wander why it didn't work for you.
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!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.

Buy Games
Buy games with our affiliate / partner links: