Vineet kaushik
Vineet kaushik

Reputation: 361

Dcevm with maven

I was in a process to set up dcevm on my laptop so that code can be deployed to server without running mvn clean install for every server side change I make. And I managed it working for me using jre.

But now if I try to build project manually using maven command mvn clean install. It gives me error saying you are using jre instead of jdk.

So is there any way by which, I can use both the option to build and deploy server side code. Manually using maven command and automatically using dcevm??

Upvotes: 1

Views: 318

Answers (1)

Imran Saeed
Imran Saeed

Reputation: 3444

Building AEM projects using Maven will only work with a compatible Java JDK. Java JRE will not work so you must set your JAVA_HOME to point to the JDK folder and not the JRE folder.

Upvotes: 1

Related Questions