Error adding jdbc-dir
i have one error Error adding jdbc-dir
my code require DIR . '/../vendor/autoload.php';
use PHPJasper\PHPJasper; $idcalculo = 10;
$pass = "Noviembre2023";
$input = DIR . '/../vendor/lavela/phpjasper/examples/rptCalculo.jasper';
$output = DIR . '/../vendor/lavela/phpjasper/examples';
$jdbc_dir = DIR . '/../vendor/lavela/phpjasper/bin/jaspertarter/jdbc';
$options = [
'format' => ['pdf', 'rtf'],
'locale' => 'en',
"params" => ["idcalculo" => $idcalculo],
'db_connection' => [
'driver' => 'generic',
'host' => 'localhost',
'port' => '3307',
'database' => 'almadisa',
'username' => 'root',
'password' => $pass,
'jdbc_driver' => 'com.mysql.cj.jdbc.Driver',
//'jdbc_driver' => 'mariadb-java-client-3.0.0-alpha',
'jdbc_url' => '"jdbc:mysql://localhost:3307;databaseName=almadisa"',
'jdbc_dir' => $jdbc_dir
]
];
//com.mysql.jdbc.Driver
$jasper = new PHPJasper;
$x=exec($jasper->process(
$input,
$output,
$options
)->output());
echo $x;
help please
Just remove the parameter, by default within the package its respective path has already been defined.