I'm running a Linux vServer with Debian 8.0 64 bit with 512 MB RAM and 150GB space.
Its planned to use it for a game and let a Server.jar run nonstop. The Server is working with Kryonet, a library for simple Client/Server communication. On my server i installed Java 1.8 and its working fine, for testing i downloaded Minecraft server jar, it works perfectly. So i packed my Server into a executable jar with eclipse (compile version 1.8), it worked fine when starting it with cmd on my computer (Java 8 installed) but when trying to start it on the server: Error: Invalid or corrupt jarfile Server.jar
I thought it could be a problem with the librarys i used, so i tried a clean HelloWorld jar, also does not work.
Here is a screenshot showing my installed java version and trying to run my HelloWorld jar.