Hello Everyone! Welcome to our first tutorial, in object oriented programming using the java language, in this delivery I'm going to show you step by step how to install java in your pc, as well as the tools we'll be using to develop our programs in a more "easy on the eye". Ok, now to our first topic, the JAVA SDK DOWNLOADING AND INSTALLING JAVA SDK (any version) Make sure to locate the latest version of the java software development kit (sdk), by the time I wrote this guide and the time you got here It may have changed but don't worry, the process is the same. You can either do it step by step or jump ahead and click into the links, it'll take you to the same place anyways - For platform select the one that applies to where you're programming (ex: windows, linux) if you don't select this one correctly then you won't be able to install the language. 5. Save It!
2. Now either select the download option at the very top or select "Java SE Development Kit (JDK)"
3. Now, what we've got here? Is asking us to prompt for a platform and language.
- Oh and one more thing! Don't forget to check the EULA (I agree thingy)
4. Download Time!
Ok so it allows us to either download with sun download manager or just by clicking on it, I'm going to select the simple brutal way of direct download, I suggest you too (I never used the other option, soooo :P)
All right you can either save or run it (sorry my image's in Spanish but that's for "save"). Let's save the setup, feel free to choose the location, you're not installing anything…YET
Ok, you got the setup! You're close you're close! Now all you have to do is double click the installer and go ahead with all the normal process such as when you install any other application, not a big deal.
IF YOU SEE AN ERROR MESSAGE saying "wrong machine" or something like that, is because you choose the WRONG installer, so I'm sorry but go back and make sure the OS version you downloaded matches the OS you run on your pc (check what's your operating system…em future link)
- Time to configure java compiler
Good so you downloaded and installed successfully (if not, what the hell are you doing reading here, go back now! Lol), next set is configuring a path for your compiler, don't worry nothing tricky but be cool when doing this, you SERIOUSLY don't want to delete an important path and get your pc screwed up. I'll give you the WARNING sign when time comes, for the time being…do like nike…"JUST DO IT"
- First we make a right click into "my pc" and then click on "properties"
- Good, now we click on "advanced system configuration"
- Now we click on "environment variables"
- Right, WARNING if you're not familiar with this screen, then don't modify the system variables, instead go to "user variables" and create a new one
The name of the variable should be "PATH" while the VALUE (pay close attention here!) should be the location of the bin folder located inside your java installation files. For instance:
C:\Ghost Software\Java\jdk1.6.0_02\bin;.;
Noticed the ";.;" at the end of the value? Ok it's imperative that you add this to the end of the variable value, otherwise you won't get anything to compile
Since this post is getting a bit bigger than expected check the verifying a neat installation post to verify everything's correctly installed and you're DONE! If the verification goes well, then you have correctly installed and configured java sdk in your computer.
Next time I come around I'll show you what IDE we'll be using and how to install it (you can jump ahead and do a little research on it… the name's JEDIT)
All right, see you around
0 comments:
Post a Comment