I've tried to install Java 7 (aka 1.7) on OSX 10.7.5 (Lion).
Unfortunately this seems to have mucked up Java all together and I'm not sure how to resolve the problem. Currently when I try to run Eclipse I get the error:
The JVM shared library "/System/Library/Frameworks/JavaVM.framework" does not contain the JNI_CreateJavaVM symbol.
Programs such as Minecraft and PhpStorm will crash completely with no errors.
Running 'java -version' in terminal gives me:
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
Which I understand is to be expected with a straight install of Java 7. Unfortunately Utilities -> Java Preferences has been removed in OSX 10.7.5, and trying to load the System Preference -> Java pane doesn't work (it tells me that it opens in a new window but doesn't, when the button appears to reload it, clicking it doesn't do anything).
I've tried reinstalling various versions of JRE and JDK to no avail.
Is there anyway to bin the lot and start again or am I missing something really obvious?