Uninstall any existing SDK or PDK installations
SAVE YOUR DATA!—Uninstalling the SDK and PDK will delete the directories in which they are installed. If you have project source code in those directories it will be deleted!
Your project source should notbe stored in the SDK or PDK installation directories.
- Uninstall the previous SDK (if present) using the Windows Add/Remove Program control panel.
- Uninstall the previous PDK (if present) by running c:Program FilesPalmPDKuninstallpdk.exe.
- When prompted, make sure you also un-install the Novacom driver.
Download and install the latest version of Java™.
To verify that Java is installed, go to the Command Prompt and type:
If Java is installed, Java version information appears.
If you are using a 64-bit version of Windows, you will need to download the JDK from a different location. Click here to go to the Java Downloads page, then click on the "JDK" link under the "Java Download" icon. From there, you will be able to select the 64-bit Windows version of the JDK.
The webOS emulator is built on VirtualBox™, virtual machine software that you can download free from Oracle®. VirtualBox is required before installing the HP webOS SDK. Note: The webOS emulator does not yet run on Virtualbox 4.0. Use the link below to download version 3.2.
Install the HP webOS SDK for Windows
- Download the appropriate Windows SDK installer (Windows Vista and Windows 7 only):Download SDK/PDK for 32-bit machines. Download SDK/PDK for 64-bit machines.
- Ensure VirtualBox is not running before starting the webOS SDK Installer.
- Double-click the webOS SDK Installer file.
- Proceed through the licensing agreements.
- Click "Finish" to complete the installation.
Download the CodeSourcery Toolchain (PDK only)
Perform this step only if you intend to do plug-in or other C/C++ development.
If not already installed, download the CodeSourcery Toolchain—Sourcery G++ Lite for ARM GNU/Linux. Previously, this was included as an option with the PDK download, but no longer. You can download this from the CodeSourcery Web site.
Two versions are recommended:
- 2009q1-203 — This is a newer version recommended for most developers.
- 2007q3-51 —This is an older version for developers running into the following problems:
- C++ exception handling — Unresolved links to versioned symbols.
- _libc_csu_init/fini calls — Unresolved links to versioned symbols.
- __isoc99_sscanf — Symbol added in GLIBC 2.7 that gets used for calls to sscanf unless you use _USE_GNU in your code. This issue also requires a header file change and can not be fixed with just changing libraries. This is also true of other __isoc99 calls.
In general, if you have problems with the newer version, try the older one.
Verify the SDK Installation
- Start the webOS emulator.
- Click OK to dismiss the dialog boxes.
- Create or choose a directory to use as your development workspace.
- Open a Command Prompt window, and then type:
to verify that the tools are installed:
- If help information appears, the tools are correctly installed.
- If palm-generate is not recognized as a command, the tools are not correctly installed.
- If java is not recognized as a command, Java is not correctly installed
- Exit both the Command Prompt window and the emulator.