We are turning off PATH, JAVA_HOME modifications so we can install multiple versions of Java, and set PATH as needed per-project. However
- we do not provide instructions for this scenario (TODO
jps
) - if this is the only Java on your workstation, you can let setup do these changes for you
winget install --interactive BellSoft.LibericaJDK.11
Interactively set this location C:\JDK\11
, and turn off PATH, JAVA_HOME, and Jar assotiation
console output
Found Liberica JDK 11 [BellSoft.LibericaJDK.11] Version ...
Downloading https://download.bell-sw.com/java/11.0.18+10/bellsoft-jdk11.0.18+10-windows-amd64.msi
██████████████████████████████ ... MB / 183 MB
...
Note: flag --location "C:\JDK\11"
has nearly zero effect, this empty dir is created, installition path is not changed
winget install --interactive --id Git.Git
Found Git [Git.Git] Version 2.39.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/git-for-windows/git/releases/download/v2.39.1.windows.1/Git-2.39.1-64-bit.exe
██████████████████████████████ 50.5 MB / 50.5 MB
Successfully verified installer hash
- download and install
mysql-installer-web-community-8.0.32.0.msi
(2,506,752 Bytes) - select Server 8.0.32 , Server 5.7.41, Workbench
- use Right Arrow button to add selected options
- set paths (official manual page)
- install
- configure
- Server 8.0 - use Strong Password Encryption
- disable binary log, chage names to distinguish between versions, lower slow log threshold
winget show PostgreSQL.PostgreSQL
Found PostgreSQL 14 [PostgreSQL.PostgreSQL]
Version: 14.5
Publisher: PostgreSQL Global Development Group
...
Installer:
Installer Url: https://get.enterprisedb.com/postgresql/postgresql-14.5-1-windows-x64.exe
Installer SHA256: e91b3aa882a0af54fda36043f492252e472c878904e2c3d92e6c799c33e75dea
winget install --version 14.5 --interactive PostgreSQL.PostgreSQL
Downloading https://get.enterprisedb.com/postgresql/postgresql-14.5-1-windows-x64.exe
███████▊ 81.0 MB / 313 MB
!!! IMPORTANT !!! Set and save superuser 'postgres' password
JAVA_HOME may help when Gradle task was interrupted. TODO set it <shsha>\gradlew.bat
chcp 1252
Avoids
WARNING: Console code page (437) differs from Windows code page (1252)
8-bit characters might not work correctly. See psql reference
page "Notes for Windows users" for details.
have user postgres
password ready, and run:
psql -U postgres
postgres=# CREATE USER shsha WITH PASSWORD '999' CREATEDB;
diff
fucking streams
http://programmingbb.blogspot.com/2017/07/java-8-use-lambda-to-create-pivot.html
mix