[HD Pg 0, Sec. 4.5.1 - compilation-and-execution-involving-packages]
Posted: Thu Aug 03, 2023 6:02 pm
Hi,
I tried running the suggested command, section 4.5.2, page 271: jar -cvf accounting.jar accounting
I am getting the error:
'jar' is not recognized as an internal or external command,
operable program or batch file.
I tried to troubleshoot, looking up solutions, I changed my java Path as per this posting (https://www.geeksforgeeks.org/how-to-se ... and-linux/), it did not help. (...now I'm worried that this Path change was unnecessary and may cause future problems?).
Any suggestions? Thanks.
Windows 11 pro on Mac M1 via Parallels
Java 20 for Windows
Update: I tried the above completely within the Mac OS environment (Mac terminal, Mac folders, Mac java installation 19.0.2), no problems. So I guess my problem is a Windows on Mac problem? Or a Java 20 problem? Thanks again. For now, I will continue the course on Mac. Will this be a problem in future chapters?
I tried running the suggested command, section 4.5.2, page 271: jar -cvf accounting.jar accounting
I am getting the error:
'jar' is not recognized as an internal or external command,
operable program or batch file.
I tried to troubleshoot, looking up solutions, I changed my java Path as per this posting (https://www.geeksforgeeks.org/how-to-se ... and-linux/), it did not help. (...now I'm worried that this Path change was unnecessary and may cause future problems?).
Any suggestions? Thanks.
Windows 11 pro on Mac M1 via Parallels
Java 20 for Windows
Update: I tried the above completely within the Mac OS environment (Mac terminal, Mac folders, Mac java installation 19.0.2), no problems. So I guess my problem is a Windows on Mac problem? Or a Java 20 problem? Thanks again. For now, I will continue the course on Mac. Will this be a problem in future chapters?