New answers tagged


Adding to the answer of Mitch (the accepted answer above), check your /usr/lib/jvm/ directory. Usually, java is installed there itself. You might have oracle java installed or you might have a latest version of java installed. Just checkout the directories at /usr/lib/jvm/ and add the one your java is in. For me, it was: /usr/lib/jvm/java-8-oracle So, ...


I figured out the problem: For some reason the JRE_HOME was not getting any value- defaulted to 'user/'. I tried the export command as well as bashrc, none of them worked. I manually added a line to set the value of this environment variable within the .

Top 50 recent answers are included