Xampp Php Informix jdbc

I need help to get result from informix server through xampp.

I installed Xampp 3.3.0 on windows 11.
I used
$conn= osbc_connect (DSN, username, password);
and also used
$dbo = new pdo (odbc:dsnname,username, password)
to connect sucessfully with our informix server.

It’s very slow and showing result very late.

On otherhand I am also using razorsql and connect informix via jdbc driver. It’s processing queries very fast and showing result quickly.

Now my question is

  1. Is there any connection string for jdbc and how (i didn’t install Jdk but installed jre)
  2. Is there any other connection method for connecting informix server for fast result.

odbc connection worked
But I want jdbc or any other fast connection setting.