wood burning stoves*
The moose likes Java in General and the fly likes Calling a Jar file from PHP and System.out.println Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Calling a Jar file from PHP and System.out.println" Watch "Calling a Jar file from PHP and System.out.println" New topic
Author

Calling a Jar file from PHP and System.out.println

Raj S Kumar
Ranch Hand

Joined: Aug 06, 2006
Posts: 48
Hi,
I have a .jar file of my application. I am calling this jar file from a PHP script. The problem here is I am able to capture the output (System.out.println()) from the main function.
But, I am not able to get the output from other classes.

I am using the following PHP script.


Does this mean, even if its in a same Jar file and part of the same call stack, the output goes to different streams???
If so, how to make this work?

Your suggestions please....


Raj S Kumar
Raj S Kumar
Ranch Hand

Joined: Aug 06, 2006
Posts: 48
Apologies. I had my analysis done wrong.
It is working fine, So changing the state to resolved.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling a Jar file from PHP and System.out.println
 
Similar Threads
Execute ant build file from a java source
Getting Resin to ignore PHP script so that webserver deals with request
Could not able to run first script
multiple jar creation for multiple directories
Classpath or How to declare files