diff options
| author | Fuwn <[email protected]> | 2024-06-07 22:28:19 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-06-07 22:28:19 -0700 |
| commit | 41db3ef444f0d23d544926ec8b799ff7961a8e96 (patch) | |
| tree | 5e3ced043a734db98fdcbf8a176acd4a5d6599fb | |
| parent | docs(readme): add proper example (diff) | |
| download | worldsplayer_source_editor-41db3ef444f0d23d544926ec8b799ff7961a8e96.tar.xz worldsplayer_source_editor-41db3ef444f0d23d544926ec8b799ff7961a8e96.zip | |
fix(decompile): update javac paths for release
| -rwxr-xr-x | bin/compile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/compile b/bin/compile index a6a5997..a909ae1 100755 --- a/bin/compile +++ b/bin/compile @@ -2,7 +2,7 @@ main() { # Replace this with your local location for the Java SE 6 JDK - local JAVAC=${JAVAC:-~/Downloads/jdk1.6.0_45} + local JAVAC=${JAVAC:-~/Downloads/jdk1.6.0_45/bin/javac} echo "Using JAVAC=${JAVAC}" @@ -10,7 +10,7 @@ main() { find source -name "*.java" >sources.txt - ${JAVA_HOME}/bin/javac -source 1.6 -target 1.6 -Xlint:none -d out @sources.txt + ${JAVAC} -source 1.6 -target 1.6 -Xlint:none -d out @sources.txt jar cf out/worlds.jar -C out . jar cfm out/worlds.jar MANIFEST.MF -C out . |