Running a java application from PHP


Hi there

Does anyone know how to solve this problem…
I’m trying to run a java app from a php file (via http request). This is the output:

[Opened /usr/local/dh/java/jre/lib/rt.jar]
[Opened /usr/local/dh/java/jre/lib/jsse.jar]
[Opened /usr/local/dh/java/jre/lib/jce.jar]
[Opened /usr/local/dh/java/jre/lib/charsets.jar]
Error occurred during initialization of VM
Could not reserve enough space for code cache

It works fine if I use SSH and run the app at the cmdline.
Its a “hello world” style app, nothing complicated.

Any ideas??? anyone???



Cross posting for the loose.

Please man, use some forum edicts. :frowning:


Sorry about that, I guessed that not everyone reads the programming threads (where I posted first)…It’s really a question for the troubleshooting threads.