Java language playing with sandbox