# RDK not running in VS Code - Code language not supported or defined error coming

**URL:** <https://developer.sailpoint.com/discuss/t/rdk-not-running-in-vs-code-code-language-not-supported-or-defined-error-coming/162690>\
**Category:** SHF Discussion and Questions\
**Tags:** identity-security-cloud\
**Created:** [July 31, 2025, 6:51pm UTC](https://developer.sailpoint.com/discuss/t/rdk-not-running-in-vs-code-code-language-not-supported-or-defined-error-coming/162690 "2025-07-31T18:51:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![utkarsh-bajpai-cyd](https://avatars.discourse-cdn.com/v4/letter/u/97f17d/32.png) [@utkarsh-bajpai-cyd](https://developer.sailpoint.com/discuss/u/utkarsh-bajpai-cyd)\
**Post date:** [July 31, 2025, 6:51pm UTC](https://developer.sailpoint.com/discuss/t/rdk-not-running-in-vs-code-code-language-not-supported-or-defined-error-coming/162690/1 "2025-07-31T18:51:10Z")

</div>

I am trying to run the before prov rule in ISC using mocked up plan. But when I run the xml file, it gives error Code language not supported or defined error coming

---

<div class="post-metadata">

**Author:** ![HussainshaSyed001](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/hussainshasyed001/32/28234_2.png) [@HussainshaSyed001](https://developer.sailpoint.com/discuss/u/HussainshaSyed001)\
**Post date:** [July 31, 2025, 7:29pm UTC](https://developer.sailpoint.com/discuss/t/rdk-not-running-in-vs-code-code-language-not-supported-or-defined-error-coming/162690/2 "2025-07-31T19:29:06Z")

</div>

may be you need to is that syntactically correct.

---

<div class="post-metadata">

**Author:** ![kyle\_knox](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kyle_knox/32/28684_2.png) [@kyle\_knox](https://developer.sailpoint.com/discuss/u/kyle_knox)\
**Post date:** [July 31, 2025, 7:42pm UTC](https://developer.sailpoint.com/discuss/t/rdk-not-running-in-vs-code-code-language-not-supported-or-defined-error-coming/162690/3 "2025-07-31T19:42:18Z")

</div>

Hey @utkarsh-bajpai-cyd. Welcome to the SailPoint community. Can you give some more info on where your issue lies? You should “run” the xml file – I assume you mean the rule you created. To test your rules with the RDK you need to clone the project that sailpoint has on this [page.](https://developer.sailpoint.com/docs/tools/rule-development-kit/) The file that you need to run is actually a java file such as the "RuleNameTest.java that they have in the project. The java file uses Mockito plus a beanshell interpreter to read the code from the beanshell (XML) file and run the tests against it.

To your issue if you **are** following the guide above above maybe you do not have Java installed on your machine. In vscode you can install the Java extension from Microsft in the extension store. I believe it will set up a Java environment for you or it may ask you to download the JDK separately.

If you try to “run” the XML file it will give you this error because there is no library to install to “run” XML files with embedded beanshell.

---

<div class="post-metadata">

**Author:** ![utkarsh-bajpai-cyd](https://avatars.discourse-cdn.com/v4/letter/u/97f17d/32.png) [@utkarsh-bajpai-cyd](https://developer.sailpoint.com/discuss/u/utkarsh-bajpai-cyd)\
**Post date:** [August 12, 2025, 3:18pm UTC](https://developer.sailpoint.com/discuss/t/rdk-not-running-in-vs-code-code-language-not-supported-or-defined-error-coming/162690/4 "2025-08-12T15:18:41Z")

</div>

Thanks Kyle, I have cloned the project. Also I am running the xml file. The java file is also created, but when I run the java file in VS studio, I don’t get this error. It only comes when I run the XML file. It says I need to install a plugin for this

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [October 11, 2025, 3:19pm UTC](https://developer.sailpoint.com/discuss/t/rdk-not-running-in-vs-code-code-language-not-supported-or-defined-error-coming/162690/5 "2025-10-11T15:19:40Z")

</div>

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