The Java support Apple provides is different from other platforms, which makes using Java on a Mac a bit more challenging.
Some things that you can do to improve the situation.
1) Install Java 6 from Oracle.
2) Run Java in a separate process from your web browser.
You may be interested in the instructions to run GenomeView on a Mac.