Re: "Perhaps you are running on a JRE rather than a JDK?" error building with maven.

2016-02-26 Thread Karl Heinz Marbaise
Hi, i would recommend you to use Maven 3.X at least..and don't use Maven 2.X anymore..(cause it's End Of Life)... Where does JAVA_HOME point to? to /home/user/ProgramFiles/jdk1.8.0_71/ or /home/user/ProgramFiles/jdk1.8.0_71/jre ? Kind regards Karl Heinz Marbaise On 2/26/16 3:24 PM, Gintare

Re: "Perhaps you are running on a JRE rather than a JDK?" error building with maven.

2016-02-26 Thread Nick Stolwijk
On Fri, Feb 26, 2016 at 3:24 PM, Gintare Ragaisiene < gintare.ragaisi...@gmail.com> wrote: > Java home: /home/user/ProgramFiles/jdk1.8.0_71/jre > You are using the JRE which is delivered with the JDK. Try setting your JAVA_HOME and your PATH variables to the JDK bin directory instead of the JRE

"Perhaps you are running on a JRE rather than a JDK?" error building with maven.

2016-02-26 Thread Gintare Ragaisiene
Hello I want to use swagger-codegen on Ubuntu 14.04 LTS (OS type 64-bit). So I downloaded the source code from https://github.com/swagger-api/swagger-codegen/tree/v2.1.5 , unzipped it and build with maven. $ sudo mvn -e package The error appears: ... [INFO] Copying 438 resources [INFO]