Re: [LIP] calling java routine from perl
Abhishek Nayani <nayaniabhishek-9geRo0GdX4kE71Kmvb/[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Organization | Wonderland |
| Message-ID | <[email protected]> |
Hi, On Mon, 29 Mar 2004, vivek khurana wrote: > I have to call a java (which accepts two parameters > from command line)utility from cgi. I am using perl to > do it using following command [SNIP] > Can anyone point me what is the problem??? Try checking the error_log and also add a print statement to your perl script to print $! after the system command. The most common problem is not specifying the complete path to the java class file. Try specifying the complete path and also use the command line option "-cp" to specify the classpath (include the directory of the class file ur trying to run, if it is using additional files from that dir.) > > regards > vivek Bye, Abhi. --- Abhishek Nayani M.Tech 2/2 (Computer Science) IIIT Hyderabad (http://www.iiit.net) Home Page: http://students.iiit.net/~nayaniabhishek/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click