Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation of JDK fails - Windows 10 #3

Open
roppenheimer opened this issue Nov 21, 2021 · 1 comment
Open

Installation of JDK fails - Windows 10 #3

roppenheimer opened this issue Nov 21, 2021 · 1 comment

Comments

@roppenheimer
Copy link

Installation of JDK fails - Windows 10

Downloading x64 to C:\Users\Richard\Downloads\8u162-x64.exe
Downloading C:\Users\Richard\Downloads\8u162-x64.exe failed
Press Any Key To Continue...

@th122
Copy link

th122 commented Dec 13, 2021

This script really only works for a specific version (or range of versions) and looks rather outdated. All components that get installed are hard-coded in their respective scripts to a set of versions that probably worked well together in the past, but versions have progressed, and paths changed...

The jdk that is supposed to be downloaded is v8u164. It does work to download the current jdk from Oracle (they changed licensing, so download paths may have changed as well), download and install the current version.
As of 2021-12-11 that was v8u311.
Then for ease of use I changed all occurrences of 164 in installJdk.psi to 311, commented out the actual downloading and the check, but left the check for the Java directory. It did then set the Java Home variable that is needed for continuing.

Android SDK will then be downloaded and installed ok (not sure it"s really the version needed). (Installing a current version manually looks way better)
but for downloading AAPS, it is still using MilosKozak/AndroidAPS.git

Then you most certainly want to substitute nighscout for MilosKozak in the github path to retrieve a current version of AAPS and try to proveed from then on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants