Generally inorder to run Java applications we set JAVA_HOME value to java sdk directory/bin
But when this set and I try opening Android Studio it gives be an error saying JVM is not configured in your machine and doesn't open up.
If we reconfigure the JAVA_HOME to only java sdk directory path it works fine. But I wonder why this is happening??
If it is reconfigured to sdk path then my other java application don't work. Please let me know your thoughts on this.
Update: Please find image below when JAVA_HOME var is conifgured to right JDK dir, javac doesn't execute in command prompt
Thanks, Nav.
JAVA_HOME
is set to the JRE or SDK main directory. Thebin/
subdirectory might be in yourPATH
, though. See #5102522. "If it is reconfigured to sdk path then my other java application don't work" -- then there is a problem with those other applications. – Almonry