Can't install JDK 7

烈酒焚心 提交于 2019-12-11 03:10:51

问题


I can install the JRE 7 without any problem. However when I try to install JDK 7, nothing happens. I am currently running Win7 64-bit. When I double click on the downloaded file, a dialog box pops up asking me if I want to run the application, I click "run" and then nothing happens. I don't even get an error message. JDK 6 installs just fine. I tried uninstalling all versions of Java, and the installing JDK 7, but the same thing happens. I've even installed JDK 7 on another computer just fine, and then used that file to try and install on my laptop, but the same thing happens.

Any ideas?


回答1:


Later, pre-release versions of the installer such as 7u6 do not have this problem. Download pre-prerelease versions here: http://jdk7.java.net/download.html

Reference: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7145760




回答2:


The Oracle bug report details how to fix this:

(I've modified it to use the latest stable version (u05)

Suggested Workaround:
For Win7, here were the steps used to get it to install based on the above instructions.

1) goto c:\Users[your user]
2) create jdk1.7.0_05_combo directory
3) right click on folder and select permissions
4) click advanced button
5) deny delete/delete sub for each listed role/user
6) run downloader installer 7) goto jdk1.7.0_05 and run the java_jdk.exe (no need to copy to another dir)

See here for more info:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7145760




回答3:


Please see this video https://youtu.be/-V5loLHifgU. In the video described installation of jdk 8 but it can help for sure.



来源:https://stackoverflow.com/questions/9725580/cant-install-jdk-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!