README.md: Fixed Java and C++ examples with -e option

New in v2:
 - Added new examples instead of just deletion of the invalid old ones.

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>