Skip to content

Instantly share code, notes, and snippets.

@cfrank
Last active October 9, 2022 08:23
Show Gist options
  • Save cfrank/cc23fd2b2eb4834edd83b1f4d000a0e7 to your computer and use it in GitHub Desktop.
Save cfrank/cc23fd2b2eb4834edd83b1f4d000a0e7 to your computer and use it in GitHub Desktop.
Compile jagexappletviewer on Java 1.6

These are not the original file paths. Adapt the file locations to something that matches what you have.

C:\Program Files (x86)\Java\jdk1.6.0_45\bin\javac.exe' -cp .\src\main\java\ -d .\tmp-cmd-dir-cl\ .\src\main\java\com\open592\appletviewer\*.java .\src\main\java\com\open592\jagexappletviewer\*.java .\src\main\java\com\open592\nativeadvert\*.java

C:\Program Files (x86)\Java\jdk1.6.0_45\bin\jar.exe' -cvfe jagexappletviewer.jar com.open592.jagexappletviewer.jagexappletviewer .\com\open592\jagexappletviewer\*.class .\com\open592\appletviewer\*.class .\com\open592\nativeadvert\*.class

$env:JAVA_TOOL_OPTIONS = '-Dcom.jagex.config=http://localhost:8000/jav_config.ws'

C:\Program Files (x86)\Java\jdk1.6.0_45\bin\java.exe' -jar .\jagexappletviewer.jar runescape

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment