如何使用Oracle的Shell脚本自动下载最新JDK文件的下载
如何使用Oracle从Oracle进行shell脚本并转换为.zip文件自动下载最新的jdk.exe文件?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
如何使用Oracle从Oracle进行shell脚本并转换为.zip文件自动下载最新的jdk.exe文件?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
https://www.oracle.com/java/technologies/downloads/# JDK18-Windows
您可以直接从Oracle网站下载.zip格式。
无需将其从.exe转换为.zip。
另外,如果您可以澄清所需的外壳,那就更好了。考虑到您正在寻找.exe,我猜powershell吗?但是谁知道...
我猜想您只需要复制下载链接并将脚本从那里获取即可。例如,使用bash,它就像以下内容:
https://www.oracle.com/java/technologies/downloads/#jdk18-windows
You can directly download the .zip format from the oracle website.
There is no need to convert it from .exe to .zip.
Also, it would be better if you could clarify what shell you need. Considering that youre looking for .exe, im guessing powershell? But who knows...
Im guessing you would just need to copy the download link and have the script grab it from there. For example with bash it would be like below:
download zip file image