Use of the migration feature inadvertently backdates one component of Java software on computers that have the most recent Java version (1.4.2 Update 2), thus causing the issue. In that situation, Java won't work for various applications, including Safari.
To resolve this issue, simply reinstall Java 1.4.2 Update 2. Software Update will automatically spot the out-of-date component and offer you the update for reinstallation.