So, I'm trying to start building a project using the jhipster generator with React framework on the front end and Spring Boot on the back end. I am on a Windows computer but am using the Ubuntu Bash Shell to set up the project.
I was able to successfully generate my jhipster project and am on the first steps of the README where it is telling you steps on how to build the project. These are the steps that they show to run.
I ran npm install
fine and then I tried the ./mvnw
and the first time it was running it said at the very beginning that the JAVA_HOME
path was not set up. This confused me since I knew that I had one set up on my Windows computer. However, it seemed that I had to install and create a new path for a different java just for the Ubuntu Bash shell.
So I went ahead and installed a version of Java and then set the path. Here is a picture of the path I set to it.]2 So, I went back and ran the ./mvnw
command again and the "no JAVA_HOME path" error was no longer showing. However after 5 mins of it running the build, it sent out a BUILD FAILED
followed by No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
I have done some research on the error and they all seem to discuss changing settings while working in Eclipse, but this doesn't apply to me because I have the project open in IntelliJ . Also, since I am running the command in the Ubuntu Bash shell I would imagine that IntelliJ has nothing to do with this. I have also installed maven through the bash shell as well in case you need that to help troubleshoot the issue.