Use this java binary:
https://github.com/Win-DVD/openjdk-jdk25u-vista/releases/tag/25.0.3-ga-xp

Instructions for Shattered Prism:
Go to the "Edit" menu for your instance
Go to Settings -> Tweaks/Workarounds (I can't remember what it's called on Vista)
Point both of the files to these