While testing changes to the Maven Installer I had this strange error.
Simple enough – I had quoted the value for the JAVA_HOME variable.
So I had:
Removed the quotes and all worked fine:
Hope this helps.
One comment on “Apache Maven Java Error –
was unexpected at this time”
Made the same mistake!