Skip to content

Commit

Permalink
Updated adoptium api
Browse files Browse the repository at this point in the history
  • Loading branch information
celedev97 authored Nov 14, 2023
1 parent 105fc25 commit ebfc333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javahelper/helper_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func DownloadJava(javaVersion int) (string, error) {

if !FileExists(filename) {
//downloading the jre
url := "https://api.adoptopenjdk.net/v3/" + INSTALLER + "/latest/" + version + "/ga/" + OS + "/" + ARCHITECTURE + "/jre/hotspot/normal/adoptopenjdk"
url := "https://api.adoptium.net/v3/" + INSTALLER + "/latest/" + version + "/ga/" + OS + "/" + ARCHITECTURE + "/jre/hotspot/normal/eclipse"
println("Downloading: " + filename + " from " + url + " ...")

err := downloadFile(url, filename)
Expand Down

0 comments on commit ebfc333

Please sign in to comment.