JDK 仅作为 Zip 文件而不是 JRE
我在哪里可以获得最新的 jdk 作为 zip 文件。我不需要jre,我想要完整的jdk。我无法运行 exe,甚至无法请求 Windows 安装程序,因此我无法下载 .exe 并运行它。另外,我无法访问一些上传网站,例如 Drop box 或 4shared。有没有什么ftp或者地方可以让我压缩jdk?非常感谢你。 Jportable 还不够好,谢谢。
Where can I get the latest jdk as a zip file. I don't want the jre, I want the full jdk. I can't run exe's or even request windows installer so it's impossible for me to download the .exe and run it. Also I can't access some uploading sites like Drop box or 4shared. Is there any ftp or place that I can get just zipped up jdk? Thanks you very much. Jportable is not good enough, Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
http://installbuilder.bitrock.com/java/ 所有版本均可用。享受。全部都是邮政编码
http://installbuilder.bitrock.com/java/ all the version are available. enjoy. all are ZIP
理想情况下,Oracle 将为我们提供以 ZIP 包形式下载 JDK 二进制文件的选项,而不是强迫我们使用 Windows 安装程序。但既然他们不这样做,为什么不尝试下载另一个已经包含 JDK 的 Oracle 产品的 ZIP 发行版(例如 Oracle SQLDeveloper)。请务必回到这里并告诉我们这种方法是否适合您。我确信还有很多人也在寻找解决方法。
Ideally, Oracle would provide us with the option of downloading the JDK binaries as a ZIP package instead of forcing us to use the Windows installer. But since they don't, why don't you try downloading the ZIP distribution of another Oracle product that already includes a JDK (e.g. Oracle SQLDeveloper). And please be sure to come back here and let us know if this approach worked out for you. I'm sure there are tons of folks out there looking for workaround too.
其实很简单,但是,你必须自己做。
首先,从Oracle网站下载JDK。
其次,使用 7zip 或其他提取实用程序提取所有内容。
第三,浏览提取的内容并使用 Java 的“unpack200”将所有“.pack”文件(有几个)转换为 jar 文件。如果需要,您可以随后删除“.pack”文件。
注意:为了使用 unpack200,您需要在系统上安装 JDK。导航到 jdk1.x.x_xx/bin 文件夹并从命令行运行该实用程序。
示例:unpack200 rt.pack rt.jar
谢谢。
It's really simple but, you have to make it yourself.
First, download the JDK from the Oracle Website.
Second, extract all the contents using 7zip or other extracting utility.
Third, navigate through the extracted content and use Java's "unpack200" to convert all the ".pack" files (there's a couple of them) into jar files. You can delete the ".pack" files afterwards if desired.
Note: In order to use unpack200 you need to have a JDK installed on the system. Navigate to the jdk1.x.x_xx/bin folder an run the utility from the command line.
Example: unpack200 rt.pack rt.jar
Thanks.
您可以安装jdk(使用安装程序,取消选中“public jre”选项),zip安装文件夹。
然后卸载jdk。现在你有了一个jdk zip,你可以在任何地方解压。
我在 Windows Vista(jdk 1.6 和 1.7)上以这种方式使用 jdk。
You can install jdk (with installer, uncheck 'public jre' option), zip installation folder.
Then uninstall jdk. Now you have a jdk zip, you can unzip wherever.
I'm using jdk this way on Windows Vista, both jdk 1.6, and 1.7.
我也面临同样的问题 - 在我的 PC 上获取 JDK7 的 zip 版本。尝试提取 exe 安装程序,很高兴地发现我得到了一组文件夹,包括 jdk、jre、lib、bin 等(类似于通过运行 Jdk8 安装程序获得的设置)。但我的快乐是短暂的 - 当我设置额外的运行时环境时,Eclipse 没有将该路径识别为有效的 JDK/JRE 安装。
修复方法是运行 exe 安装程序并将其安装在程序文件之外的不同路径中,这样它就不会弄乱您的 Java 主设置或其他客户端程序的 JRE 版本。
I was also facing the same issue - to get a zip version of JDK7 on my PC. Tried to extract the exe installer and was happy to find that I got a set of folders including jdk,jre, lib,bin etc (similar to the set up that you get by running the installer for Jdk8). But my happiness was short lived - Eclipse did not recognize this path as a valid JDK / JRE installation , while I set up the additional Run time environments.
The fix is to run the exe installer and install it in a different path , outside Program files, so that it doesnt mess up your Java home settings or JRE versions for other client programs.