Found this absolutely fantastic article on how to ask questions on forums, newsgroups etc. in an intelligent and considered way that is more likely to get you a decent response.
Very good advice... http://www.catb.org/~esr/faqs/smart-questions.html
Friday, 23 April 2010
How to change the default JRE in Mac OS X (Leopard)
The problem was, my Eclipse installation was setup to use JRE 1.6 but when I checked using
mvn --versionit reported that it was using JRE 1.5. The solution's pretty simple in fact. The versions of Java JRE that are installed on your Mac are located in
/System/Library/Frameworks/JavaVM.framework/VersionsIf you list the contents of the folder in terminal using
ls -althen you'll see a symbolic link called "CurrentJDK" pointing to a symbolic link called "1.5" pointing to the latest version of 1.5 installed. Delete this link and recreate it pointing it to the symbolic link called "1.6" and you're done. The following code will achieve this.
cd /System/Library/Frameworks/JavaVM.framwork/Versions/ sudo rm -r CurrentJDK sudo ln -s 1.6 CurrentJDKUPDATE Due to obvious confusion caused by my $ sign, I have reworked the code snippets to make them clearer
Learning Java now :)
So, the company where I am working at the moment has made the move into a Java based web environment. Lots of reasons and I'm not going into them here as this is a personal blog (despite the technical nature) and I'm not going to discuss work decisions or anything that may be confidential in nature of course.
But - I have a blog, I'm learning a lot of new stuff and it makes sense to switch the focus of the blog to whatever I'm using/doing/learning rather than a single focus on Symfony as I originally planned.
So watch out for a lot of new posts as I go... most of what I learn will posted here for my future reference
But - I have a blog, I'm learning a lot of new stuff and it makes sense to switch the focus of the blog to whatever I'm using/doing/learning rather than a single focus on Symfony as I originally planned.
So watch out for a lot of new posts as I go... most of what I learn will posted here for my future reference
Subscribe to:
Posts (Atom)