I don't know if this has anything to do with the problem but due to this advice The ALT_JDK_IMPORT_PATH setting is only needed if you are not building the entire JDK. from http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html#importjdk 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).
Also setting it in my home directory netbeans build.properties didn't make any difference, e.g. I tried both ALT_JDK_IMPORT_PATH= C:\OPF6CE~1\jdk7\build\WINDOW~2\J2SDK-~1 (equivalent to C:\OpenJDK-b96m\jdk7\build\windows-i586-fastdebug\j2sdk-image) and C:/Progra~1/Java/jdk1.7.0 Pete === Pete Brunet wrote: > I'm trying to build (on Windows) the NetBeans jdk7 awt2d project and > get the following: > > *C:/SLASHJ~1/re/jdk/1.7.0/promoted/latest/binaries/windows-i586/bin/javac* > -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 \ > > @../../../../build/windows-i586/democlasses/demo/jfc/CodePointIM/javac_input.txt > /bin/sh: > C:/SLASHJ~1/re/jdk/1.7.0/promoted/latest/binaries/windows-i586/bin/javac: > *No such file or directory* > > When I built the full JDK I used > set ALT_SLASH_JAVA=C:\SlashJava (before starting cygwin and the build) > In my cygwin ~/.openjdk build.properties I have > ALT_SLASH_JAVA=C:/SlashJava > in the make.options section. > > C:/SlashJava is empty. > > 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? > > 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. > > My goal is to be able to debug the java portions of my code. > > Thanks, Pete >
