Skip to content

Tag: java-home

How can i change the Gradle Version in InteliJ?

I have the Error: “Found invalid Gradle JVM configuration” “JDK 17.0.1 isn´t compatible with gradle 7.1. Please fix JAVA_HOME enviroment variable” Im not sure why it says gradle 7.1. The gradle Version i have is 7.4.2. This version should work with JDK 17 Answer Take a look at the grad…

java_home is not read by hadoop

I installed java8 with brew install –cask adoptopenjdk/openjdk/adoptopenjdk8 but i think i messed things up, when i type echo $JAVA_HOME it gives /usr/bin/java when i type java -version it gives java version “1.8.0_311” Java(TM) SE Runtime Environment (build 1.8.0_311-b11) Java HotSpot(TM) 6…

How to set JAVA_HOME in Linux for all users

I am new to Linux system and there seem to be too many Java folders. java -version gives me: java version “1.7.0_55” OpenJDK Runtime Environment (rhel-2.4.7.1.el6_5-x86_64 u55-b13) OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode) When I am trying to build a Maven project , I am getting error…

Where is the Java SDK folder in my computer? Ubuntu 12.04

I know it’s installed because when I type: I get: And when I type: I get: What worries me about the first item in the list is that the 2012a folder is my MATLAB folder and not a standard ‘usr/lib’ folder. I’m really confused on where the JDK and JRE got installed, because I need to set…