This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Yep, I know in other threads I said I just wasn't going to install Mountain Lion because I loved Spaces. The good thing I see with Mountain Lion as opposed to Lion, is that when you create new Desktops it automatically assigns CTRL-# for each desktop, so it works exactly like spaces for me. I had to get Java 7, that is why I installed it last night. Still getting used to scroll direction, but I was familiar with all the other new stuff, and it doesn't take long to get used to them. Especially since I would play with Mountain Lion at the Apple Stores so I was already used to those.
While installing Java 7 was really easy. Getting it to show me java -version or javac -version still shows me Java 6 though. I went to the Java Utilities app and unchecked the 2 Java 6 listed there and moved Java 7 to the top, but that didn't help.
Gregg Bolinger wrote:I bet you need Java 7 for Vert.x.
I opted for the linux in a VM route to play around with Java 7 because I still need 6 to do my other work.
You know it.
I have been using ftp to copy my Groovy scripts for vertx to a Centos VM, still coding on my Mac in IntelliJ with Java6. I also have Mint and Ubuntu VMs in VMWare Fusion and did that for a little bit, but I would much rather have it right on the Mac directly. Just downloaded LibreOffice to replace Open Office since OO doesn't work with Java 7.
What I mean is, how difficult is it to have 6 and 7 installed on OSX? I suppose I could have one of them installed as the main jvm and just have the other version tucked away in a folder that I can use via path adjustments when necessary.
Gregg Bolinger wrote:What I mean is, how difficult is it to have 6 and 7 installed on OSX? I suppose I could have one of them installed as the main jvm and just have the other version tucked away in a folder that I can use via path adjustments when necessary.
Yes, just like linux you can have multiple versions of Java installed and have certain applications use different versions etc. For instance, In order to startup Open Office, it requires 6 even though I now have 7 at the top. So I just went into the Utilities folder for the Java preferences and just had 6 also checked off, but at the bottom of the list. Now Open Office can find Java 6 and use it to run. Also in IDEA I can have one project use 6 and another open at the same time using 7.