Issues building cloudstack

2023-04-04 Thread Pierre Le Fevre
Hi all :) Been using cloudstack for a while so thought I could contribute some, however I'm running into some issues with building the project for local development. Following the instructions in INSTALL.md, using JDK 11 and MySQL 8 (on Fedora 37) mvn clean install -P systemvm,developer mvn -P dev

Re: Issues building cloudstack

2023-03-30 Thread Sina Kashipazha
Hey Pierre, I had the same issue when I configured a new VM to build CloudStack. I've Java 11 and Java 17 installed. Java and javac commands pointed to the java 11 but Maven used java 17. I configured the JAVA_PATH environment variable and it worked. Check the first output lines of the`mvn c

Re: Issues building cloudstack

2023-03-30 Thread Pierre Le Fevre
Aha! Thanks Daan :) Got it to build and run now. Didn't know maven had an internal version of java. Have a great evening Pierre On Thu, 30 Mar 2023 at 15:53, Daan Hoogland wrote: > there is a suspect for your problem, you use jdk 11 but your maven is using > jdk 17 under the hood. > > On Thu, M

Re: Issues building cloudstack

2023-03-30 Thread Daan Hoogland
there is a suspect for your problem, you use jdk 11 but your maven is using jdk 17 under the hood. On Thu, Mar 30, 2023 at 3:47 PM Pierre Le Fevre wrote: > Hi Daan, > Here are my versions: > > ➜ cloudstack git:(main) ✗ *mvn --version* > Apache Maven 3.8.5 (Red Hat 3.8.5-3) > Maven home: /usr/sh

Re: Issues building cloudstack

2023-03-30 Thread Pierre Le Fevre
Hi Daan, Here are my versions: ➜ cloudstack git:(main) ✗ *mvn --version* Apache Maven 3.8.5 (Red Hat 3.8.5-3) Maven home: /usr/share/maven Java version: 17.0.6, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-17-openjdk-17.0.6.0.10-1.fc37.x86_64 Default locale: en_US, platform encoding: UTF-8 O

Re: Issues building cloudstack

2023-03-30 Thread Daan Hoogland
Pierre it looks like an issue with the JDK, but just to be sure, what maven version do you use? Can you give the output of $ mvs --version On Thu, Mar 30, 2023 at 3:19 PM Pierre Le Fevre wrote: > Hi all :) > Been using cloudstack for a while so thought I could contribute some, > however I'm runn

Issues building cloudstack

2023-03-30 Thread Pierre Le Fevre
Hi all :) Been using cloudstack for a while so thought I could contribute some, however I'm running into some issues with building the project for local development. Following the instructions in INSTALL.md, using JDK 11 and MySQL 8 (on Fedora 37) mvn clean install -P systemvm,developer mvn -P dev