Note: Libraries are mainly loaded by Class-Path
Example: Mohist has \libraries\org\ow2\asm\asm-debug-all\5.2\asm-debug-all-5.2.jar
by default.
What if we need to update this library to 7.0?
- First, get
asm-debug-all-7.0.jar
- Change the file name to
asm-debug-all-5.2.jar
(because we need to be consistent with Class-Path) - Replace the old jar
- Modify the configuration in mohist.yml
- Find the default
libraries_black_list: aaaaa;bbbbbb
- Add
asm-debug-all-5.2
to the list:libraries_black_list: asm-debug-all-5.2;bbbbbb
- Find the default
- You have completed all the steps and can run mohist
Add additional jars as libraries
- Put your jar file into
\libraries\customize_libraries
- You have completed all the steps and can run mohist