I want to use Java7 for some development work but I don't want to install it and make it the default VM over the entire system. What I tried to do was download the linux tar.gz file, throw it in a directory, setup some PATH info and run
java - version but when I do that it says 'cannot execute binary file'. So much for *nix.
Anything I can do to make the above work or is there another way to go about this? Again, I don't want (can't) disrupt the OSX version of Java that is currently installed.