viernes, 5 de diciembre de 2014

Change Maven Default JDK in MAC

Long time no see!!!!!

So I thought of type this one down before I forgot about it.

Now that Oracle start releasing at an increased rate I reckon it may be useful.

Soooo how to change the jdk maven uses to build you app:

1. Locate/create the file .mavenrc in your home
2. add the following line to it:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/${actual_jdk_version}/Contents/Home

At the time of me writing this that placeholder value was: jdk1.7.0_51.jdk


Hope it helps you!

jueves, 2 de enero de 2014

The Freaking Command key

Hi all, long time no see HAPPY 2014.

So as this new year is starting I'm already having problems, I'm a mac user basically cause I don't have to pay for the Mac hehe.

Any way every once in a while the Command key in my keyboard stops working which makes me crazy!!!!!

So here I found a really nice fix:

If you type "killall Dock" into the command line in Terminal, it restarts the Dock.

This is, the Dock was causing the command key not to work.
As usual it wasn't me how find this out here is the link to the forum where I found the solution. 

I hope it helps someone else.