<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I don't know if this has anything to do with the problem but due to
this advice<br>
The ALT_JDK_IMPORT_PATH setting is only needed if you are not
building the entire JDK.<br>
from<br>
<a class="moz-txt-link-freetext" href="http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html#importjdk">http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html#importjdk</a><br>
I didn't define a ALT_JDK_IMPORT_PATH when I did a fastdebug build (and
it's not in my home directory netbeans build.properties).<br>
<br>
Also setting it in my home directory netbeans build.properties didn't
make any difference, e.g. I tried both ALT_JDK_IMPORT_PATH=<br>
C:\OPF6CE~1\jdk7\build\WINDOW~2\J2SDK-~1 (equivalent to
C:\OpenJDK-b96m\jdk7\build\windows-i586-fastdebug\j2sdk-image) and<br>
C:/Progra~1/Java/jdk1.7.0<br>
<br>
Pete<br>
===<br>
Pete Brunet wrote:
<blockquote cite="mid:4C2D154E.8070402@oracle.com" type="cite">I'm
trying to build (on Windows) the NetBeans jdk7 awt2d project and
get the following:<br>
<br>
<b>C:/SLASHJ~1/re/jdk/1.7.0/promoted/latest/binaries/windows-i586/bin/javac</b>
-J-XX:ThreadStackSize=768 -J-XX:-PrintVMOptions
-J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-client
-J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m
-source 7 -target 7 -encoding ascii
"-Xbootclasspath:../../../../build/windows-i586/classes" -d
../../../../build/windows-i586/democlasses/demo/jfc/CodePointIM/jar_image
-sourcepath
../../../../build/windows-i586/democlasses/demo/jfc/CodePointIM/src \<br>
@../../../../build/windows-i586/democlasses/demo/jfc/CodePointIM/javac_input.txt<br>
/bin/sh:
C:/SLASHJ~1/re/jdk/1.7.0/promoted/latest/binaries/windows-i586/bin/javac:
<b>No such file or directory</b><br>
<br>
When I built the full JDK I used<br>
set ALT_SLASH_JAVA=C:\SlashJava (before starting cygwin and the build)<br>
In my cygwin ~/.openjdk build.properties I have <br>
ALT_SLASH_JAVA=C:/SlashJava<br>
in the make.options section.<br>
<br>
C:/SlashJava is empty.<br>
<br>
Should I not use ALT_SLASH_JAVA? Or set it to something else? I read
somewhere that I just need to point it at an empty directory. If I
need to change this variable do I need to rebuild the entire JDK with
the same ALT_SLASH_JAVA before trying the NetBeans project again?<br>
<br>
Also, since I used a fastdebug build it appears I'll have to do some
hacking to transform at least some of the windows-i586 above into
windows-i586-fastdebug.<br>
<br>
My goal is to be able to debug the java portions of my code.<br>
<br>
Thanks, Pete<br>
<br>
</blockquote>
</body>
</html>