From 5dbddbf8d6a926db80128ff51f760e181965d8e3 Mon Sep 17 00:00:00 2001 From: YSTYLE Date: Mon, 30 Nov 2015 18:15:49 +0800 Subject: [PATCH] add x64 1.6jdk --- bin/install.cmd | 2 +- jdkversions.json | 1 + jvms.iss | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/install.cmd b/bin/install.cmd index 92400f5..9790343 100644 --- a/bin/install.cmd +++ b/bin/install.cmd @@ -9,7 +9,7 @@ set SYS_ARCH=64 ) else ( set SYS_ARCH=32 ) -(echo root: %JVMS_HOME% && echo path: %JAVA_HOME%\bin && echo arch: %SYS_ARCH% && echo proxy: none) > %JVMS_HOME%\settings.txt +(echo root: %JVMS_HOME% && echo path: %JAVA_HOME% && echo arch: %SYS_ARCH% && echo proxy: none) > %JVMS_HOME%\settings.txt notepad %JVMS_HOME%\settings.txt @echo on diff --git a/jdkversions.json b/jdkversions.json index d9a3f2b..473a29a 100644 --- a/jdkversions.json +++ b/jdkversions.json @@ -1,6 +1,7 @@ { "latest_x64": "http://7xo3cg.com1.z0.glb.clouddn.com/jdk1.8.0_31_x64.zip", "1.6.0_43_x86": "http://7xo3cg.com1.z0.glb.clouddn.com/jdk1.6.0_43_x86.zip", + "1.6.0_43_x64": "http://7xo3cg.com1.z0.glb.clouddn.com/jdk1.6.0_43_x64.zip", "1.7.0_67_x64": "http://7xo3cg.com1.z0.glb.clouddn.com/jdk1.7.0_67_x64.zip", "1.8.0_31_x64": "http://7xo3cg.com1.z0.glb.clouddn.com/jdk1.8.0_31_x64.zip" } diff --git a/jvms.iss b/jvms.iss index a7c98cf..a83330a 100644 --- a/jvms.iss +++ b/jvms.iss @@ -229,7 +229,7 @@ begin RegWriteExpandStringValue(HKEY_LOCAL_MACHINE, 'SYSTEM\CurrentControlSet\Control\Session Manager\Environment', 'Path', path); end; if Pos('%JVMS_SYMLINK%',path) = 0 then begin - path := path+';%JAVA_HOME%\bin'; + path := '%JAVA_HOME%\bin;' + path; StringChangeEx(path,';;',';',True); RegWriteExpandStringValue(HKEY_LOCAL_MACHINE, 'SYSTEM\CurrentControlSet\Control\Session Manager\Environment', 'Path', path); end; @@ -242,7 +242,7 @@ begin RegWriteExpandStringValue(HKEY_CURRENT_USER, 'Environment', 'Path', path); end; if Pos('%JAVA_HOME%',path) = 0 then begin - path := path+';%JAVA_HOME%\bin'; + path := '%JAVA_HOME%\bin;' + path; StringChangeEx(path,';;',';',True); RegWriteExpandStringValue(HKEY_CURRENT_USER, 'Environment', 'Path', path); end;