You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no indication in the README of how to use this from the command-line. I'm a Ruby, JavaScript, and C programmer; I have no experience with Java, and I have no idea how to run the commands described in the README using a .jar file.
A basic “how to download, and example commands I can run at the shell's command-line” section in the REAMDE would be welcome.
The text was updated successfully, but these errors were encountered:
Download by clicking the binary download links in the readme (assuming as you're not a Java coder you won't want to compile from source). Jar files are run from command line with "java -jar [jarfile].jar" (your Java install must be on your PATH, otherwise either add it or use the full path e.g. "'C:\Program Files\Java\jre7\bin\java' -jar [jarfile].jar'), just put the arguments after that like you would with any other command-line program.
For example, if you had the 1.1 binary ("cli-nbt-1.1.jar") and an uncompressed NBT file (nbt.nbt) you wanted to edit:
$ java -jar cli-nbt-1.1.jar nbt.nbt
If nbt.nbt is GZIP compressed:
$ java -jar cli-nbt-1.1.jar -g nbt.nbt
Sorry for the late reply, I've been away for the last 2 weeks with no Internet.
There's no indication in the README of how to use this from the command-line. I'm a Ruby, JavaScript, and C programmer; I have no experience with Java, and I have no idea how to run the commands described in the README using a
.jar
file.A basic “how to download, and example commands I can run at the shell's command-line” section in the REAMDE would be welcome.
The text was updated successfully, but these errors were encountered: