|
| 1 | +## Installing Python |
| 2 | + |
| 3 | +https://www.python.org/downloads/ |
| 4 | + |
| 5 | +#### Google for "java 9 jdk download" |
| 6 | + |
| 7 | +--- |
| 8 | +#### Land on the Oracle JDK Download Site |
| 9 | + |
| 10 | +--- |
| 11 | +#### Accept License Agreement |
| 12 | + |
| 13 | + |
| 14 | +--- |
| 15 | +#### Download JDK for Your Specific Operating System |
| 16 | + |
| 17 | +--- |
| 18 | +#### Launch the Downloaded file |
| 19 | + |
| 20 | +--- |
| 21 | +#### Java Installation Screens |
| 22 | + |
| 23 | +--- |
| 24 | + |
| 25 | +--- |
| 26 | +#### Choose Defaults and Copy Install Location |
| 27 | + |
| 28 | +--- |
| 29 | + |
| 30 | +--- |
| 31 | +#### Choose Defaults and Copy Install Location |
| 32 | + |
| 33 | +--- |
| 34 | + |
| 35 | +--- |
| 36 | +#### Congratulations |
| 37 | + |
| 38 | +--- |
| 39 | + |
| 40 | +## Verify Java and JShell Installation |
| 41 | + |
| 42 | +#### Launch Terminal or Command Prompt |
| 43 | + |
| 44 | +--- |
| 45 | + |
| 46 | +--- |
| 47 | +##### Detailed Instructions |
| 48 | +1. If you are on Windows : Open the Command Prompt window by |
| 49 | + * Click the Start button |
| 50 | + * Select All Programs -> Accessories > Command Prompt. |
| 51 | + * Or use Ctrl + Esc, and type in cmd and launch up command. |
| 52 | +2. If you are on Mac or other OS, launch up Terminal. |
| 53 | + * cmd + space -> Type terminal -> Press enter |
| 54 | + |
| 55 | +#### Java Version Successful |
| 56 | + |
| 57 | +--- |
| 58 | + |
| 59 | +--- |
| 60 | +#### JShell Version Successful |
| 61 | + |
| 62 | +--- |
| 63 | + |
| 64 | +--- |
| 65 | +#### Launching JShell |
| 66 | + |
| 67 | +--- |
| 68 | + |
| 69 | +--- |
| 70 | +#### Error In Launching JShell |
| 71 | + |
| 72 | +--- |
| 73 | +> If you are in windows, ```java -version``` is working and ```jshell -version``` is not working, directly jump to the section ```Setting PATH environment variable in Windows``` |
| 74 | +
|
| 75 | +### Troubleshooting |
| 76 | +1. Check if there are any pre-existing Java installs. Uninstall them and reinstall again. |
| 77 | +2. Temporarily turn off firewalls and antivirus software. |
| 78 | +3. If you get file corrupt message, download the installation file again. |
| 79 | +4. Check if you are on 32-bit OS or 64-bit OS. Remember, Java 9 is not supported on 32 bit windows. |
| 80 | +5. Check if you need PATH variable to point to right Java Version - https://www.java.com/en/download/help/path.xml |
| 81 | + |
| 82 | +### More Help |
| 83 | +- Windows - https://docs.oracle.com/javase/9/install/installation-jdk-and-jre-microsoft-windows-platforms.htm |
| 84 | +- Mac - https://docs.oracle.com/javase/9/install/installation-jdk-and-jre-macos.htm#JSJIG-GUID-2FE451B0-9572-4E38-A1A5-568B77B146DE |
| 85 | +- Linux - https://docs.oracle.com/javase/9/install/installation-jdk-and-jre-linux-platforms.htm#JSJIG-GUID-737A84E4-2EFF-4D38-8E60-3E29D1B884B8 |
| 86 | + |
| 87 | + |
| 88 | +## Setting PATH environment variable in Windows |
| 89 | + |
| 90 | +#### Goal - What we want to do? |
| 91 | + |
| 92 | +--- |
| 93 | +#### More Help |
| 94 | +- https://www.java.com/en/download/help/path.xml |
| 95 | +- https://www.computerhope.com/issues/ch000549.htm |
| 96 | +--- |
| 97 | + |
| 98 | +#### Browsing to Java Folder |
| 99 | + |
| 100 | +--- |
| 101 | +#### Browsing to JDK Bin Folder |
| 102 | + |
| 103 | +--- |
| 104 | +#### Launch Environment Variables |
| 105 | +Two Options |
| 106 | +- Short Route - ```Click``` Start Button or ```Ctrl + Esc``` to launch start menu and type in ```Env```. Choose ```Edit System Environment Variables```. |
| 107 | +- Long Route - Select ```Control Panel``` and then ```System```. Click ```Advanced``` and then ```Environment Variables```. |
| 108 | + |
| 109 | +--- |
| 110 | + |
| 111 | +--- |
| 112 | +#### Select and Edit Path Variable |
| 113 | + |
| 114 | +--- |
| 115 | + |
| 116 | +--- |
| 117 | +#### Add JDK Bin Folder To Path |
| 118 | + |
| 119 | +--- |
| 120 | + |
| 121 | +--- |
| 122 | + |
| 123 | +--- |
| 124 | + |
| 125 | +--- |
| 126 | + |
| 127 | +## Installing Eclipse |
| 128 | + |
| 129 | +Eclipse is the most popular open source Java IDE. |
| 130 | + |
| 131 | +Choose the latest available version of Eclipse - Eclipse Oxygen (4.7) or Later. |
| 132 | + |
| 133 | +> Tip : Do not use an old eclipse version! |
| 134 | +
|
| 135 | +### Prerequisites |
| 136 | +- Java JDK 9 |
| 137 | + |
| 138 | +### Installation |
| 139 | + |
| 140 | +1. Search google for “download eclipse” and choose the first result. The direct link is http://www.eclipse.org/downloads/eclipse-packages/. |
| 141 | + |
| 142 | + |
| 143 | +2. Choose the right Operation System. |
| 144 | + |
| 145 | + |
| 146 | +3. We recommend to choose “Eclipse IDE for Java EE Developers”. Choose 32 bit or 64 bit based on your operating system. (Right-click My Computer, and then click Properties. If "x64 Edition" is listed under System, your processor is capable of running a 64-bit version of Windows.) |
| 147 | + |
| 148 | +4. Wait for the download to complete. Extract the zip file to a folder (Example : c:\eclipse). |
| 149 | +5. When you unzip Eclipse, the directory layout looks something like this: |
| 150 | + |
| 151 | +``` |
| 152 | + eclipse/ |
| 153 | + features/ ''the directory containing Eclipse features'' |
| 154 | + plugins/ ''the directory containing Eclipse plugins'' |
| 155 | + eclipse.exe ''platform executable'' |
| 156 | + eclipse.ini |
| 157 | + eclipsec.exe ''(windows only) console executable'' |
| 158 | + epl-v10.html ''the EPL license'' |
| 159 | + jre/ ''the JRE to run Eclipse with'' |
| 160 | + notice.html |
| 161 | + readme |
| 162 | +``` |
| 163 | +6. You can start Eclipse by running eclipse.exe on Windows or eclipse on other platforms. This small launcher essentially finds and loads the JVM. On Windows, the eclipsec.exe console executable can be used for improved command line behavior. |
| 164 | + |
| 165 | +> More Details - https://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F |
| 166 | +
|
| 167 | +### Troubleshooting |
| 168 | +- Use 7Zip instead of windows built-in decompression utility. |
| 169 | +- Unzip to root folder (e.g. c:\) compared to a long directory path (e.g. c:\Program Files\Eclipse). |
| 170 | +- Reference - https://wiki.eclipse.org/Eclipse/Installation#Troubleshooting |
0 commit comments