Question:
How to make minecraft server class files to a runnable jar file?
?
2010-12-21 02:06:40 UTC
Ok, so im trying to make a server to minecraft(a game)
When ive downloaded the jar file(i cant download the exe cause i need to be able to use mods and then it wont work) and when i unzip it it only contains very many .class files, examples a.class aa.class etc.etc.
So how do i turn all these into one jar file that i can run as a server cause now its not possible to start a server. Im using windows 7 64 bit

Thanks!

Best regards

Oscar
Three answers:
Jeroonk
2010-12-21 02:19:30 UTC
Wait...



- You downloaded a .jar

- Unzipped it

- Now you want to put everything back in a .jar to run ?



You shouldn't unzip it in the first place, just download the whole file (the minecraft_server.jar) to the location you want your server. And then run that file (the .jar) with Java.



Or.. you could create a little batch script, which runs it for you (provided you have Java installed).



- Create a new file run_server.bat.

- Open it with notepad (not with wordpad)

- Add the following:



http://jeroonk.pastebin.com/KwXV4mwi (Yahoo was truncating it)



Now you only have to run this script to start the server.
portillo
2016-11-06 01:59:02 UTC
JAR archives are used because of the fact they provide a ideal grouping of all appropriate class archives used for a undeniable library. an identical theory exists for DLL archives, it relatively is a compiled set of C/C++/.internet instructions. employing immediately up class archives is fantastic for attempting out, yet production purposes shouldn't in any respect use uncooked class archives. JAR record utilization is the convention, and is a lot much less annoying to combine into an utility. A JAR record is basically a zipper record already; it relatively is in basic terms utilized in specific for Java purposes.
anonymous
2014-07-22 18:17:13 UTC
So..

If you are looking for a free download of Winrar you can check here http://bit.ly/1p3P6m6

To open compressed files (zip rar jar iso 7z cab uue gz....) you have to use WinRar. With WinRar you can easily decompress files and folders.

Cheers ;)


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...