How to parse ‘dd MMM yyyy’

How to convert date fromat from “dd MMM yyyy” to “yyyy-MM-dd”? I know I have to use SimpleDatFormat but it doesn’t work, neither does any solution from similar questions. I have a date “18 Dec 2015” …