This error usually occurs because the studio cannot find the location of your Java installation.
Please ensure your JAVA_HOME environment variable has been correctly set to point to your Java instalation directory.
A JAVA_HOME environment variable should also be set from the System Properties window to point to the JDK root folder. (Right click on the 'My Computer' icon and choose properties. Then select the advanced tab and click 'Environement Variables'.)
This can be tested by launching the command prompt (cmd.exe from Start), and then typing in the following command:
Please ensure your JAVA_HOME environment variable has been correctly set to point to your Java instalation directory.
A JAVA_HOME environment variable should also be set from the System Properties window to point to the JDK root folder. (Right click on the 'My Computer' icon and choose properties. Then select the advanced tab and click 'Environement Variables'.)
This can be tested by launching the command prompt (cmd.exe from Start), and then typing in the following command:
echo %JAVA_HOME%