Running a java application from PHP


#1

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???

Thanks


#2

Cross posting for the loose.

Please man, use some forum edicts. :frowning:


#3

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.