formatThread functions is added.
Sample java program is made more complicated.
Migration to the latest jdi library.