Trying to access a file which is in jar file for some requirement
Assume that i have a file "test" under src/main/resources inside the "example.jar"
We can access the file test by unzipping the jar file
unzip -q -j <JAR NAME> <FILENAME>
-q option is for the quiet
Assume that i have a file "test" under src/main/resources inside the "example.jar"
We can access the file test by unzipping the jar file
unzip -q -j <JAR NAME> <FILENAME>
-q option is for the quiet
Comments
Post a Comment