Coder Social home page Coder Social logo

Comments (7)

littlefyr avatar littlefyr commented on June 30, 2024 2

Pull Request #26 should have the fix for this.

from choco-packages.

JorritSalverda avatar JorritSalverda commented on June 30, 2024

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.

jchannon avatar jchannon commented on June 30, 2024

Any movement on this @rgra ?

from choco-packages.

jchannon avatar jchannon commented on June 30, 2024

Is the issue Oracle simply deletes older versions?

from choco-packages.

jchannon avatar jchannon commented on June 30, 2024

@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.

dragon788 avatar dragon788 commented on June 30, 2024

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.

JorritSalverda avatar JorritSalverda commented on June 30, 2024

Oh yes, I missed this line at the start:

cinst 7zip.portable --yes --accept-license --version=16.04

from choco-packages.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.