memory fault (coredump)

Getting memory fault (coredump) and segmentation fault(coredump)

when i tried javac or java -version. what could be the problem?

Regards
Eswar

Any errors in the messages file.
Whats your system configuration like?:confused:

whats your OS version of Solaris and its patch level?