Jan30, 2016
Hi everyone,
Not sure if you know this, but computer programmers make a minimum of $40 an hour in the US. Now, programmers across the globe are catching up. But how can you take advantage of this global trend? In this article we will discuss how to get started with Java.
First, get yourself a "cheap" computer on Craigslist. By cheap, I mean low cost, high quality computer. Note, my audience is not people who live in the Hamptons, its intended for people who may live in "the Hood". I am now using a MacBook with the following specs:
Processor 2 GHz Intel Core 2 Duo
Memory 2 GB 667 MHz DDR2 SDRAM
Software Mac OS X Lion 10.7.5 (11G63)
Hard Disk: 80GB :-)
I know what you are thinking.. gasp, all you have is a 80GB hard drive? Well, consider that this group is intended for people going from EBT to Prosperity or "How to get rich even if you are poor.. at the moment". So, we will assume you have a very small budget and can only afford a used laptop that has a smallish hard drive. But no fear, with the Free Clouds out there today, you will pretty soon have as much as a Terabyte (TB) of space at your fingertips. So, don't worry about meager hardware.
I bought this MacBook3 (late 2007 model) from some guy near the USF Campus & we met at the local Walmart and he powered it up & showed this unit to me. Get what you need & if you can afford something better go for it. But, just to show you, you can get a good PC/Mac for very little.
I bought this MacBook3 (late 2007 model) from some guy near the USF Campus & we met at the local Walmart and he powered it up & showed this unit to me. Get what you need & if you can afford something better go for it. But, just to show you, you can get a good PC/Mac for very little.
Next, situate yourself at your favorite Cloud establishment. I choose Startbucks, which is amazing!
Courtesy: Learning programming using Java from your neighborhood Starbucks (Jan30, 2016)
Of course, you must be aware that Starbucks has Free Wifi, which gives you pretty much unlimited access the Cloud and such resources as only the Cloud can provide, all for about $2 per visit!
Authors note: Starbucks has teamed up with Google and in most places now, you will see your Wifi connection as Google Starbucks, which is powered by Aruba Networks, which I just found it is now owned by HP. Aruba Networks provides top notch WAN and wireless connectivity solutions, which might cost you a couple of hundred grand if you want to put it in your home. But you get this free along with your daily coffee! What a great place America is & you will leverage all of this..
See>> http://www.arubanetworks.com/
Next, fire up your laptop, connect to the Internet using the Free Wifi. If you have problems connecting to the Google Starbucks, call G-SB Help Desk for a quick fix: (855) 446-2374.
Anyway, lets move on.
Follow these simple steps:
1) Download the Java SDK or JDK from here:
Get this 1st option in the download page.
Java SE Development Kit 8u71
If you notice there are two, but older versions are more stable (generally), so choose this.
Go to MacOSX link and click the blue link (hyperlink) under download. If you use Windows, choose the appropriate link. If you don't know if you have 32 bit or 64 bit, etc, email me and I will be happy to walk you thru via email or phone if you like. After all, I enjoy helping people break out of poverty. (My email: ebt2pp@gmail.com, Cell: 727-280-7093)
The file is about 227MB, and at Google speeds, will take just about a minute to download.
Once its downloaded, double click the EXE run the program to install it.
2) Download the Eclipse IDE (Integrated Development Environment), which allow you to use the GUI on your laptop, rather than using the cumbersome CLI, Command Line Interface or Shell prompt (in Linux), etc. Now, that would be a pain to use, so use the IDE, just take it from me.
Get the Eclipse Installer here:
https://www.eclipse.org/downloads/
Download Eclipse IDE and run the Exe to install it. (PS: It may be called .dmg or similar)
Great! Now, you have the Java Environment installed on your PC/Laptop. Lets move on..
Locate the Eclipse IDE on your machine. You should know how to do this with Windows or the Mac. With the Mac use Finder if you need. With Windows, you should have a Desktop Icon.
Either way, double click on the Icon for Eclipse and get it started. You should see something like this.
Screeshot of Eclipse ID for JavaJDK
Courtesy: http://images.downloadastro.com/gallery/eclipse_ide_for_java_developers/install-eclipse-ide-for-java-developers-05.png
OK, lets write a very small program, except, we will use a different string than the customary "Hello World". We will call our program, "Hello Starbucks!", in appreciation for our local Starbucks.
Open up the IDE as shown above.
Next, click on File, New, Java Project.
Name your project as "Hello".
Click Save.
Next, right click the new Hello project.
Or, if you have an older Mac, like me, this may not work.
In that case, find the icon for New Java Class and click it. (It should be on the top tool bar).
Now, make sure you check the box that says,
Next, write your 1st line of Code.
Type the following exactly as shown below the line that says,
Public Class Main()
This is called a Line of Code, or LOC in the programming community.
So, once you have done this you should have your 1st Java program!
Check and see if you have this..
public class main {
Next, Run your Hello Starbucks program.
Go to the top menu and click, Run>>Run
Or, just click the little Green Arrow on the Tool Bar.
If all is correct, that is you have installed the JavaJDK and EclipseIDE and you have written (or copied the one liner code) correctly, you should see Hello Starbucks in the Console Window.
Console window (at the bottom of the IDE):
The file is about 227MB, and at Google speeds, will take just about a minute to download.
Once its downloaded, double click the EXE run the program to install it.
2) Download the Eclipse IDE (Integrated Development Environment), which allow you to use the GUI on your laptop, rather than using the cumbersome CLI, Command Line Interface or Shell prompt (in Linux), etc. Now, that would be a pain to use, so use the IDE, just take it from me.
Get the Eclipse Installer here:
https://www.eclipse.org/downloads/
Download Eclipse IDE and run the Exe to install it. (PS: It may be called .dmg or similar)
Great! Now, you have the Java Environment installed on your PC/Laptop. Lets move on..
Locate the Eclipse IDE on your machine. You should know how to do this with Windows or the Mac. With the Mac use Finder if you need. With Windows, you should have a Desktop Icon.
Either way, double click on the Icon for Eclipse and get it started. You should see something like this.
Screeshot of Eclipse ID for JavaJDK
Courtesy: http://images.downloadastro.com/gallery/eclipse_ide_for_java_developers/install-eclipse-ide-for-java-developers-05.png
OK, lets write a very small program, except, we will use a different string than the customary "Hello World". We will call our program, "Hello Starbucks!", in appreciation for our local Starbucks.
Open up the IDE as shown above.
Next, click on File, New, Java Project.
Name your project as "Hello".
Click Save.
Next, right click the new Hello project.
Or, if you have an older Mac, like me, this may not work.
In that case, find the icon for New Java Class and click it. (It should be on the top tool bar).
Now, make sure you check the box that says,
public static void main(String[] args)
We can deal with what this means in latter sessions.Next, write your 1st line of Code.
Type the following exactly as shown below the line that says,
Public Class Main()
public static void main(String[] args) {
System.out.println("Hello Starbucks!");
So, once you have done this you should have your 1st Java program!
Check and see if you have this..
public class main {
public static void main(String[] args) {
// Print Hello Starbucks instead of Hello World
System.out.println("Hello Starbucks!");
}
}
Next, Run your Hello Starbucks program.
Go to the top menu and click, Run>>Run
Or, just click the little Green Arrow on the Tool Bar.
If all is correct, that is you have installed the JavaJDK and EclipseIDE and you have written (or copied the one liner code) correctly, you should see Hello Starbucks in the Console Window.
Console window (at the bottom of the IDE):
Hello Starbucks!
Congratulations! You have written your first Java program!
Lets move on..

