You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/07/23 02:02:04 UTC
DO NOT REPLY [Bug 11066] New: -
method not found in class "java.lang.Runtime"
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11066>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11066
method not found in class "java.lang.Runtime"
Summary: method not found in class "java.lang.Runtime"
Product: Tomcat 4
Version: 4.0.4 Final
Platform: PC
OS/Version: Windows 9x
Status: UNCONFIRMED
Severity: Major
Priority: Other
Component: Servlets:CGI
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: jcf@grucon.ufsc.br
Dear Sir/Madam,
I�m trying to run a cgi program written in C++ (its source code is below), but
unfortunately I get the folowing message:
----- Root Cause -----
java.lang.NoSuchMethodError: java.lang.Runtime: method
exec(Ljava/lang/String;[Ljava/lang/String;Ljava/io/File;)Ljava/lang/Process; not
found
I followed all the instructions for setting up Tomcat 4.0.4 to run cgi programs.
Here is the C++ program:
#include <stdio.h>
void main (void)
{
printf("Content-type: text/html\n\n");
printf("<HTML><HEAD><TITLE>Test</TITLE></HEAD><BODY>");
printf("Testing 1,2,3<BR><BR>" );
printf("</BODY></HTML>\n\n");
}
Thanks very much for any help on that.
Joao Carlos
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>