From eda2fc5dbabf2432de9f5e08ab0dae4db74b1c6c Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sat, 14 Feb 2026 17:12:48 +0530 Subject: Run jar command with -C option --- java/07-simple-objects-better-use-jar/myaccountslib/README | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'java') diff --git a/java/07-simple-objects-better-use-jar/myaccountslib/README b/java/07-simple-objects-better-use-jar/myaccountslib/README index 94d053e..72a980e 100644 --- a/java/07-simple-objects-better-use-jar/myaccountslib/README +++ b/java/07-simple-objects-better-use-jar/myaccountslib/README @@ -8,5 +8,4 @@ javac --source-path src/ -d bin/ src/*.java # Build jar file: mkdir dist -cd bin -jar cf ../dist/myaccountslib.jar *.class +jar cf dist/myaccountslib.jar -C bin . -- cgit v1.2.3