Start the app /Applications/Utilities/Java Preferences.app to set the version to prefer. If all else fails, all javas are in /System/Library/ Frameworks/JavaVM.framework/Versions, so just point the /usr/bin/java and friends softlinks to another version.
There's an official JDK6 for OS X, and it's already on your mac. It's on every intel mac that's running leopard or up automatically due to system update. You set $PATH in OS X the same way you set it in linux, by fiddling with ~/.profile However, you shouldn't have to fiddle with it, /usr/bin/java, /usr/bin/ javac, /usr/bin/jar, and all those others, are already there, and /usr/ bin is in your $PATH already. I have no idea what you're doing but it looks like you're making this WAY more complicated than it is. As far as setting up eclipse: Uh, you go to eclipse.org, hit 'download', the zip is automatically unpacked in your downloads folder, and all you do is move the eclipse directory somewhere useful. like /Applications. Then double-click on the Eclipse.app file in that eclipse folder and eclipse starts, just like that. And it autodetects all the (apple) JDKs you have on your system automatically. You do not need to download anything beyond eclipse itself. On May 5, 1:51 pm, Kram <[email protected]> wrote: > I am very new to the Mac platform but have been using Windows and a > bit of Linux for a long time, I would ideally like to jump into > Android development but Im having trouble with some of the basics of > Java development on the Mac > > Firstly, is there JDK 6 for OSX? Or do I need Soylatte? (Is Soylatte > just a port of JDK 6 for the Mac platform?) > > Secondly, how do you set the $PATH in OSX? I have googled around but > all the blogs dont seem to work for me, missing directories, no files > where they should be, etc... > > Im running Snow Leopard 10.6.3 > > I think thats all for the minute, I figured these are the best forums > for this type of thing... > > Cheers, > Mark > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/javaposse?hl=en. -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
