# What Java Runtime is required for custom module development in 4.8.14+9?

**URL:** <https://community.wowza.com/t/what-java-runtime-is-required-for-custom-module-development-in-4-8-14-9/94290>\
**Category:** Wowza Streaming Engine\
**Tags:** wowza-streaming-server-java-api, wowza-streaming-engine\
**Created:** [December 9, 2021, 12:54pm UTC](https://community.wowza.com/t/what-java-runtime-is-required-for-custom-module-development-in-4-8-14-9/94290 "2021-12-09T12:54:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rich\_Sokol](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@Rich\_Sokol](https://community.wowza.com/u/Rich_Sokol)\
**Post date:** [December 9, 2021, 12:54pm UTC](https://community.wowza.com/t/what-java-runtime-is-required-for-custom-module-development-in-4-8-14-9/94290/1 "2021-12-09T12:54:26Z")

</div>

What Java Runtime is required for custom module development in 4.8.14+9? Not a Java-person, can someone shoot me a link to the specific runtime? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [December 9, 2021, 1:56pm UTC](https://community.wowza.com/t/what-java-runtime-is-required-for-custom-module-development-in-4-8-14-9/94290/2 "2021-12-09T13:56:32Z")

</div>

AFAIK you need JDK to develop custom modules or else you won’t be able to compile. Wowza is written in Java, so modules must be written in Java too. And development in Java requires JDK for compiling and JRE for running.

If you’ve installed WSE you will find the JRE in the /java subfolder of the installation. Or else you can download Oracle JRE/JDK (Note: read the license!) or OpenJDK. Google for them and you’ll find the download links soon enough, e.g. [https://docs.microsoft.com/en-us/java/openjdk/download](https://docs.microsoft.com/en-us/java/openjdk/download)

---

<div class="post-metadata">

**Author:** ![Rich\_Sokol](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@Rich\_Sokol](https://community.wowza.com/u/Rich_Sokol)\
**Post date:** [December 9, 2021, 2:00pm UTC](https://community.wowza.com/t/what-java-runtime-is-required-for-custom-module-development-in-4-8-14-9/94290/3 "2021-12-09T14:00:04Z")

</div>

Sorry Karel, we’ve written several custom modules to date, using the plug-in for Eclipse, etc, etc. I’m not a java guy so it always confuses me with the runtime releases. We’ve migrated to 4.8.14+9 in development, and our existing secure token authentication module does not function. I am certain its Java runtime related. Just wanted an exact pointer on where to download the required version to set up in Eclipse and compile. Thanks!

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [December 9, 2021, 2:28pm UTC](https://community.wowza.com/t/what-java-runtime-is-required-for-custom-module-development-in-4-8-14-9/94290/4 "2021-12-09T14:28:04Z")

</div>

We compiled Wowza modules against OpenJDK 11, if I remember correctly. Wowza recommends OpenJDK 9 though.

> **[Install and troubleshoot Java on Wowza Streaming Engin](https://www.wowza.com/docs/manually-install-and-troubleshoot-java-on-wowza-streaming-engine)**
>
> Install a different version of Java and determine and control which version of Java is being used by Wowza Streaming Engine.

> [@Default-packaged java version 9.0.4 is not supported anymore](http://community.wowza.com/t/default-packaged-java-version-9-0-4-is-not-supported-anymore/55562):
>
> Hi, I faced some difficulties while adding my plugin (built using java 9.0.4) to my Wowza Application. Wowza Streaming Engine 4.8.5 comes with Java 9.0.4 as it’s default java version as it needs Java 9 as minimum. my Wowza engine was hosted on an ubuntu 18.04 server, which does not support java 9.0.4 anymore. Thus my plugin was not able to work on the server side as Java 9.0.4 is not supported. I solved this by removing all sub-directories inside ‘jre’ (which includes java 9), upgraded my ser…

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [December 9, 2021, 5:36pm UTC](https://community.wowza.com/t/what-java-runtime-is-required-for-custom-module-development-in-4-8-14-9/94290/5 "2021-12-09T17:36:13Z")

</div>

Hey @Rich_Sokol, Karel is 100% correct that newer versions of Engine ship with Java 9, but can be compiled for 9-12. If you want to use a version other than 9, you would need to instruct Engine to the version you want to use. Not everyone can use java 9 on their system and it’s sort of considered an outdated version. But, like Karel mentioned, it’s the same file for 9-12 so you can use the version you want to.

_With Wowza Streaming Engine 4.8.5, we repackaged the version of OpenJDK Java SE JRE 9.0.4 installed with Wowza Streaming Engine 4.8.5 and later. This custom packaged version of OpenJDK Java SE JRE 9.0.4 is recommended for Wowza Streaming Engine 4.8.5 and later and includes the java.scripting module required for Wowza Streaming Engine 4.8.8.01 and later. The java.scripting module is also included in Java 9-12._

  

Having said that. if you do NOT use Java 9, you have to instruct Engine to the version you are using and the instructions to do that are here:  
[https://www.wowza.com/docs/manually-install-and-troubleshoot-java-on-wowza-streaming-engine#instruct-wowza-streaming-engine-to-use-a-specific-version-of-java3](https://www.wowza.com/docs/manually-install-and-troubleshoot-java-on-wowza-streaming-engine#instruct-wowza-streaming-engine-to-use-a-specific-version-of-java3)

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [December 9, 2021, 7:10pm UTC](https://community.wowza.com/t/what-java-runtime-is-required-for-custom-module-development-in-4-8-14-9/94290/6 "2021-12-09T19:10:55Z")

</div>

Also to repeat Karel a bit here, I just confirmed with the engineers that:

The development version needs to be the same or older than the runtime version. We ship with Openjdk 9 which would be the default runtime version. If they want to develop with OpenJDK11 for example, then they would need to also run the server with OpenJDK 11

modules compiled against 11 will not run on 9
