Using an External JDK

The StreamBase installation on all platforms includes the runtime components of a Sun JDK for private use by StreamBase Studio and StreamBase Server. See Supported Configurations for the current version of the JDK shipped with StreamBase.

If you prefer to use a separately installed JDK to run StreamBase applications, you must configure your system and StreamBase as follows:

  1. Consult the Supported Configurations page to determine the current minimum JDK release levels supported by the current release of StreamBase. Do not try to use an earlier JDK release.

  2. Download and install the JDK.

  3. Configure StreamBase Server to use your JDK by editing the default server configuration file, which is installed by default in:

    C:\Program Files\StreamBase Systems\StreamBase.n.m\etc\sbd.sbconf
    

    Locate the commented-out parameter param name="java-home" and edit it to point to the external JDK. For example:

    <param name="java-home" value="C:\Program Files\Java\jdk1.5.0_15"/>
    
    <param name="java-home" value="/usr/java/latest/>
    
  4. Configure StreamBase Studio to use your JDK with these steps:

    • Define the JAVA_HOME environment variable, and set it to the path to your JDK.

    • Define the STREAMBASE_USE_INTERNAL_JDK environment variable, and set its value to false.