I doubt java can read most contents of a registry.

What does this question have to do with OOP?