From bc3809f2f50d84073f8952b578fc52859cd9f126 Mon Sep 17 00:00:00 2001 From: Xiao X <103391432+QXIoa@users.noreply.github.com> Date: Mon, 25 May 2026 22:29:01 -0400 Subject: [PATCH] add instructions for compilation --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 8aaba0f..bac2eb3 100644 --- a/README.md +++ b/README.md @@ -1 +1,12 @@ A multi-purpose Cryptography library in Java. Working on it day by day, slowly. Someday this will become used, today is not that day. + + +Use `setopt interactivecomments` (zsh only) to disable errors like `zsh: command not found: #` +Ensure Java + javac are installed, on MacOS it can be installed with Homebrew by running `brew install openjdk` + +To compile on MacOS 26 (may work on other OS, idk): + +1- mkdir -p out # create output directory +2- javac -d out $(find src -name "*.java") # converts .java into .class bytecode +3- jar cfe XACrypto.jar de.caydenno1.xacrypto.XACrypto -C out . # package the .class files into a .jar +4(optional)- jar tf XACrypto.jar # view the contents of the jarfile