-
Notifications
You must be signed in to change notification settings - Fork 0
Creating Shared Library
Navigate into $projectDir\src\main\java\sharedrmi\application
Run command
javac api\CustomerService.java api\ProductService.java dto\CustomerDTO.java dto\AlbumDTO.java dto\ArtistDTO.java dto\SongDTO.java
Navigate into CustomerDatabaseRMI\src\main\java\
Run command
jar cf sharedrmi.jar sharedrmi\application\api\CustomerService.class sharedrmi\application\api\ProductService.class sharedrmi\application\dto\CustomerDTO.class sharedrmi\application\dto\AlbumDTO.class sharedrmi\application\dto\SongDTO.class sharedrmi\application\dto\ArtistDTO.class
jar : the term 'jar' is not recognized as the name of a cmdlet, function, script file, or operable program. check the spelling of the name, or if a path was included, verify that the path is correct and try again. at line:1 char:1 + jar + ~~~ + categoryinfo : objectnotfound: (jar:string) [], commandnotfoundexception + fullyqualifiederrorid : commandnotfoundexception
Check if jar.exe
exists in C:\Program Files\Java\jdk-11.0.10\bin
C:\Program Files\Java\jdk-11.0.10\bin
Check/Add Path Variables
and