This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 35757 - CreateProcess throws IOException when compiling
Summary: CreateProcess throws IOException when compiling
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-25 20:49 UTC by smccrimmon
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (1.84 KB, text/plain)
2003-08-25 20:51 UTC, smccrimmon
Details
ide.log (101.10 KB, text/plain)
2003-08-26 14:39 UTC, smccrimmon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description smccrimmon 2003-08-25 20:49:17 UTC
I've seen some discussions suggesting that this may have 
something to do with the length of the compile argument. I 
tried removing all classpath info to shorten the argument 
but to no avail.
Comment 1 smccrimmon 2003-08-25 20:51:59 UTC
Created attachment 11420 [details]
stacktrace
Comment 2 _ ttran 2003-08-26 09:57:06 UTC
are you sure that you have fastjavac installed?  This compiler has
been removed from standard distro in NB 3.5 and is available only from
the update center.  If the executable is not there then indeed you get
IOException from JVM.

Please attach your <userdir>/system/ide.log file
Comment 3 smccrimmon 2003-08-26 14:39:43 UTC
Created attachment 11435 [details]
ide.log
Comment 4 smccrimmon 2003-08-26 14:47:14 UTC
The netbeans version is actually 3.5.1 (no pull down option 
for this) and it came with fastjavac. In addition i was 
able to reproduce the error with Jikes and the default 
external compiler.

Hope this helps.
Comment 5 _ ttran 2003-08-26 21:44:40 UTC
I've looked at the exception trace again, it says

java.io.IOException: CreateProcess: {fastjavacBinary} -g -O -d
U:\tomcat\regulated\ROOT\WEB-INF\classes .....

It seems the placeholder {fastjavacBinary} is not replaced with the
real executable.

Reassign to the java module for investigation, likely not a bug in
core/openide.
Comment 6 Tomas Zezula 2003-08-27 14:29:31 UTC
The NB4.0 has completely different compilation system and neither
fastjavac nor jikes is supported in it.
Comment 7 Jan Becicka 2004-07-02 00:44:42 UTC
This issue is INVALID for promo-D since the build system is ant-based.