Open shyguy80 opened 2 years ago
box64 doesn't support Java yet unfortunatly.
box64 doesn't support Java yet unfortunatly.
Ah okay. Then i will stop my testing for the time being. Thanks for the quick answer.
Any chance this could get supported in the future?
Hi, I had a go at trying to run a pz server with box64 and came across this issue post after several failed attempts. I was hoping to ask @shyguy80 how they managed to almost get their pz server running. I'm aware that java is not yet supported, but my console is a great mess compared to your output
./StartServer64.sh
./StartServer64.sh: line 1: @setlocal: command not found
./StartServer64.sh: line 2: @cd: command not found
./StartServer64.sh: line 3: SET: command not found
./StartServer64.sh: line 3: java/jassimp.jar: cannot execute binary file: Exec format error
./StartServer64.sh: line 3: java/javacord-2.0.17-shaded.jar: cannot execute binary file: Exec format error
java/javax.activation-api.jar: line 1: $'PK\003\004': command not found
java/javax.activation-api.jar: line 2: $'\250\201': command not found
java/javax.activation-api.jar: line 2: K: command not found
java/javax.activation-api.jar: line 3: $'\b\247\201': command not found
java/javax.activation-api.jar: line 3: K�K{��zMETA-INF/MANIFEST.MF�SMo�0�G��8���NhS�����EK�וq��ű#ہ���@: No such file or directory
java/javax.activation-api.jar: line 6: syntax error near unexpected token `$'\211Q5\264\357\3152`\374\215\263\377\233E&\216|\314\031H\343ʖ\326f&\016\202\005\267\313|N\034GP\026\002\004\207\312`.\324''
java/javax.activation-api.jar: line 6: `<9��4��Ϲ�����YR)����D��2�! I�ӽ�x�(�gM����V�.��D%��DӪ�#�O`�(�Q5���2`�����E&�|�H�ʖ�f&���|NGP��`.�<H�����h0|r'
java/jaxb-api.jar: line 1: $'PK\003\004': command not found
java/jaxb-api.jar: line 2: syntax error near unexpected token `)'
java/jaxb-api.jar: line 2�3,M��lF) META-INF/MANIFEST.MF�V]o�0}G�?X<LE#n>�@�N��4�A���MړI�ę����Nh ����s��=�Ʉ�,�R?����.���l\
J���W]&�����cB=0�(�7��'q�q��Pe�<���o��
java/jaxb-runtime.jar: line 1: $'PK\003\004': command not found
java/jaxb-runtime.jar: command substitution: line 38: syntax error near unexpected token `)'
��75�?�ג"-runtime.jar: command substitution: line 38: `t���Z�;S�T$qt��)٦y@��
oрs�;СdG+�晘�T�2g7O�+�]�v�q{2�[��8b�./9�<��G;Sw�c�H�>£Iz�+�{��$9+�iw�d!�x��a�e��+�E�AO$�e
�*��<[
Y��I��y���H�R�*��~٦dN�勦pf�s@a�f�Z�Y���܃EC7���b�ھ��S�R?55xI���$}B�:[�od��i�C~��Ou�����~�#��G�k-�g�����M(�d�՝e���l������ܭk��?P����x�PK'
java/jaxb-runtime.jar: line 3�a,M����x�META-INF/MANIFEST.MFuP�n�0�
�?�HK�C�nv�j�H�: No such file or directory
java/jaxb-runtime.jar: line 39: syntax error near unexpected token `$'\001\177\302V\227ߒ\235Z\353\020\332ģ\021\026/oka''
͛�hɴ�ӡ$xb-runtime.jar: line 39: `@�+�*�>���.��x._HS� �p���@Yw&�=�-`6�%m<m�⠉�In<)
�B�^����M��+����870���錻 ������m�4Eq������� �s�5,�JIܩ�^oŚim��j��Ԡ�s]��V�����+����bM��Z��g���P�+�"�m��ճy`���B0����"����$�M4��s���y�(�V�ߒ�Z��ģ/oka;T��Pf{�
0�c���5�䒊�LJ��Z9�Ӆ8��iy{���!Cb�V@�Ĥ);_?�2�)��LV$�K�����,#�'
java/lwjgl.jar: line 1: $'PK\003\004': command not found
java/lwjgl.jar: line 2: $'\bY\221!O': command not found
java/lwjgl.jar: line 3: syntax error near unexpected token `)'
java/lwjgl.jar: line 3:X�!O��_��WMETA-INF/MANIFEST.MFm�=o�0�wK�'&*d+[6`@ P%���%9vtq���1
�mXnxޏ{�LM}P�Ľ�T'R,�/�찼D�4љk&
T����l��0�}2��`���!�gR�:*Mm�'P_&X*`o�K����6�R�gFA=:��5)יΧ��<`o��jύ۶�Ԓ
F���9�GKqPK' ^?
java/lwjgl-natives-windows.jar: line 1: $'PK\003\004': command not found
java/lwjgl-natives-windows.jar: line 2: $'\bY\221!O': command not found
java/lwjgl-natives-windows.jar: line 3: syntax error near unexpected token `)'
java/lwjgl-natives-windows.jar: line 3:X�!O��_��WMETA-INF/MANIFEST.MFm�=o�0�wK�'&*d+[6`@ P%���%9vtq���1
�mXnxޏ{�LM}P�Ľ�T'R,�/�찼D�4љk& T����l��0�}2��`���!�gR�:*Mm�'P_&X*`o�K����6�R�gFA=:��5)יΧ��<`o��jύ۶�Ԓ
F���9�GKqPK' ^?
java/lwjgl-glfw.jar: line 1: $'PK\003\004': command not found
java/lwjgl-glfw.jar: line 4: syntax error near unexpected token `)'
java/lwjgl-glfw.jar: line 4: `d6�����œ`�� }�)���ꥧ�5����"S מ�D�����Ŏ= �
y�c�r9:�LL8��QF�J�/PK' l����I�]�b��:H <}�l��Z����#U_
./StartServer64.sh: line 3: java/lwjgl-glfw-natives-windows.jar: No such file or directory
java/lwjgl-jemalloc.jar: line 1: $'PK\003\004': command not found
java/lwjgl-jemalloc.jar: line 2: $'\bb\221!O': command not found
java/lwjgl-jemalloc.jar: line 24: syntax error near unexpected token `$'R\006\340\267\E\337\300\332\a_Q\370l\223''
������[�Bu7��%�/yc8��R��CדI�@��"UB'(R���_Q�l�|���&pDǔ���l��5\,Z%ifQnP$L�0��"N�'
java/lwjgl-jemalloc-natives-windows.jar: line 1: $'PK\003\004': command not found
java/lwjgl-jemalloc-natives-windows.jar: line 2: $'\bb\221!O': command not found
java/lwjgl-jemalloc-natives-windows.jar: line 12: syntax error near unexpected token `)'
java/lwjgl-jemalloc-natives-windows.jar: line 12: `�Ji��fm��r�Z��˔Y�,9P��#��'>���h
ԙx��p�zV�1���],*7�a��c�nEJr�J�q��X�;L[��i�HVV�EF�v�Y���蕬��yS,r�{�q�x���,�f[%�y���k> ;�1��=��@��sg�e��.,qۗVa{�,��!)�r+�g���^���*� n�|p�O�V
P���I\cWl-�5A�朗�
����nj��D�3@��n�
��7u������$(8 s���u���F��5�����<(��w(������X��(<�P�fA�V7��Z�B��ژUY���(�I�F JlW��uxT�w��%z��K�:% ���z�9�2�S����03L
B �o\���Ԋ� A3IV$��
��f�\�z
�Ϊ�qXp��\-P�Ͻ�`���&`�$���/���=��6�z.�)툇ތ ,ҏj����b��ҧ,(�o�Cݠ�_n���mw�CŇ���~�Tz;��^������8�u�N���:Ծ��Y}�
��a[Cq�Ƕ}ȹM�(���ɶ���4�p@h�jƍ�mc�Ef�ɳ*ۋ���w��b�R�oG+H���Ⱥ��J�|l
��Q\�3���-E�4��Z�����d������a���ڮ��E?bC�y"I,��G� 8cX7� ��@M��A�X��_��l�^/�s�3�[$pB��s+N�d��H���%�M5xnV)��3�y�Qh��D
v"7F�
��ZR�68�]܁��ƖQ@�l����D�ĪQterT������*�$~h�b�SRW����2�����-ˇ2�r[�7I�H��
<��6&�a��M�I̋n��ƤIuR�&�,�ᱮlh���fQ�>g��"Wׇ�< �S~�ҳ�|%�$YR�,j�k�P���"�~~GP���2~ac+e��# �:�.��s>���N&�P*{5DiN<qi������I�ܵ�-��C
OOZ|W`8�0�7&k6%YmB��-r+�����47��� ���?X�6:��~w��膁�jh!t-�xx�<`�2�%
���;՛
ut� f�fjD���g�?�p;p��0¢� P{�o��A]�58k��4_W����4g-�;�ZHЀd�Y�'
java/lwjgl-opengl.jar: line 1: $'PK\003\004': command not found
java/lwjgl-opengl.jar: line 2: $'\bq\221!O': command not found
java/lwjgl-opengl.jar: command substitution: line 3: unexpected EOF while looking for matching `''
java/lwjgl-opengl.jar: command substitution: line 4: syntax error: unexpected end of file
java/lwjgl-opengl.jar: line 3: �=k��Ը�kn��]b�a��S:���: No such file or directory
java/lwjgl-opengl.jar: line 3: $'~#\254\260\247L\017\202r\001\003\333H~\265\376': command not found
java/lwjgl-opengl.jar: line 3: ����q
e�Oc�ٌ���: No such file or directory
java/lwjgl-opengl.jar: line 3: $'\034\262': command not found
java/lwjgl-opengl.jar: line 4:V�!OMETA-INF/versions/PK: No such file or directory
java/lwjgl-opengl.jar: line 5:V�!OMETA-INF/versions/9/PK: No such file or directory
java/lwjgl-opengl.jar: line 6:��!Oorg/PK: No such file or directory
java/lwjgl-opengl.jar: line 7: $'\b\273\215!O': command not found
java/lwjgl-opengl.jar: line 8: org/lwjgl/PK: No such file or directory
java/lwjgl-opengl.jar: line 9:��!Oorg/lwjgl/opengl/PK: No such file or directory
java/lwjgl-opengl.jar: command substitution: line 10: syntax error near unexpected token `$'[\003\210fgP''
java/lwjgl-opengl.jar: command substitution: line 10:U�!Ov�͐�%META-INF/versions/9/module-info.class;�o�>S>vNF���Ң�T�̜TF����ҜT�̼�|��IJDF6_��0�0�0/#7�:����t�������Լ�FN�f���b���pi�R}0[��������D23�i%V�([�fgP'
java/lwjgl-opengl.jar: line 3: 2���/��`BVt<����q
e�Oc�ٌ��� &� �HZi�PK
V�!OMETA-INF/versions/PK
V�!OMETA-INF/versions/9/PK
��!Oorg/PK
��!O
org/lwjgl/PK
��!Oorg/lwjgl/opengl/PK
U�!Ov�͐�%META-INF/versions/9/module-info.class;�o�>S>vNF���Ң�T�̜TF����ҜT�̼�|��IJDF6_��0�0�0/#7�:����t�������Լ�FN�f���b���pi�R}0[��������D23�i%V�([�fgP`�怫gPK: No such file or directory
java/lwjgl-opengl.jar: line 11: syntax error near unexpected token `)'
java/lwjgl-opengl.jar: line 11:��!O>��!�+org/lwjgl/opengl/AMDBlendMinmaxFactor.class���J�@��m������@�.ş�Ap�R)�-h)��$�錤����+���C�7х�
7�nR8�h��ʨ�������HB�WF��y �4'u߆B�D�R���[� ��6�z�a6՞�����ki&=e��#��F'��&Q(;*�n��Ľ(��'
./StartServer64.sh: line 3: java/lwjgl-opengl-natives-windows.jar: No such file or directory
java/lwjgl_util.jar: line 1: $'PK\003\004': command not found
java/lwjgl_util.jar: line 2: $'\b\001': command not found
java/lwjgl_util.jar: line 3: 3F: command not found
java/lwjgl_util.jar: line 4: $'\b\b': command not found
K-*��ϳR0�3��r�Cq,HL�HU�%-�Lx���RKRSt�*A���NF/MANIFEST.MF�M��LK-.�
��Lu�
-4���sR��: No such file or directory
java/lwjgl_util.jar: line 6: $'\362\213\022K\200\3725y\271x\271PK\003\004': command not found
java/lwjgl_util.jar: line 7: $'\b\364': command not found
java/lwjgl_util.jar: line 8: $'\b\001': command not found
java/lwjgl_util.jar: line 9: 3F: command not found
java/lwjgl_util.jar: line 10: org/lwjgl/PK: No such file or directory
java/lwjgl_util.jar: line 11: $'\b': command not found
java/lwjgl_util.jar: line 12: 3Forg/lwjgl/util/PK: No such file or directory
java/lwjgl_util.jar: line 13: $'\b': command not found
java/lwjgl_util.jar: line 14: 3Forg/lwjgl/util/glu/PK: No such file or directory
java/lwjgl_util.jar: line 15: $'\b': command not found
java/lwjgl_util.jar: line 16: 3F: command not found
java/lwjgl_util.jar: line 17: $'\b': command not found
java/lwjgl_util.jar: line 18: 3Forg/lwjgl/util/input/PK: No such file or directory
java/lwjgl_util.jar: line 19: $'\b': command not found
java/lwjgl_util.jar: line 20: 3Forg/lwjgl/util/jinput/PK: No such file or directory
java/lwjgl_util.jar: line 21: $'\b': command not found
java/lwjgl_util.jar: line 22: 3Forg/lwjgl/util/mapped/PK: No such file or directory
java/lwjgl_util.jar: line 23: $'\b': command not found
java/lwjgl_util.jar: line 24: 3Forg/lwjgl/util/vector/PK: No such file or directory
java/lwjgl_util.jar: line 25: $'\b\b': command not found
java/lwjgl_util.jar: line 26: $'3F4\343\261\341': command not found
java/lwjgl_util.jar: line 26: $'\363\270\363': command not found
java/lwjgl_util.jar: line 28: syntax error near unexpected token `$'\311\f\030C\002\306\006B\0300\017\214h\022\005\021\020\'d\222L\034fpf">P\320\n\276\352\253*\212\212F\301\242\210\212\217\006\261\256V\377\210\332V\355j\255vU\355\313Zm\273쏮\325\001\177}|\373ܛ\233\311\315L\262\226ɺ\373\354s\316>\337w\366>\373\234s\357\274\367\337\327\001\177BDut\314C\v\350{"n\361P5\355\021m\257\210[E\334憸]\304\035"\356\024\361}\215\356\362\220\227\366\270\350n)\357\021\303{E\273\317E?\220\312\375"\036\020\361\240\213\366I\317C\032=\354\245 \335+\342~\021\017\210x\320C\373\351\021\021\217J\3651\021\aD<.\342\t\373\252]D\366\025\230\247\207F\350I{˛\250\266\354&\322\350)\215\016jtH\243\247\231J2\261t<\232X\027Kg\342\251\344%\035\253\231x\rS\361\252T2\223\215&\263뢉ᘃ\364?f\262\245c}0\21109\006ұX\222\311\336\v\vT\243\211\355\203Q&\347\262x2\236m\206eu\315:\364\256J\365\241wfg<\031[;\274\2557\226\2768ڛ@\213\2773\265\025\274Q\260\243n4ڳ\203\361\fSig*=P\233\33014\220\250\035\316\306\023\265\253R\211T\272\t\340\325\035\035\035\002\313i<\035x\006\360\364JG$\022\221\016M,t\223\250\324"F\373\274j+fw,\332\'\254:\266\032\261\225鴩\315\340V''
java/lwjgl_util.jar: line 28: `��*��F�������V���V�j�vU��Zm�쏮�}|�ܛ���L��ɺ��s�>�w�>��s����BDut�C
�{"n�P5�m��[E�憸]�"��}������n)��{E��E?S�T2��&�뢉ᘃ�?f��c}0�09ұX���<.� ��]D����F�I{˛���&��)�jtH���J2�t<�XKg��%��x
T���Q&�x2�m�eu�:��J��wfg<[;��7��8ڛ@��3��Q��n4ڳ��
Sig*=P��14������R�T� ���i<x��JG$�M,t���"F��j+fw,�'�:���鴩��V&��@,�-�����
�6=Ԉ��4�4��1���jn�̸}ƴϘ��j5iW6ՓMǓprVuM�P��hm"���[% ���� �,P��}a�Plk���2���PO��`43�/�ol��k�1���k�����ԫ�}��ޑ�gc�m��L��i$�Z�
�������bD.���C\i�6uծ��4C�+�%��m�4�P3����>@3Ա~]E����?������jmm����#���4�X"b��s�:(���D���h��t|`0��e�6�l�@��Z�Q@DpJ��=����Xk\v�G��,���5G"��D_L�R���C:�Z#�3���J�/�N�?o���t S�T�A�g}t����Q��-".�Y�Fڤ��>z�^D����8}�� KՄ��QS�:�d�Nd=�B=��[T=y�L�9FT�v�ؐSt��'Y��ۇ��둚�lCb�8����A�)L�ګW�����
.�-���`����(덲A�b���<�s��(�!��v'
java/sqlite-jdbc-3.27.2.1.jar: line 1: $'PK\003\004': command not found
java/sqlite-jdbc-3.27.2.1.jar: line 2: 1xtN: command not found
java/sqlite-jdbc-3.27.2.1.jar: line 35: syntax error near unexpected token `('
java/sqlite-jdbc-3.27.2.1.jar: line 35: 0xtN��=G�?'org/sqlite/SQLiteConfig$TempStore.class�SkO�`~ޭ[�R�LA&lC� ���%8�"ja�4~(�Ԓ�ծ�w�H�h ��e<om�е����<�9�������,�0-#��"D����#~��䙗��q��K�� !�"�1�/Jk+��Cb˨}�|�3�u�1�U[�:ø�zf��ٶ|#��V V]g�2��1am]-1�7Jo*$�.���%�!��-���n7x��L�a��@�v��c�l�v
oK߱�Hm�2,d�=}_�ۺc�5߳��mK<��U�.��5Ca��k�]����c��
�+r�g������f���7����L�/�z3٫ĥb��;^y�Y�C��v�iԊm4�X��ԢMYe�mxUc�����yV�|�P�a����`Q���EFAz��#�^�����Q*C�j�Υ�m��U��F�a��c+_�jc.VUX����
��ya_�)��C|<��Ɛ� ��}��1B~�M�#D��B�0�q�C�"A��r_;����
�;���a�PG?M�N�0�(݀��>F���"Ҽt�
$x�{��V�C�$��1���C�G�H,��
%0n��3~BV�IP�J��N���|X2��)&��hX���7 ��$P�I�$݄����q]
#����N3)RJ
_�&.�s&�%U\�%�r��*g�b,���bN���Y���HI�GC�q�WZЬ
� ��$����q���8�$��@�����և�Prc�Ѭ5v���PK
���@gnu/PK
���@
gnu/trove/PK
���@gnu/trove/decorator/PK
���@gnu/trove/function/PK
���@gnu/trove/impl/PK
���@gnu/trove/impl/hash/PK
���@gnu/trove/impl/sync/PK
���@gnu/trove/impl/unmodifiable/PK
���@gnu/trove/iterator/PK
���@gnu/trove/iterator/hash/PK
���@gnu/trove/list/PK
���@gnu/trove/list/array/PK
���@gnu/trove/list/linked/PK
���@gnu/trove/map/PK
���@gnu/trove/map/custom_hash/PK
���@gnu/trove/map/hash/PK
���@gnu/trove/procedure/PK
���@gnu/trove/procedure/array/PK
���@gnu/trove/queue/PK
���@gnu/trove/set/PK
���@gnu/trove/set/hash/PK
���@gnu/trove/stack/PK
���@gnu/trove/stack/array/PK
���@gnu/trove/strategy/PK
���@�np�gnu/trove/TByteCollection.classuR]OA�C�-TP+H+�l���Ƅ֚�5A� O�vl�
38;KR������i�ld_Ξ{�ǹ7�������pX�#������4������Z���q�F\����O��h��I *q�Ǡ�ɟ2��lpu�fĿ1XN�v\�
����z��>�b@� ��E��;c�ǝӉ�g͍H���Ko��0�.�t��Z>�-:�81��{�S��1R+�������4��K~Ó�I��R"u�hכh�ɉ�.�X����7�o)u7^�H�J�j�
�Gx�$�K���9�#|7v��)��EC�֤b�{�>�)u�ď�+<�V�0���%���)Ϧ}3�+���ܦ�TH6K{���x�[���< ��K��@*PE�i "hVq44W`���ޅu�
�À��1M���§
�.��/�V���V��%��v��s�: No such file or directory
java/trove-3.0.3.jar: line 34: syntax error near unexpected token `$'㝻Ӥ\331Ⱦ\234=\367so\346\317\337_\277\001\001\340\030^5\341\260''java/trove-3.0.3.jar: line 34:���@Ɨ�b��gnu/trove/TCharCollection.classuR]OA�C�-TP+H��l���Ƅ�5�!j��A����fpv���4��(㝻Ӥ�Ⱦ�=�so���_��^5� G 6ra%W#asi���;������q�F\����O��h��I
jq/eP��ϒ
4e>��v3��,gF;.u�yqJ���X�q�t���Ys#�y<��N��ǞΜX�g�E�'F�yJ?5>#��'
./StartServer64.sh: line 3: java/uncommons-maths-1.2.3.jar: cannot execute binary file: Exec format error
./StartServer64.sh: line 3: java/: Is a directory
./StartServer64.sh: line 4: .\jre64\bin\java.exe: command not found
./StartServer64.sh: line 4: natives/win64/: Is a directory
./StartServer64.sh: line 4: .: -c: invalid option
.: usage: . filename [arguments]
./StartServer64.sh: line 5: PAUSE: command not found
Edit: Actually the log above was without using box64, this is the log I get using box64
box64 /home/ubuntu/Dedicated_Server/StartServer64.sh
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096
Box64 with Dynarec v0.1.7 afc4cbc built on Feb 5 2022 02:21:22
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 21 Env var
Looking for /home/ubuntu/Dedicated_Server/StartServer64.sh
Not an ELF file (sign=@set)
Error: reading elf header of /home/ubuntu/Dedicated_Server/StartServer64.sh, try to launch natively instead
/home/ubuntu/Dedicated_Server/StartServer64.sh: 1: @setlocal: not found
/home/ubuntu/Dedicated_Server/StartServer64.sh: 2: @cd: not found
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: SET: not found
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/jassimp.jar: Exec format error
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/javacord-2.0.17-shaded.jar: Exec format error
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/javax.activation-api.jar: Exec format error
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/jaxb-api.jar: Exec format error
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/jaxb-runtime.jar: Exec format error
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/lwjgl.jar: Exec format error
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/lwjgl-natives-windows.jar: Exec format error
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/lwjgl-glfw.jar: Exec format error
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/lwjgl-glfw-natives-windows.jar: not found
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/lwjgl-jemalloc.jar: Exec format error
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/lwjgl-jemalloc-natives-windows.jar: Exec format error
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/lwjgl-opengl.jar: Exec format error
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/lwjgl-opengl-natives-windows.jar: not found
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/lwjgl_util.jar: Exec format error
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/sqlite-jdbc-3.27.2.1.jar: Exec format error
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/trove-3.0.3.jar: Exec format error
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/uncommons-maths-1.2.3.jar: Exec format error
/home/ubuntu/Dedicated_Server/StartServer64.sh: 3: java/: Permission denied
/home/ubuntu/Dedicated_Server/StartServer64.sh: 4: .\jre64\bin\java.exe: not found
/home/ubuntu/Dedicated_Server/StartServer64.sh: 4: natives/win64/: Permission denied
/home/ubuntu/Dedicated_Server/StartServer64.sh: 4: .: Illegal option -c
I was trying as well, but my knowledge is not that good. @ptitSeb What an incredible project! GJ!
Thank you :)
Some Java stuff are working on box64 now. I suggest you setup BOX64_BASH
to properly start the shell script. If you build box64 from source according to the COMPILE.md, something like
BOX64_BASH=~/box64/tests/bash box64 ~/Dedicated_Server/StartServer64.sh
for example...
Copy/Paste the resulting log here to see how it progressed if it still doesn't run.
It should works now, can you retry?
@ptitSeb It's work in below environment. thx
Oracle Cloud Infrastructure VM.Standard.A1.Flex Ubuntu 22.04 LTS Zomboid 41.78.16
Hey @ptitSeb . First of all, this is a crazy project. I believe you will singlehandedly save us all in the period when people will be migrating their stuff from x86 to arm.
It seems I'm in the same boat as people before in this thread. I compiled and installed box64 today but I'm stuck with
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
pzexe.java: loading shared library "pzexe_jni64"
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/triforcely/Steam/steamapps/common/Project Zomboid Dedicated Server/libpzexe_jni64.so: /home/triforcely/Steam/steamapps/common/Project Zomboid Dedicated Server/libpzexe_jni64.so: cannot open shared object file: No such file or directory (Possible cause: can't load AMD 64 .so on a AARCH64 platform)
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:315)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:287)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2422)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
at java.base/java.lang.System.loadLibrary(System.java:1989)
at zombie.pzexe.<clinit>(pzexe.java:9)
pzexe: failed to read output from java getting location of JNI
I'm using BOX64_BASH=~/box64/tests/bash box64 start-server.sh
to start up the app. Can you point me how to troubleshoot this? Not sure if it is important but I'm trying to run it on Orange Pi 5 (RK3588S).
Mmmm, the message about AMD on AARCH64 is suspicious. It seems it still detect Aarch64 platform, and maybe launch an aarch64 java instead of the amd64 one? Does this server can be downloaded somewhere, I need to analyse that further.
Yes, you can find it here https://pzwiki.net/wiki/Dedicated_Server .
EDIT:
While working on simpler reproduction I noticed that I accidentally used Java for Aarch64. This dedicated server package includes Jre64, however I was getting SIGSEGV
and infamous Warning, resizing of TLS occurred! size: 0->65536 / n_elfs: 1->1
. I manually downgraded JRE to older version hoping to solve this but I must have mistakingly downloaded the aarch64 package instead of x64 🤦♂️. So issue from previous post is kind of expected, I was using aarch64 Java but this still happens even when just trying to run "java".
triforcely@orangepi5:~/Steam/steamapps/common/Project Zomboid Dedicated Server/jre64/bin$ ./java
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Params database has 25 entries
Box64 with Dynarec v0.2.3 e32cb72c built on May 11 2023 19:13:01
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 28 Env var
Looking for ./java
Rename process to "java"
Using native(wrapped) libz.so.1
Using emulated /home/triforcely/Steam/steamapps/common/Project Zomboid Dedicated Server/jre64/bin/../lib/libjli.so
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using emulated /home/triforcely/Steam/steamapps/common/Project Zomboid Dedicated Server/jre64/lib/server/libjvm.so
Using native(wrapped) libm.so.6
Warning, resizing of TLS occurred! size: 0->65536 / n_elfs: 1->1
Using emulated /home/triforcely/Steam/steamapps/common/Project Zomboid Dedicated Server/jre64/lib/libjimage.so
Using emulated /home/triforcely/Steam/steamapps/common/Project Zomboid Dedicated Server/jre64/lib/libjava.so
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000001028127c0, pid=1809788, tid=1809793
#
# JRE version: (17.0.1+12) (build )
# Java VM: OpenJDK 64-Bit Server VM (17.0.1+12-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x3e27c0] Assembler::push(RegisterImpl*)+0x30
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/triforcely/Steam/steamapps/common/Project Zomboid Dedicated Server/jre64/bin/hs_err_pid1809788.log
#
#
NativeBT: ./java() [0x349ec900]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7f8c18f7d8]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(+0x7f200) [0x7f8c01f200]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(raise+0x1c) [0x7f8bfda67c]
NativeBT: /lib/aarch64-linux-gnu/libc.so.6(abort+0xe4) [0x7f8bfc7130]
NativeBT: ./java() [0x34bcfbb8]
NativeBT: ./java() [0x349d235c]
NativeBT: ./java() [0x349eb230]
NativeBT: ./java() [0x349eb8dc]
NativeBT: ./java() [0x349ec5cc]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7f8c18f7d8]
NativeBT: [0x7f8a7f3f24]
EmulatedBT: ??? [0xc0920]
EmulatedBT: /home/triforcely/Steam/steamapps/common/Project Zomboid Dedicated Server/jre64/lib/server/libjvm.so(_ZN2os5abortEbPvPKv+25) [0x103078c35]
EmulatedBT: /home/triforcely/Steam/steamapps/common/Project Zomboid Dedicated Server/jre64/lib/server/libjvm.so(_ZN7VMError14report_and_dieEiPKcS1_P13__va_list_tagP6ThreadPhPvS7_S1_im+2a0) [0x1033ad6b0]
EmulatedBT: ??? [0x103b5ee68]
EmulatedBT: ??? [0x7f84213c80]
1809793|SIGABRT @0x7f8c01f200 (???(/lib/aarch64-linux-gnu/libc.so.6+0x7f8c01f200)) (x64pc=0xc0933/???:"???", rsp=0x103b5ea10, stack=0x103a60000:0x103b60000 own=0x103a60000 fp=0x103b5ea28), for accessing 0x3e8001b9d7c (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x0000000000000001 RSP-0x18:0x0000000000000000 RSP-0x10:0x0000000103a12ee4 RSP-0x08:0x0000000103b5ea28
RSP+0x00:0x0000000103078c35 RSP+0x08:0x0000000000000000 RSP+0x10:0x0000000103b5ea88 RSP+0x18:0x0000000103b5ec58
RAX:0x0000000000000000 RCX:0x0000000000000000 RDX:0x0000000103b5ee68 RBX:0x0000000000000001
RSP:0x0000000103b5ea10 RBP:0x0000000103b5ea28 RSI:0x0000000000000078 RDI:0x0000000103d7c060
R8:0x0000007f84090490 R9:0x0000007f84090490 R10:0x0000000000000000 R11:0xffffffffffffff10
R12:0x0000000000000000 R13:0x0000000103a12ee4 R14:0x0000000103a4ea60 R15:0x00000000ffffffff
Aborted
First of all thank you for such a nice software tool.
I have been trying to get this server running on a Raspberry Pi 4 8Gb and Raspberry OS 64-bit (Raspbian) with no sucess so far. It trowns and error but there are no hard crashes. Java keeps saying it couldn't reserve enough adress space regardless of the allocated memory parameter. Any thoughts on this? Here is my output:
>> /PZServer $ ./start-server.sh
64-bit java detected
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Running on Cortex-A72 with 4 Cores
Params database has 23 entries
Box64 with Dynarec v0.2.3 c5e8aaff built on May 31 2023 19:58:54
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 26 Env var
BOX64 try to Preload libjsig.so
Looking for ./ProjectZomboid64
Apply RC params for ProjectZomboid64
Applying BOX64_DYNAREC_STRONGMEM=2
Applying BOX64_DYNAREC_SAFEFLAGS=2
Rename process to "ProjectZomboid64"
Error loading needed lib libjsig.so
Warning, cannot pre-load of libjsig.so
Using emulated /home/pi/PZServer/linux64/libsteam_api.so
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
pzexe: looking for PZXInitThreads.so
Using emulated /home/pi/PZServer/natives/libPZXInitThreads64.so
Using native(wrapped) libSM.so.6
Using native(wrapped) libICE.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x100cb0aa0 (0x5e6)
XInitThreads.cpp: calling XInitThreads()
pzexe: libPZXInitThreads64.so loaded successfully.
pzexe: about to run java hack to locate libjvm.so...
pzexe: executing "java -classpath pzexe.jar -Djava.library.path=. zombie.pzexe"
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
pzexe.java: loading shared library "pzexe_jni64"
JVM=/home/pi/PZServer/jre64/lib/server/libjvm.so
pxexe: /proc/self/exe=/home/pi/PZServer/ProjectZomboid64
pzexe config file: /home/pi/PZServer/ProjectZomboid64.json
pzexe: mainClass: zombie/network/GameServer
pzexe: classpath: -Djava.class.path=java/.:java/istack-commons-runtime.jar:java/jassimp.jar:java/javacord-2.0.17-shaded.jar:java/javax.activation-api.jar:java/jaxb-api.jar:java/jaxb-runtime.jar:java/lwjgl.jar:java/lwjgl-natives-linux.jar:java/lwjgl-glfw.jar:java/lwjgl-glfw-natives-linux.jar:java/lwjgl-jemalloc.jar:java/lwjgl-jemalloc-natives-linux.jar:java/lwjgl-opengl.jar:java/lwjgl-opengl-natives-linux.jar:java/lwjgl_util.jar:java/sqlite-jdbc-3.27.2.1.jar:java/trove-3.0.3.jar:java/uncommons-maths-1.2.3.jar:java/commons-compress-1.18.jar
pzexe: vmArg (json) 1: -Djava.awt.headless=true
pzexe: vmArg (json) 2: -Xmx4g
pzexe: vmArg (json) 3: -Dzomboid.steam=1
pzexe: vmArg (json) 4: -Dzomboid.znetlog=1
pzexe: vmArg (json) 5: -Djava.security.egd=file:/dev/urandom
pzexe: vmArg (json) 6: -XX:+UseZGC
pzexe: vmArg (json) 7: -XX:-OmitStackTraceInFastThrow
pzexe: using jvm "/home/pi/PZServer/jre64/lib/server/libjvm.so"
Using emulated /home/pi/PZServer/jre64/lib/server/libjvm.so
libjvm detected, disable Dynarec BigBlock and enable Dynarec StrongMem
Using emulated /home/pi/PZServer/jre64/lib/libjimage.so
Warning: Unsupported libc Syscall 0xEF (239)
Using emulated /home/pi/PZServer/jre64/lib/libjava.so
[0.826s][error][gc] Failed to reserve enough address space for Java heap
Failed to create Java VM
Not sure. I pused a few things on box64 to try help the few issues I see, but I'm not sure it will fix the address space heap issue. Did you try to run with a swapfile, in case it needs a lot of memory?
Still not working. Tried with a swap file of 8 gigs and I get the same result. The output changed a little tought (I'm using the latest version from github of box86 and box64):
>> ./start-server.sh
64-bit java detected
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Running on Cortex-A72 with 4 Cores
Params database has 23 entries
Box64 with Dynarec v0.2.3 7cbb2bf4 built on Jun 3 2023 19:48:40
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 26 Env var
BOX64 try to Preload libjsig.so
Looking for ./ProjectZomboid64
Apply RC params for ProjectZomboid64
Applying BOX64_DYNAREC_STRONGMEM=2
Applying BOX64_DYNAREC_SAFEFLAGS=2
Applying BOX64_DYNAREC_JVM=0
Rename process to "ProjectZomboid64"
Error loading needed lib libjsig.so
Warning, cannot pre-load of libjsig.so
Using emulated /home/pi/PZServer/linux64/libsteam_api.so
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
pzexe: looking for PZXInitThreads.so
Using emulated /home/pi/PZServer/natives/libPZXInitThreads64.so
Error initializing native libSM.so.6 (last dlerror is libSM.so.6: cannot open shared object file: No such file or directory)
Error loading needed lib libSM.so.6
Error initializing native libICE.so.6 (last dlerror is libICE.so.6: cannot open shared object file: No such file or directory)
Error loading needed lib libICE.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Error loading one of needed lib
Error initializing needed lib libPZXInitThreads64.so
Warning: Cannot dlopen("libPZXInitThreads64.so"/0x411039, 2)
pzexe: libPZXInitThreads64.so was not found. This is ok for a server, but multi-core rendering won't work on a client without it.
pzexe: about to run java hack to locate libjvm.so...
pzexe: executing "java -classpath pzexe.jar -Djava.library.path=. zombie.pzexe"
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
pzexe.java: loading shared library "pzexe_jni64"
JVM=/home/pi/PZServer/jre64/lib/server/libjvm.so
pxexe: /proc/self/exe=/home/pi/PZServer/ProjectZomboid64
pzexe config file: /home/pi/PZServer/ProjectZomboid64.json
pzexe: mainClass: zombie/network/GameServer
pzexe: classpath: -Djava.class.path=java/.:java/istack-commons-runtime.jar:java/jassimp.jar:java/javacord-2.0.17-shaded.jar:java/javax.activation-api.jar:java/jaxb-api.jar:java/jaxb-runtime.jar:java/lwjgl.jar:java/lwjgl-natives-linux.jar:java/lwjgl-glfw.jar:java/lwjgl-glfw-natives-linux.jar:java/lwjgl-jemalloc.jar:java/lwjgl-jemalloc-natives-linux.jar:java/lwjgl-opengl.jar:java/lwjgl-opengl-natives-linux.jar:java/lwjgl_util.jar:java/sqlite-jdbc-3.27.2.1.jar:java/trove-3.0.3.jar:java/uncommons-maths-1.2.3.jar:java/commons-compress-1.18.jar
pzexe: vmArg (json) 1: -Djava.awt.headless=true
pzexe: vmArg (json) 2: -Xmx8g
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: -Djava.security.egd=file:/dev/urandom
pzexe: vmArg (json) 7: -XX:+UseZGC
pzexe: vmArg (json) 8: -XX:-OmitStackTraceInFastThrow
pzexe: using jvm "/home/pi/PZServer/jre64/lib/server/libjvm.so"
Using emulated /home/pi/PZServer/jre64/lib/server/libjvm.so
Using emulated /home/pi/PZServer/jre64/lib/libjimage.so
Using emulated /home/pi/PZServer/jre64/lib/libjava.so
[0.630s][error][gc] Failed to reserve enough address space for Java heap
Failed to create Java VM
PD: It shouldn't be running out of memory as it only uses about one gig to start the server without any players in it. (Checked on a x86 linux computer)
I tryed on the same Raspberry Pi 4 8 GB but this time with Ubuntu and it worked just fine. It fails to start sometimes but just retry and it works. There are still a few errors and warnings. I don't know why it didn't work on Raspberry Pi OS, there might be something that prevents the server from allocating memory. I followed the exact same procedure...
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A55 with 4 Cores Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz Params database has 73 entries Box64 with Dynarec v0.2.9 c9a6d4c0 built on Jun 14 2024 21:15:24 BOX64: Didn't detect 48bits of address space, considering it's 39bits Counted 10 Env var BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/ BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/ Looking for ./start-server.sh Not an ELF file (sign=#!/b) Error: Reading elf header of /home/steam/Steam/steamapps/common/Zomboid/start-server.sh, Try to launch natively instead 64-bit java detected ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A55 with 4 Cores Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz Params database has 73 entries Box64 with Dynarec v0.2.9 c9a6d4c0 built on Jun 14 2024 21:15:24 BOX64: Didn't detect 48bits of address space, considering it's 39bits Counted 16 Env var BOX64 trying to Preload libjsig.so BOX64 LIB PATH: /home/steam/Steam/steamapps/common/Zomboid/linux64/:/home/steam/Steam/steamapps/common/Zomboid/natives/:/home/steam/Steam/steamapps/common/Zomboid/:/home/steam/Steam/steamapps/common/Zomboid/jre64/lib/amd64/:./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/ BOX64 BIN PATH: ./:bin/:/home/steam/Steam/steamapps/common/Zomboid/jre64/bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/ Looking for ./ProjectZomboid64 Apply RC params for ProjectZomboid64 Applying BOX64_SSE42=0 Applying BOX64_JVM=0 Applying BOX64_MAXCPU=4 Applying BOX64_DYNAREC_STRONGMEM=3 Applying BOX64_DYNAREC_SAFEFLAGS=2 Applying BOX64_DYNAREC_ALIGNED_ATOMICS=1 Rename process to "ProjectZomboid64" Error loading needed lib libjsig.so Warning, cannot pre-load libjsig.so Using emulated /home/steam/Steam/steamapps/common/Zomboid/linux64/libsteam_api.so Using native(wrapped) libdl.so.2 Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6 Using native(wrapped) libm.so.6 Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) libutil.so.1 Using native(wrapped) librt.so.1 Using native(wrapped) libbsd.so.0 pzexe: looking for PZXInitThreads.so Using emulated /home/steam/Steam/steamapps/common/Zomboid/natives/libPZXInitThreads64.so Error initializing native libSM.so.6 (last dlerror is libSM.so.6: cannot open shared object file: No such file or directory) Error loading needed lib libSM.so.6 Error initializing native libICE.so.6 (last dlerror is libICE.so.6: cannot open shared object file: No such file or directory) Error loading needed lib libICE.so.6 Using native(wrapped) libX11.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Using native(wrapped) libXext.so.6 Error loading one of needed lib Error initializing needed lib libPZXInitThreads64.so Warning: Cannot dlopen("libPZXInitThreads64.so"/0x411039, 2) pzexe: libPZXInitThreads64.so was not found. This is ok for a server, but multi-core rendering won't work on a client without it. pzexe: about to run java hack to locate libjvm.so... pzexe: executing "java -classpath pzexe.jar -Djava.library.path=. zombie.pzexe" ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. pzexe.java: loading shared library "pzexe_jni64" JVM=/home/steam/Steam/steamapps/common/Zomboid/jre64/lib/server/libjvm.so pxexe: /proc/self/exe=/home/steam/Steam/steamapps/common/Zomboid/ProjectZomboid64 pzexe config file: /home/steam/Steam/steamapps/common/Zomboid/ProjectZomboid64.json pzexe: mainClass: zombie/network/GameServer pzexe: classpath: -Djava.class.path=java/.:java/istack-commons-runtime.jar:java/jassimp.jar:java/javacord-2.0.17-shaded.jar:java/javax.activation-api.jar:java/jaxb-api.jar:java/jaxb-runtime.jar:java/lwjgl.jar:java/lwjgl-natives-linux.jar:java/lwjgl-glfw.jar:java/lwjgl-glfw-natives-linux.jar:java/lwjgl-jemalloc.jar:java/lwjgl-jemalloc-natives-linux.jar:java/lwjgl-opengl.jar:java/lwjgl-opengl-natives-linux.jar:java/lwjgl_util.jar:java/sqlite-jdbc-3.27.2.1.jar:java/trove-3.0.3.jar:java/uncommons-maths-1.2.3.jar:java/commons-compress-1.18.jar pzexe: vmArg (json) 1: -Djava.awt.headless=true pzexe: vmArg (json) 2: -Xmx4g 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: -Djava.security.egd=file:/dev/urandom pzexe: vmArg (json) 7: -XX:+UseZGC pzexe: vmArg (json) 8: -XX:-OmitStackTraceInFastThrow pzexe: using jvm "/home/steam/Steam/steamapps/common/Zomboid/jre64/lib/server/libjvm.so" Using emulated /home/steam/Steam/steamapps/common/Zomboid/jre64/lib/server/libjvm.so Using emulated /home/steam/Steam/steamapps/common/Zomboid/jre64/lib/libjimage.so Using emulated /home/steam/Steam/steamapps/common/Zomboid/jre64/lib/libjava.so [1.184s][error][gc] Failed to reserve enough address space for Java heap Failed to create Java VM
I am trying to run a dedicated Project Zomboid server (64bit linux version) on a Raspberry Pi4 8GB. I got the arm64 version of Ubuntu 20.04.3 installed and the newest version of Box64. I can run a Factorio server without problems, but cant get this to work.
This is the error i get:
ubuntu@ubuntu:~/project_zomboid $ ~/project_zomboid/start-server.sh 64-bit java detected ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Box64 with Dynarec v0.1.5 911ecc4 built on Sep 10 2021 14:16:05 Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/ Using default BOX64_PATH: ./:bin/ Counted 26 Env var BOX64 try to Preload libjsig.so Looking for ./ProjectZomboid64 Using emulated libjsig.so Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) librt.so.1 Using emulated libsteam_api.so Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6 Using native(wrapped) libm.so.6 Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1 pzexe: looking for PZXInitThreads.so Using emulated libPZXInitThreads64.so Using native(wrapped) libX11.so.6 XInitThreads.cpp: calling XInitThreads() pzexe: libPZXInitThreads64.so loaded successfully. pzexe: about to run java hack to locate libjvm.so... pzexe: executing "java -classpath pzexe.jar -Djava.library.path=. zombie.pzexe" ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. pzexe.java: loading shared library "pzexe_jni64" Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/ubuntu/project_zomboid/libpzexe_jni64.so: /home/ubuntu/project_zomboid/libpzexe_jni64.so: cannot open shared object file: No such file or directory (Possible cause: can't load AMD 64 .so on a AARCH64 platform) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:383) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:227) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:169) at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:310) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:282) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2416) at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:808) at java.base/java.lang.System.loadLibrary(System.java:1893) at zombie.pzexe.(pzexe.java:9)
pzexe: failed to read output from java getting location of JNI
Unrecognized VM option 'UseSplitVerifier'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Is this an error of Box64? Or is it on my/project zomboids side?