You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Alexandre�POLOZOFF � <di...@polozoff.com> on 2000/09/05 21:54:15 UTC

RE:[java.lang.Win32Process.create error when using jikes (setting bui]

Is the path to jikes in your PATH environment variable?

C:\>SET PATH

should print it out.

C:\>SET PATH=%PATH%;x:\jikes_subdirectory

where x: equals the drive you extracted to.

-Alexandre

On Tue, 5 Sep 2000 12:30:13 -0700
   Hung Le <hl...@comergent.com> wrote:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - -



Ant: Ant version 1.1 compiled on September 5 2000
Jikes: Version 1.12 8/1/2000
JDK: Classic VM (build JDK-1.2.2-W, native threads, symcjit)
NT: 4.0 with SP6

	When I set build.compiler to jikes, I get the following error:
	at java.lang.Win32Process.create(Native Method)
        at java.lang.Win32Process.<init>(Win32Process.java:64)
        at java.lang.Runtime.execInternal(Native Method)
        at java.lang.Runtime.exec(Runtime.java:272)
        at java.lang.Runtime.exec(Runtime.java:219)
        at org.apache.tools.ant.taskdefs.Jikes.compile(Jikes.java:40)
	...
	(full stack trace is included below)

	The exact same setup (same JDK, build.xml, ant, jikes ...) works OK
on a Solaris box.

	Has anyone seen the above error before?

	Thanks,

	Hung Le --


(full stack trace below ...)

debscompile:
  [replace] Replacing @m_CurrentBuild@ --> hle_20000905_1154
    [javac] Compiling 679 source files to
C:\apache\jakarta-tomcat\webapps\Comer
gent\WEB-INF\classes

BUILD FAILED

build.xml:231: Error running Jikes compiler
java.io.IOException: CreateProcess: jikes -Xstdout -d
C:\apache\jakarta-tomcat\w
ebapps\Comergent\WEB-INF\classes -classpath
"C:\apache\jakarta-tomcat\webapps\Co
mergent\WEB-INF\classes;C:\apache\jakarta-tomcat\webapps\Comergent\WEB-INF
\l
ib\o
racle.jar;C:\apache\jakarta-tomcat\webapps\Comergent\WEB-INF\lib\crysec111
j
ar;C
:\apache\jakarta-tomcat\webapps\Comergent\WEB-INF\lib\getopt.jar;C:\apache
\j
akar
ta-tomcat\webapps\Comergent\WEB-INF\lib\HTTPClient.jar;C:\apache\jakarta-t
om
cat\
webapps\Comergent\WEB-INF\lib\xml4j_1_1_9.jar;D:\work\ant\debs\lib\xml4j_2
_0
_15.
jar;C:\apache\jakarta-tomcat\webapps\Comergent\WEB-INF\lib\xerces.jar;C:\a
pa
che\
jakarta-tomcat\webapps\Comergent\WEB-INF\lib\xalan.jar;C:\apache\jakarta-t
om
cat\
webapps\Comergent\WEB-INF\lib\lotusxsl.jar;C:\apache\jakarta-tomcat\webapp
s\
Come
rgent\WEB-INF\lib\mail.jar;C:\apache\jakarta-tomcat\webapps\Comergent\WEB-
IN
F\li
b\activation.jar;D:\work\ant\debs\lib\servlet.jar;D:\Program
Files\JavaSoft\Jaxp
1.0.1\jaxp.jar;D:\Program
Files\JavaSoft\Jaxp1.0.1\parser.jar;D:\work\ant\debs;D
:\jd
        at java.lang.Win32Process.create(Native Method)
        at java.lang.Win32Process.<init>(Win32Process.java:64)
        at java.lang.Runtime.execInternal(Native Method)
        at java.lang.Runtime.exec(Runtime.java:272)
        at java.lang.Runtime.exec(Runtime.java:219)
        at org.apache.tools.ant.taskdefs.Jikes.compile(Jikes.java:40)
        at org.apache.tools.ant.taskdefs.Javac.doJikesCompile(Javac.java,
Compil
ed Code)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java,
Compiled
Code
)
        at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
        at org.apache.tools.ant.Project.runTarget(Project.java:717)
        at org.apache.tools.ant.Project.executeTarget(Project.java,
Compiled
Cod
e)
        at org.apache.tools.ant.Project.executeTargets(Project.java,
Compiled Co
de)
        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:107)



---
Alexandre POLOZOFF
Project:  Diamond Technology Partners
Project Email: diamond@polozoff.com
Tel +1 312-475-8751
Mobile +1 312-371-3015




---
Sent via the OfficeServant.com web-mail server
Come to the free anytime, anywhere web-based office applications server

Received: from locus.apache.org [63.211.145.10] by officeservant.com
  (SMTPD32-5.01) id A85FF21013C; Tue, 05 Sep 2000 14:24:15 CST
Received: (qmail 31217 invoked by uid 500); 5 Sep 2000 19:30:16 -0000
Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Post: <ma...@jakarta.apache.org>
List-Help: <ma...@jakarta.apache.org>
List-Unsubscribe: <ma...@jakarta.apache.org>
List-Subscribe: <ma...@jakarta.apache.org>
Reply-To: ant-user@jakarta.apache.org
Delivered-To: mailing list ant-user@jakarta.apache.org
Received: (qmail 31207 invoked from network); 5 Sep 2000 19:30:15 -0000
Received: from unknown (HELO hulk2.icc) (63.203.54.62)
  by locus.apache.org with SMTP; 5 Sep 2000 19:30:15 -0000
Received: by hulk2.comergent.com with Internet Mail Service (5.5.2650.21)
	id <SKPJBW89>; Tue, 5 Sep 2000 12:30:15 -0700
Message-ID: <D8...@hulk2.comergent.com>
From: Hung Le <hl...@comergent.com>
To:  'ant-user@jakarta.apache.org'  <an...@jakarta.apache.org>
Subject: java.lang.Win32Process.create error when using jikes (setting bui
	ld.compiler to jikes) on NT 4.0 machine
Date: Tue, 5 Sep 2000 12:30:13 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset= iso-8859-1
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
X-RCPT-TO: <di...@polozoff.com>
X-UIDL: 354
Status: U