ootaken / chocolatey Goto Github PK
View Code? Open in Web Editor NEWchocolatey repository
chocolatey repository
Oracle has recently released a new build (8u191 -> 8u201), making the currently commited download link obsolete.
Before downloading the JDK8 installer, it sets [System.Net.ServicePointManager]::ServerCertificateValidationCallback = { $true }
. This is having impact on other packages that are dependent on JDK8. To fix the issue, after the installer is downloaded need to set [System.Net.ServicePointManager]::ServerCertificateValidationCallback = $null
to remove the callback.
versions for download link should be updated
I get the following error when trying to install:
C:\Users\Administrator>choco install jdk9
Chocolatey v0.10.10
Installing the following packages:
jdk9
By installing you accept licenses for the packages.
Progress: Downloading jdk9 9.0.4.11... 100%
jdk9 v9.0.4.11 [Approved]
jdk9 package files install completed. Performing other installation steps.
The package jdk9 wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[N]o/[P]rint): y
Downloading JDK from http://download.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jdk-9.0.4_windows-x64_bin.exe
ERROR: Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
The install of jdk9 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\jdk9\tools\chocolateyInstall.ps1'.
See log for details.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- jdk9 (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\jdk9\tools\chocolateyInstall.ps1'.
See log for details.
The packageSourceUrl should point to https://github.com/ootaken/chocolatey
i want to use java in diffrent versions in boxstarter how can i build an package for it?
Hi,
Oracle has recently released a new build (8u181 -> 8u191
)and deprecated the old one, making the commited download link obsolete.
I am currently trying a fix, will push a PR if it works.
2017-10-17 21:59:03,259 2212 [ERROR] - ERROR: Exception calling “DownloadFile” with “2" argument(s): “The remote server returned an error: (404) Not Found.”
I think it should be "%JAVA_HOME%\bin" for more correctnes
Otherwise it's multiply.
See header.
Older versions take up gigabytes of space on my computer.
See also Disqus comment.
From article of official Java site “Why should I uninstall older versions of Java from my system?”:
We highly recommend that you uninstall all older versions of Java from your system.
Keeping old versions of Java on your system presents a serious security risk.
Uninstalling older versions of Java from your system ensures that Java applications will run with the latest security and performance improvements on your system.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.