# Java Function Node issue

**URL:** <https://discourse.nodered.org/t/java-function-node-issue/28624>\
**Category:** General\
**Created:** [19 June 2020 17:22 UTC](https://discourse.nodered.org/t/java-function-node-issue/28624 "2020-06-19T17:22:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatmamasmoudi](https://avatars.discourse-cdn.com/v4/letter/f/a9a28c/32.png) [@fatmamasmoudi](https://discourse.nodered.org/u/fatmamasmoudi)\
**Post date:** [19 June 2020 17:22 UTC](https://discourse.nodered.org/t/java-function-node-issue/28624/1 "2020-06-19T17:22:28Z")

</div>

Hello  
I tried to use the javafunction node by following the example in Node-red website [node-red-contrib-java-function (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-java-function)

But I've got this message in the debug window  
\*\*  
Could you help me ?

> TypeError: this.imports is not iterable
> 
> ![window](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/5/05b7d49593daa8b3d9eecd1aa194b01c12552c13.jpeg)  
> \*\*

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [20 June 2020 07:08 UTC](https://discourse.nodered.org/t/java-function-node-issue/28624/2 "2020-06-20T07:08:54Z")

</div>

That is not a commonly used node. Maybe best to try to contact the author direct.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [21 June 2020 20:48 UTC](https://discourse.nodered.org/t/java-function-node-issue/28624/3 "2020-06-21T20:48:26Z")

</div>

At the very least, you would need to share the Java code in that function. That could be a Java error rather than a JavaScript one.

---

<div class="post-metadata">

**Author:** ![fatmamasmoudi](https://avatars.discourse-cdn.com/v4/letter/f/a9a28c/32.png) [@fatmamasmoudi](https://discourse.nodered.org/u/fatmamasmoudi)\
**Post date:** [22 June 2020 06:10 UTC](https://discourse.nodered.org/t/java-function-node-issue/28624/4 "2020-06-22T06:10:42Z")

</div>

> [@fatmamasmoudi](#):
>
> me

Thank you, I just resolved it.  
I updated java version and path variable. I t could be useful for people.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [6 July 2020 06:11 UTC](https://discourse.nodered.org/t/java-function-node-issue/28624/5 "2020-07-06T06:11:45Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
