Hi.
Why are you looking for pbtheme190.dll and pbjson190.dll? Since PB 2019 R3, dll's do not contain anymore the version (190). Also you stated that you are using PB 2022 R2... Based on that, you should deploy those files from PB's 2022 R2 runtime you are using to build your application.
The easiest way to deploy the appropriate runtime is to create an installer using PB Runtime Packager (you can choose runtime version and runtime options you need to deploy).
After installing the runtime check your application xml that it points to the appropriate location (Runtime path should point to the location where you installed the runtime).
<?xml version="1.0" encoding="utf-8" ?>
<Application>
<RuntimePath>C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 22.2.0.3356</RuntimePath>
</Application>
Andreas.