Comments (7)
Pull Request #26 should have the fix for this.
from choco-packages.
In the meantime I'm 'installing' it with the following powershell:
$webclient = New-Object System.Net.WebClient
$webclient.Headers.Add([System.Net.HttpRequestHeader]::Cookie, "oraclelicense=a");
$webclient.DownloadFile("http://download.oracle.com/otn-pub/java/jdk/8u162-b12/0da788060d494f5095bf8624735fa2f1/server-jre-8u162-windows-x64.tar.gz", "c:\windows\temp\server-jre-windows-x64.tar.gz")
$webclient.Dispose()
Invoke-Expression "cmd /c C:\ProgramData\chocolatey\bin\7za.exe x -oc:\windows\temp c:\windows\temp\server-jre-windows-x64.tar.gz -r"
Invoke-Expression "cmd /c C:\ProgramData\chocolatey\bin\7za.exe x -oc:\ c:\windows\temp\server-jre-windows-x64.tar -r"
[Environment]::SetEnvironmentVariable( "JAVA_HOME", "c:\jdk1.8.0_162\jre\bin", [System.EnvironmentVariableTarget]::Machine )
from choco-packages.
Any movement on this @rgra ?
from choco-packages.
Is the issue Oracle simply deletes older versions?
from choco-packages.
@JorritSalverda does 7za.exe
come with chocolately because i ran your script and i got 'C:\ProgramData\chocolatey\bin\7za.exe' is not recognized as an internal or external command,
from choco-packages.
Oracle doesn't actually delete the older versions they simply move them behind a login to where they are only accessible via the Oracle Developer pages to download due to the security issues. There is a script called jdk wrapper written in Bash that can use that login information to download older versions, but this package doesn't take advantage of that.
@jchannon 7za comes with chocolatey and is probably only accessible within the Chocolatey PATH eg C:\ProgramData\chocolatey\bin\
or wherever it is.
from choco-packages.
Oh yes, I missed this line at the start:
cinst 7zip.portable --yes --accept-license --version=16.04
from choco-packages.
Related Issues (13)
- (server-jre8) Check before modifying PATH
- (apache-httpd) IPV6 listen value is missing in httpd.conf HOT 2
- (apache-httpd) httpd.conf defaults to port 80 often causing port conflicts HOT 3
- (apache-httpd) htdocs folder is removed on uninstall HOT 1
- (apache-httpd) add option to include additional modules HOT 1
- (apache-httpd) add option to select VC version HOT 1
- Would it be possible to default the server-jre8 to Machine with User as an option HOT 3
- (server-jre8) Installation behind proxy
- (server-jre8) Update to release 8.0.192
- (apache-httpd) Optional service installation HOT 1
- (apache-httpd) Error on service start during installation HOT 3
- (apache-httpd) Uninstallation deletes whole unzipLocation - possibly dangerous HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from choco-packages.