AFAIK this is handled by the JAVA VM. So the VM has to support it.
But then again…I am no JAVA jockey…I could be wrong.