# Java Support in HttpWatch?

**URL:** <https://forum.httpwatch.com/t/java-support-in-httpwatch/18>\
**Category:** Question\
**Created:** [May 6, 2021, 1:31pm UTC](https://forum.httpwatch.com/t/java-support-in-httpwatch/18 "2021-05-06T13:31:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveY](https://forum.httpwatch.com/letter_avatar_proxy/v4/letter/d/958977/32.png) [@DaveY](https://forum.httpwatch.com/u/DaveY)\
**Post date:** [May 6, 2021, 1:31pm UTC](https://forum.httpwatch.com/t/java-support-in-httpwatch/18/1 "2021-05-06T13:31:30Z")

</div>

Can I use HttpWatch automation with Java? The [automation docs](https://apihelp.httpwatch.com/) only show how to use C# and Ruby

---

<div class="post-metadata">

**Author:** ![HttpWatch](https://forum.httpwatch.com/user_avatar/forum.httpwatch.com/httpwatch/32/9_2.png) [@HttpWatch](https://forum.httpwatch.com/u/HttpWatch)\
**Post date:** [May 6, 2021, 1:35pm UTC](https://forum.httpwatch.com/t/java-support-in-httpwatch/18/2 "2021-05-06T13:35:16Z")

</div>

The HttpWatch automation interface is COM based so for Java you need to find a way to the COM call methods define in the HttpWatch type library:

C:\Program Files (x86)\HttpWatch\HttpWatchApiPro.dll (32 bit)  
C:\Program Files (x86)\HttpWatch\HttpWatchApiProx64.dll (64 bit)

One way is to use COM form Java is with com4J:

[https://com4j.kohsuke.org/](https://com4j.kohsuke.org/)

These slides have some details of how to do this with HttpWatch:

> **[Selenium Automation in Java Using HttpWatch Plug-in](https://www.slideshare.net/slideshow/selenium-automation-in-java-using-httpwatch-plugin/63668632)**
>
> Selenium Automation in Java Using HttpWatch Plug-in - Download as a PDF or view online for free
