I have to set JAVA_HOME on /usr/lib/jvm/java-8-oracle or /usr/lib/jvm/java-8-oracle/bin/??

  • 1
    Please run update-alternatives --config java to determine what to set! Put that into your question – George Udosen Jan 14 '18 at 12:53
  • I checked update-alternatives --config java before ask and java is in /usr/lib/jvm/java-8-oracle/bin/ but I'm not sure if I have to include the bin directory because some answers include it and some not – AFS Jan 14 '18 at 13:00

Browse other questions tagged or ask your own question.