Skip to main content

Apache Maven Java Error – was unexpected at this time

While testing changes to the Maven Installer I had this strange error.

FilesJavajdk1.7.0_07""

Simple enough – I had quoted the value for the JAVA_HOME variable.

So I had:

JAVA_HOME=”C:Program FilesJavajdk1.7.0_07”

Removed the quotes and all worked fine:

JAVA_HOME=C:Program FilesJavajdk1.7.0_07

Hope this helps.

Tags: , ,
Posted in Java

One comment on “Apache Maven Java Error – was unexpected at this time”

  1. Pacman says:

    Made the same mistake!

Leave a Reply

Your email address will not be published. Required fields are marked *