how should i set JAVA_HOME variable should that be the path to jre or jdk ?
thank you
Sadly enough it depends; things such as Tomcat want JAVA_HOME to point to
your JDK; other popular packages want it to point to your JRE. Check the
particular documentation.
kind regards,
Jos