running a java application from PHP

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

Re: running a java application from PHP

Posted by: guice
Posted on: 2006-02-01 07:14:00

Cross posting for the loose.

Please man, use some forum edicts. :(

Re: running a java application from PHP

Posted by: jonks
Posted on: 2006-02-01 07:28:00

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.

Tags: java applicationusrliblocalphp filehello worldhttpsshcacherunningspace