java - vServer Linux - Start jar: Invalid or corrupt jarfile -
i'm running linux vserver debian 8.0 64 bit 512 mb ram , 150gb space.
its planned use game , let server.jar run nonstop. server working kryonet, library simple client/server communication. on server installed java 1.8 , working fine, testing downloaded minecraft server jar, works perfectly. packed server executable jar eclipse (compile version 1.8), worked fine when starting cmd on computer (java 8 installed) when trying start on server: error: invalid or corrupt jarfile server.jar
i thought problem librarys used, tried clean helloworld jar, not work.
here screenshot showing installed java version , trying run helloworld jar.
i solved problem!
the jar corrupted: transfered jar on server using mediafire hoster , using direct download link download jar on server via wget <url>
.
seemingly mediafire damaging jars (maybe compressing them), used dropbox hoster , worked fine!
i hope can having same problem.
Comments
Post a Comment