building part of jdk 8

Pete Brunet peter.brunet at oracle.com
Thu Jan 26 02:26:45 UTC 2012


On 1/23/12 8:09 PM, Kelly O'Hair wrote:
> You need to build everything once first, e.g.
>   cd /cygdrive/c/OpenJDK/jdk8/jdk/make/
>   make ARCH_DATA_MODEL=32 FASTDEBUG=true 2>&1 | tee build.log
When I do this I get:

ERROR: HOTSPOT_CLIENT_PATH does not point to a valid HotSpot VM.
       Please check your access to
          
J:/re/jdk/1.8.0/promoted/latest/binaries/windows-i586/fastdebug/jre/bin/client/jvm.dll
       and/or check your value of ALT_HOTSPOT_CLIENT_PATH.

ERROR: HOTSPOT_SERVER_PATH does not point to a valid HotSpot VM.
       Please check your access to
          
J:/re/jdk/1.8.0/promoted/latest/binaries/windows-i586/fastdebug/jre/bin/server/jvm.dll
       and/or check your value of ALT_HOTSPOT_SERVER_PATH.

ERROR: HOTSPOT_LIB_PATH does not point to a valid HotSpot library.
       Please check your access to
          
J:/re/jdk/1.8.0/promoted/latest/binaries/windows-i586/fastdebug/lib/jvm.lib
       and/or check your value of ALT_HOTSPOT_LIB_PATH.

Exiting because of the above error(s).

make: *** [sane-lastrule] Error 1

Note that this is after a successful build of the entire forest, i.e.
running the same make command at the top level, i.e. .../jdk8

Pete
> then you can go into make/java/awt  and repeatedly
>   cd /cygdrive/c/OpenJDK/jdk8/jdk/make/java/awt/
>   make ARCH_DATA_MODEL=32 FASTDEBUG=true 2>&1 | tee build.log
>
> -kto
>
> On Jan 23, 2012, at 7:39 AM, Pete Brunet wrote:
>
>> In the past I was able to build part of jdk 8 but that is not currently
>> working although I am able to do a full 32 bit build.  I've recently
>> moved from XP to W7 so my environment might not be set up quite right
>> yet.  Here's what I do...
>>
>> // These are done in a bat file before I do any makes
>> set ALT_BOOTDIR=C:/Progra~1/Java/jdk1.7.0_02
>> set ALT_FREETYPE_HEADERS_PATH=C:/Users/Pete/freetype-2.4.8/include
>> set ALT_FREETYPE_LIB_PATH=C:/Users/Pete/freetype-2.4.8/objs/win32/vc2010
>> set ANT_HOME=C:/Progra~2/apache-ant-1.7.1
>> set ALT_MSDEVTOOLS_PATH=C:/Progra~2/MICROS~1/Windows/v7.0A/bin
>> set CLASSPATH=
>> set PATH=C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;
>> set CYGWIN=nodosfilewarning
>> cd c:\Users\Pete\cygwin\bin
>> bash --login -i
>>
>> // These are done at the command line
>> eval `bin/vsvars.sh -v10 -32`
>> cd /cygdrive/c/OpenJDK/jdk8/jdk/make/java/awt/
>> make ARCH_DATA_MODEL=32 FASTDEBUG=true 2>&1 | tee build.log
>>
>> The error I am getting is
>>
>> make: *** No rule to make target
>> `../../../build/windows-i586/btjars/compileproperties.jar', needed by
>> `compile_all_props'.  Stop.
>>
>> Since the above has windows-i586 instead of windows-i586-debug it looks
>> like I need to add another variable when invoking make.
>>
>> Pete



More information about the build-dev mailing list