running a java application from PHP
Posted by: jonks
Posted on: 2006-01-31 23:54:00
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