Sorry, for disturbing, mr. developr. My fault!
If anybody got same output. You, like me, didn't installed JDK correctly
This cmd should help.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install default-jdk
Hello,
I created a droplet on DigitalOcean with Ubuntu 18.04.
to get server I downloaded steamcmd and inside it typed
force_install_dir ../server
app_update 380870 validate
quit
to run server I went to server location and run start-server.sh
It outputed
nikita_c@project-zomboid-s1:~/server$ ./start-server.sh
64-bit java detected
pzexe: about to run java hack to locate libjvm.so...
pzexe: executing "java -classpath pzexe.jar -Djava.library.path=. zombie.pzexe"
pzexe.java: loading shared library "pzexe_jni64"
JVM=/home/nikita_c/server/jre64/lib/amd64/server/libjvm.so
pzexe config file: /home/nikita_c/server/ProjectZomboid64.json
pzexe: mainClass: zombie/network/GameServer
pzexe: classpath: -Djava.class.path=java/:java/jinput.jar:java/lwjgl.jar:java/lwjgl_util.jar:java/trove-3.0.3.jar:java/sqlite-jdbc-3.8.10.1.jar:java/uncommons-maths-1.2.3.jar
pzexe: vmArg (json) 1: -Xms2048m
pzexe: vmArg (json) 2: -Xmx2048m
pzexe: vmArg (json) 3: -Dzomboid.steam=1
pzexe: vmArg (json) 4: -Dzomboid.znetlog=1
pzexe: vmArg (json) 5: -Djava.library.path=linux64/:natives/
pzexe: vmArg (json) 6: -XX:-UseSplitVerifier
pzexe: vmArg (json) 7: -Djava.security.egd=file:/dev/urandom
pzexe: vmArg (json) 8: -XX:+UseConcMarkSweepGC
pzexe: using jvm "/home/nikita_c/server/jre64/lib/amd64/server/libjvm.so"
java.io.FileNotFoundException: /home/nikita_c/Zomboid/server-console.txt (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:110)
at zombie.network.GameServer.main(GameServer.java:297)
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/nikita_c/server/natives/libPZBullet64.so: libGL.so.1: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at zombie.core.physics.Bullet.init(Bullet.java:38)
at zombie.network.GameServer.main(GameServer.java:309)
Looks like problem is triggered, when it trying to open file in non-existing folder
And second error triggered when trying to touch exising libPzBullet64.so File exist, but error appears.
I tried this preveusly on Linux Mint 17 and it worked.
Do you have any idea what it could be?
Is this a bug?