The other responders are completely correct. You can't run z/OS under hercules
without permission from IBM, and your question is more appropriate for the
Hercules message boards, but, assuming you do have permission, a simple web
search shows that you can fix the issue.
The page says that Java is more fully supported on the current release.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN