We have an AEM 6.3 project. Most of our devs are on windows and mac. We are trying to replicate the building of the package on ubuntu 16.04 but the build is getting an error.
On an example linuxmachine where the package builds successfully:
Maven config of our Ubuntu machine
JDK is installed on this machine:
It says: "There is another default Java installation called the JDK (Java Development Kit). The JDK is usually only needed if you are going to compile Java programs or if the software that will use Java specifically requires it."
Set your Java HOME to Java JDK - make sure you install version 8 from Java download page.