Commit Graph

5 Commits

Author SHA1 Message Date
Devin Bileck
04d7a6f7e2
Configure default system JDK
The install_java.sh script was not setting the appropriate java and
javac as default. This is not an issue if no other JDK is installed, but
if so it could cause the wrong JDK to be used. So it now sets the
appropriate default system JDK.

Also, added a comment at the top of the install_java.sh and
install_java.bat files indicating it configures the default system
JDK and informs the user how to go about selecting a different
default JDK if necessary.
2019-01-06 16:13:57 -08:00
Devin Bileck
01e0c05c2e
Update install_java.bat
Do not download 7zip if it had previously been downloaded, for example
if this script had previously been run. And don't delete it at the end
of this script in case this script is run again. This is an attempt to
save time and bandwidth.
2018-12-22 14:59:37 -08:00
Devin Bileck
47c59f8b3f
Fix when setting long PATH environment variable
Avoid using setx to append to the PATH environment variable as it will
truncate to 1024 characters. Instead, use SetEnvironmentVariable
in powershell.
2018-12-14 23:57:26 -08:00
Devin Bileck
3394980b90
Update install_java.bat
If the JDK is already installed, there is no need to download,
extract, and install it again. Just need to ensure the environment
variables are set.
2018-12-06 15:46:39 -08:00
Devin Bileck
0dc924b8e2
Add install_java.bat
This batch file allows for easy installation and configuration of the necessary JDK on Windows.
2018-12-03 16:05:59 -08:00