Updating JDK 1.6 for Sybase Unwired Platform

Download the JDK 1.6 patch from the Oracle Web site, and update your Sybase Unwired Platform 1.5.5 environment. Since Unwired Platform uses the JDK in several places, you will need to update the JDK PATH in several files, and recreate the Unwired Server service to use the new JDK PATH.

Follow these procedures for each node in your Sybase Unwired Platform environment:

  1. Navigate to the Oracle site: http://www.oracle.com/technetwork/java/javase/downloads/index.html.
  2. Select the appropriate JDK 1.6 patch level 24, and download it. You may have to search the Web site archives for Update 24.
  3. Follow the Oracle self-extracting instructions for the download you selected (for example 32 bit or 64 bit). Extract the files to the appropriate location:
    • 32-bit OS: <UnwiredPlatform_InstallDir>\UnwiredPlatform\JDK1.6.0_xx
    • 64-bit OS: <UnwiredPlatform_InstallDir>\UnwiredPlatform\JDK1.6.0_xx-x64
  4. Update all instances of the JDK path (for example, change JDK1.6.0_16 to JDK1.6.0_24) in these batch files:
    • UnwiredWorkSpace.bat, located in:

      <UnwiredPlatform_InstallDir>\UnwiredPlatform\Eclipse\

    • set-java-home.bat, located in:

      <UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\UnwiredServer\bin\
      Note: This file is set with 64-bit JDK path on 64-bit OS.
    • set-java-home.bat, located in:

      <UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\UnwiredServer\OpenDS\lib\

    • myenvClient.bat and myenv.bat, located in:

      <UnwiredPlatform_InstallDir>\SCC-3_0\bin\

  5. Run the sup-server-service.bat batch file from the command prompt.
    • sup-server-service.bat is located in:

      <UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\UnwiredServer\bin\

      UnwiredServer\bin\sup-server-service.bat remove
      
      UnwiredServer\bin\sup-server-service.bat install manual[auto]

    This re-creates the Unwired Server service with the updated JDK path.

  6. Restart Unwired Server.