Added code using api.
** Requires x86 version of JDK