0

I actually installed Java following the instructions of this answer: How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE?

When I did

echo $JAVA_HOME

The response was empty, so I googled a bit and followed the advice of this post https://stackoverflow.com/q/24641536/2003898

finally everything worked and I was able to start the build script I had to set up....

except the fact, that it responded:

Your java version is greater than JDK 1.7. Cannot start FOobAR

"Well so set up another version and done", one might say now, but my problem is, I'm working with another project that REQUIRES Java to be at least 1.8

So is there a way of setting up java that updates the JAVA_HOME path and does all the other stuff I might not even be aware of, automatically? Or do I have to change all this configs multiple times a day manually?

Zaibis
  • 111

0 Answers0