Uninstall any existing SDK or PDK installations

Warning:

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.

  1. Uninstall the previous SDK (if present) using the Windows Add/Remove Program control panel.
  2. Uninstall the previous PDK (if present) by running c:Program FilesPalmPDKuninstallpdk.exe.
  • When prompted, make sure you also un-install the Novacom driver.

Install Java

Download and install the latest version of Java™.
To verify that Java is installed, go to the Command Prompt and type:

java -version

If Java is installed, Java version information appears.

Download Java

Note:

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.

Install VirtualBox

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.

Download VirtualBox

Install the HP webOS SDK for Windows

  1. 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.
  2. Ensure VirtualBox is not running before starting the webOS SDK Installer.
  3. Double-click the webOS SDK Installer file.
  4. Proceed through the licensing agreements.
  5. 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

  1. Start the webOS emulator.
  2. Click OK to dismiss the dialog boxes.
  3. Create or choose a directory to use as your development workspace.
  4. Open a Command Prompt window, and then type:
palm-generate

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
  1. Exit both the Command Prompt window and the emulator.

From:https://developer.palm.com/content/resources/develop/sdk_pdk_download.html#windows