Day 1) JDK and Oracle setup _20180528
[Morning session _ Beginner Java]
#jdk installation
1. Get the file
Go to https://www.oracle.com/kr/index.html
Move to http://www.oracle.com/technetwork/java/javase/downloads/index.html
Go to http://www.oracle.com/technetwork/java/javase/archive-139210.html and click v 1.7
From http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html
* JDK for developers, Java SE Development Kit 7u80 (JRE included) — download it.
** For reference: 1) JRE is runtime-only and is included inside the JDK.
2) To check your computer's bit version,
Windows lower-left Home button > Computer (right-click) > Properties > System.
2. Install the downloaded file
1) Run the downloaded file.
2) During install, change only the install path (D:\B_Util\2.Java\JDK1.7) <- for the Daedeok Human Resources Development Institute training period
3) Don't install JRE.
4) After install, register environment variables and set the path.
Windows lower-left Home button > Computer (right-click) > Properties > System > Advanced system settings > Environment Variables
(new window) >
System variables (bottom section) > New
/ variable name: JAVA_HOME
/ variable value: D:\B_Util\2.Java\JDK1.7 <- the path entered when installing the JDK
System variables (bottom section) > 'p' > Edit > at the far right, add ' ;%JAVA_HOME%\bin; '
3. Verify installation
cmd
java -version
javac -version
#oracle installation
1. Get the files
1) OracleXE112_Win64 <- I can connect from elsewhere; others can also connect
2) sqldeveloper-17.4.1.054.0712-no-jre <- easy-to-use tool
3) win32_11gR2_client <- for connecting elsewhere
2. Install the files
1) Oracle
Run the setup file.
Set path -> D:\B_Util\4.Oracle
Set password -> java
2) sqldeveloper — no install, only configuration
Click icon > set path to where JDK 1.8 is installed.
3) win32_client <- for Oracle, even on a 64-bit computer, install the 32-bit version
D:\B_Util\4.Oracle\client > setup reset location
-> D:\B_Util\4.Oracle\appClient
