How to change the Java version for webMethods Integration Server

Changing the Java version under which webMethods Integration Server runs and compiles Java services is quite easy (after you searched for hours for the right files to change ;-)). You can check which version your Integration Server uses on the About page:

webMethods Integration Server About page: Java Version

Here’s how to change the version for Integration Server (in my case version 9.7 running on Windows Server 2012):

  1. Install the new JVM on the server Integration Server runs on, e.g. into C:\Program Files.
  2. In the Extended Settings of your Integration Server, set watt.server.compile to the new JVM, e.g. watt.server.compile=C:\Program Files\Java\jdk1.8.0_25\bin\javac -classpath {0} -d {1} {2}
    webMethods Integration Server Extended Settings: watt.server.compile
  3. Shutdown Integration Server.
  4. Edit [SAG]\profiles\IS_default\configuration\custom_wrapper.conf and add (or change) the setting wrapper.java.command, e.g. wrapper.java.command=D:\Dev\Java\jdk1.8.0_25\bin\java
  5. Deregister the Windows service (as Administrator) with [SAG]\IntegrationServer\instances\default\support\win32\installSvc.bat unreg:
    Unregister webMethods Integration Server Windows service
  6. Register the Windows service (as Administrator) with [SAG]\IntegrationServer\instances\default\support\win32\installSvc.bat:
    Register webMethods Integration Server Windows service
  7. Start Integration Server and check the About page for whether the new Java version was set correctly:
    webMethods Integration Server About page: Java Version

2 thoughts on “How to change the Java version for webMethods Integration Server

  1. Thank you for the very useful information.

    Just wondering if we have to follow some post configuration steps after we restart the server.

    Like for example do we need to recompile all the java services? Change the JVM settings? etc. If we have to follow any such can you please let me know

    Thanks

  2. Hi Arun,

    I didn’t do anything special after upgrading the Java version for our IS. The Java services should run as usual, as newer versions of the JVM should be downwards compatible.

    Best regards,
    Stefan

Leave a Comment

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax