In some cases where the Java Development Kit (JDK) is not in the path on the client machine, the MakeAppTouchTestable utility will fail with this error indicating that the JDK path must be set. Use the following Operating System-specific instructions to do so.
Setting the JDK Path on Mac OS X or Linux for Your User
- Login and open a Terminal or command line window
- Open the
~/.bash_profileusing vi or another command-line editor such as Pico. For example enter
- Set your PATH to include the JDK sub-folder named java. For example:
- Save the changes and either logout and then back in, or, to active the new settings enter
Setting the JDK Path on Windows
- First, determine the location of your JDK bin. Typically, this will be C:\Program Files\Java\bin followed by the JDK directory but may be located elsewhere. Specify the bin directory.
- Once you have the JDK installation path, right-click My Computer and select Properties from the context menu.
- In the System Properties box, select the Advanced tab.
- In the Advanced tab, click the Environment Variables button.
- Locate the "Path" row under System Variables and click Edit.
- In the Edit System Variable box, ensuring that a semi-colon preserves the last path, append the installation path for the Java Development Kit bin
. For example,
C:\Program Files\Java\jdk1.6.0_10\bin. Close it with a semi-colon.
- Click OK.
- Once you're back in the System Properties, Advanced tab, click Apply Changes.