Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I play Minecraft like many gamers and I am trying to make a profile where I can read the enchanting table language and I cannot get it to work. How do I change the folder that I used to edit it into a jar?

share|improve this question

3 Answers 3

Compress the contents of the folder then rename the .zip to .jar

share|improve this answer

From terminal use:

jar -cvf filename.jar ./foldername

jar works much the same as the unix archive command tar, the parameters cvf mean essentially Create Verbosely Filename which will just display the contents of foldername as they are added into filename.jar.

Instead of create you can use x for extract or t for test extract (aka list).

share|improve this answer

Minecraft specifically will also recognize a jar without any compression at all—you can just rename your folder from (for example) 1.7.9 copy to 1.7.9.jar. I find this really useful with Minecraft since I don't have to zip and unzip every time for it to work.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.