problem with zip.dll when building 7u

David Holmes david.holmes at oracle.com
Fri Nov 8 00:25:24 UTC 2013


Hi Peter,

On 8/11/2013 7:15 AM, Pete Brunet wrote:
> This was when attempting to only build jdk, pointing at an import
> directory from 7u45.  I tried again from the top and using the sanity
> target I am seeing a lot of ERRORs referring to components that I've
> never seen before in a jdk build, e.g. Mozilla headers, InstallShield, lzma.

Disable building the deploy and install repos:

setenv BUILD_DEPLOY false
setenv BUILD_INSTALL false

Your original problem seems related to the very recent changes to rmic 
invocation during the build. IIRC correctly there was a fix in 7u45 and 
then a different fix for 7u60 (everything post 7u45) so that may be the 
cause of the problem - can you try a different import JDK?

David

> ERROR: You do not have access to valid Mozilla header files.
>         Please check your access to
>             J:/devtools/share/plugin/mozilla_headers_18.win32/java/bool.h
>         and/or check your value of ALT_JDK_DEVTOOLS_DIR,
> ALT_MOZILLA_HEADERS_PATH
> ,
>             and on Windows, ALT_JDK_JAVA_DRIVE.
>
> ERROR: You do not have access to valid Mozilla header files for the new
> Java Plu
> g-In.
>         Please check your access to
>             J:/devtools/share/plugin/plugin2_mozilla_headers/npapi.h
>         and/or check your value of ALT_JDK_DEVTOOLS_DIR,
> ALT_MOZILLA_HEADERS_PATH
> ,
>
> ERROR: You do not have access to valid Mozilla header files for the new
> Java Plu
> g-In.
>         Please check your access to
>             J:/devtools/share/plugin/plugin2_7_mozilla_headers/npapi.h
>         and/or check your value of ALT_MOZILLA_HEADERS_PATH,
>
> ERROR: ISHIELDDIR does not point to a valid InstallShield Developer.
>         Please check ISHIELDDIR or ALT_ISHIELDDIR or check access to
>           C:/Program Files/InstallShield/Developer
>
> ERROR: BUILDER does not point to a valid InstallShield Developer.
>         Please check your access to
>           C:/Program Files/InstallShield/Developer/System/ISCmdBld.exe
>
> ERROR: Can not find JavaFX SDK to cobundle.
>         Please check your access to
>
> /java/re/javafx/jdk-cobundle/7/windows-i586/javafx-sdk-for-cobundle.z
> ip
>         Set ALT_JAVAFX_ZIP_DIR or ALT_JAVAFX_ROOTDIR
>             to point to custom location.
>
> ERROR: Can not find JavaFX RT to cobundle.
>         Please check your access to
>
> /java/re/javafx/jdk-cobundle/7/windows-i586/javafx-runtime-for-cobund
> le.zip
>         Set ALT_JAVAFX_ZIP_DIR or ALT_JAVAFX_ROOTDIR
>             to point to custom location.
>
> ERROR: You do not have lzma.exe in J:/devtools.
>         Please add lzma.exe to
>             J:/devtools
>         and/or check your value of ALT_INSTALL_LZMA_PATH.
>
> ERROR: You do not have lzma.dll in J:/devtools.
>         Please add lzma.dll to
>             J:/devtools
>         and/or check your value of ALT_INSTALL_LZMA_PATH.
>
> ERROR: upx301w.zip not found in JDK_DEVTOOLS_DIR.
>         Please add upx301w.zip to
>         DEBUG INSTALL_UPX_FILE /upx301w.zip To
>             J:/devtools
>         and/or check your value of ALT_JDK_DEVTOOLS_DIR and
> ALT_INSTALL_UPX_FILE.
>
>
> On 11/7/13 11:35 AM, Pete Brunet wrote:
>> I am getting the following error when trying to build 7u.  I repulled
>> and rebuilt but got the same error.  Any ideas?  -Pete
>>
>> INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
>> INFO: ZIP_DEBUGINFO_FILES=1
>> make[4]: Entering directory
>> `/cygdrive/c/Users/Pete/JDK7u/jdk7u-dev/jdk/make/com/sun/jmx'
>> /usr/bin/mkdir -p
>> ../../../../build/windows-i586/classes/javax/management/remote/rmi
>> rm -f
>> ../../../../build/windows-i586/classes/javax/management/remote/rmi/RMIConnectionImpl_Stub.class
>> ../../../../build/windows-i586/bin/java -XX:-PrintVMOptions
>> -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client -Xmx512m
>> -Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m -cp
>> ../../../../build/windows-i586/classes sun.rmi.rmic.Main -classpath
>> "../../../../build/windows-i586/classes"    \
>>                  -d ../../../../build/windows-i586/classes              \
>>                  -v1.2                           \
>>                  -keepgenerated                  \
>>                  javax.management.remote.rmi.RMIConnectionImpl
>> Error occurred during initialization of VM
>> Unable to load ZIP library:
>> C:\Users\Pete\JDK7u\jdk7u-dev\jdk\build\windows-i586\bin\zip.dll
>> make[4]: ***
>> [../../../../build/windows-i586/classes/javax/management/remote/rmi/RMIConnectionImpl_Stub.class]
>> Error 1
>



More information about the build-dev mailing list