mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Installer: regenerating the Shared Archives for java x64 and x86.
http://docs.oracle.com/javase/8/docs/technotes/guides/vm/class-data-sharing.html
This commit is contained in:
@@ -903,7 +903,15 @@ skip_ipr:
|
||||
WriteRegDWORD SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_WITH_VER}" \
|
||||
"NoRepair" 1
|
||||
|
||||
ExecWait "$INSTDIR\jre\jre\bin\javaw.exe -Xshare:dump"
|
||||
; Regenerating the Shared Archives for java x64 and x86 bit.
|
||||
; http://docs.oracle.com/javase/8/docs/technotes/guides/vm/class-data-sharing.html
|
||||
IfFileExists $INSTDIR\jre\bin\javaw.exe 0 java64
|
||||
ExecWait "$INSTDIR\jre\bin\javaw.exe -Xshare:dump"
|
||||
java64:
|
||||
IfFileExists $INSTDIR\jre64\bin\javaw.exe 0 skip_regeneration_shared_archive_for_java_64
|
||||
ExecWait "$INSTDIR\jre64\bin\javaw.exe -Xshare:dump"
|
||||
|
||||
skip_regeneration_shared_archive_for_java_64:
|
||||
SetOutPath $INSTDIR\bin
|
||||
; set the current time for installation files under $INSTDIR\bin
|
||||
ExecDos::exec 'copy "$INSTDIR\bin\*.*s" +,,'
|
||||
|
||||
Reference in New Issue
Block a user