Link for Java 5.0 and new beta 6
Uninstall LW and all Java versions on your system. Reboot and then download the JRE offline installer of the newest Java version from here:
http://java.sun.com/j2se/1.5.0/download.jsp
Install it and reboot again, then reinstall LW.