I would like to thank everyone here for their good advise and patients. It turned out that I was using the 32 bit version of java instead of the 64 bit version. Everything is working fine now.

Thanks to all,

Fred