# Cant load file on MacOS

**URL:** <https://forum.katalon.com/t/cant-load-file-on-macos/53117>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [March 19, 2021, 3:38am UTC](https://forum.katalon.com/t/cant-load-file-on-macos/53117 "2021-03-19T03:38:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tuan.NguyenHuu](https://avatars.discourse-cdn.com/v4/letter/t/7ba0ec/32.png) [@Tuan.NguyenHuu](https://forum.katalon.com/u/Tuan.NguyenHuu)\
**Post date:** [March 19, 2021, 3:38am UTC](https://forum.katalon.com/t/cant-load-file-on-macos/53117/1 "2021-03-19T03:38:11Z")

</div>

Hi all,  
I have a problem on MacOS with Katalon. I am using the below code in my project:

Runtime.getRuntime().load0(groovy.lang.GroovyClassLoader.class, com.kms.katalon.core.configuration.RunConfiguration.getProjectDir() + “\External\opencv\_java349.dll”)

It work fine with Window but doesn’t work with MacOS. I searched for the solution on google and also changed .dll file to .so file:

Runtime.getRuntime().load0(groovy.lang.GroovyClassLoader.class, com.kms.katalon.core.configuration.RunConfiguration.getProjectDir() + “/External/cv2.cpython-38-darwin.so”)

But it still doesn’t work.

This is message error:  
For .dll file:

 ![Screen Shot 2021-03-19 at 10.21.20 AM](https://europe1.discourse-cdn.com/katalon/original/3X/3/e/3e58c6c5d8e4101b849da372ebfe3626d062d49e.png)

For .so file:

 ![Screen Shot 2021-03-19 at 10.14.47 AM](https://europe1.discourse-cdn.com/katalon/original/3X/b/c/bc1d5044f3a0718d1a99388e7c936cf56d4a2d9d.png)

If possible, can someone please provide an example. Thanks
