I am having trouble executing my jar file from my xampp virtual server. I am running xampp v3.2.1 and the jar works fine on the cmd line on my desktop, however not on the xampp server.

The output of my

exec(cmd, output)

is

Array ( [0] => 'java' is not recognized as an internal or external command, [1] => operable program or batch file. )

So I read into the xampp and it has tomcat installed but I still can't work out how to run the jar. Anyone have an idea? Thanks!

EDIT: So I found this https://community.apachefriends.org/f/viewtopic.php?p=129309 however there is no php.ini file in here, maybe it has changed with newer versions

0

There are 0 best solutions below