My guess is that there is some sort of Oracle licensing agreement that prevents Apple from distributing Java with the release. You'd think that these two massive public companies would be able to work something out
Once you have done that, if you are a developer, you will need to fix where the source code is:
- Go to http://connect.apple.com and download: Java for Mac OS X 10.7 Developer Package
- Install it.
- Open a Terminal.app window
- cd /System/Library/Frameworks/JavaVM.framework/Home
- sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_26-b03-383.jdk/Contents/Home/src.jar .
- sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_26-b03-383.jdk/Contents/Home/docs.jar .
- sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_26-b03-383.jdk/Contents/Home/appledocs.jar .
p.p.s. This fixes apps like 'Network Connect' which depend on Java being installed.
p.p.p.s. Check out Similarity.com. Developed on a Mac, using Java, running on Google App Engine.