-
Notifications
You must be signed in to change notification settings - Fork 0
kevinmic/java_readFileFromResource
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Run the following cd src # compile the code for the jar javac code/*.java # create the jar using the code and udf directories jar -cf ../myjar.jar code udf cd .. # list the contents of the jar jar -tf myjar.jar # compile the test code that accesses code in the jar javac -cp .:myjar.jar TestIt.java # run the code java -cp .:myjar.jar TestIt
About
Code to try and illistrate a way to get a file out of a resource Stream and a way not to do it.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published