security study with Java