Skip to content

Commit caaa965

Browse files
Compile and package mac/linux script
1 parent 942cdec commit caaa965

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

compile_and_package_mac_linux.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
# Compile all Java files in the src directory and its subdirectories
4+
javac -d out -cp "libs/*" $(find src -name "*.java")
5+
6+
# Package the compiled files into a JAR
7+
jar cfe out/JTabViz.jar src.Main -C out .
8+
9+
# Run the packaged Java application
10+
java -jar out/JTabViz.jar

out/JTabViz.jar

352 KB
Binary file not shown.

0 commit comments

Comments
 (0)