Kamis, 27 April 2017

Web Development Environment Windows


[music] welcome, to dr. piercy's downloading and installing eclipse. ths video was made under a creative commons, attribution, non-commercial license. in this video: you're going to learn what eclipse is and what it can be used for. you'll see how to download and install eclipse. and, we'll take a brief look at eclipse to see that it is working on your computer. so, you may be asking: "what is eclipse?" eclipse is a development environment.

a software application with lots of tools that you can use to create stuff. eclipse is integrated. this means that all tools provided by eclipse are collected in one software package that works together. you can also think of integrated as meaning that the diverse components that you create are integrated to perform a complete package. so, finally eclipse is known as an integrated development environment.

or ide. to find eclipse, simply search for eclipse.org in the google search page. typically, the latest version of eclipse will be the first entry in the search results. here we see mars eclipse. go ahead and click on mars eclipse. and it should take you to the eclipse project homepage at eclipse.org. this site has everything that you need for eclipse for our purposes, click on the

large download button that you see in the upper right corner of the page. this should take you to the download page. a number of different eclipse packages are listed here. the one we would like is called eclipse ide for java ee developers. this one will allow us to build networked web applications. so, let's click on that one. this page provides a description of the package for eclipse ide for java ee developers. take a moment to look through that page once you are there.

note, in the upper right corner there are a list of download links for various types of operating systems. from this point be sure to choose your operating system. i'm working on a mac. so, i'm going to choose mac os x download link. this will take us to the eclipse download page. you can select various sites. there's a primary download indicated by the orange button, but some of the others are faster. i'm going to select the ibm download site to get a faster download. here i see a new page with some options

i'm simply going to select the "download eclipse ide for java developers" the mac coco option. this will start to download. once you click the download link you can select the location on your hard drive where you want your installation file to be stored. i created an eclipse folder earlier so that i would have a place to put this install file. i'll break here until my download is complete. my installation is complete. note that my file tar.gz

this is a common compression type for mac downloads. i'm going to click on the button in my browser. this decompress the file and then show it to me in a finder window. we now see the eclipse application and the downloaded tar file. i don't need the tar file anymore since i decompressed it, but i like to keep it until after i've tested the application. the actual application is listed as eclipse.app with an eclipse icon. typically, you'll need another component,

namely the java jdk, for eclipse to run. starting again from the main download page, let's find the link shown as "install guide." click on that. this will take you to a page where you can find other information about eclipse and its installation. what i would like to show you had to do with installing the jre/jdk sources. note that there are three possibilities here. i'm going to select oracle jdk, just to get it from the source.

i open that in a new tab. here, i'll click on "java platform jdk" to get the program i need. in the list, i can see that they have a version of this for mac os x. first, i need to accept the license agreement. once, i've accepted the license agreement, i can click on the jdk version that i need for my mac. be sure to adjust to your operating system. i'm going to store the jdk dmg file in a special folder i created on my hard drive called "java."

here, you can see that the file has been downloaded. i double-click the dmg file to run the install package. from the install package, i follow the directions and double-click the icon to install my jdk. at this point, i have the jdk installed. plus, i also have the eclipse app ready to use. let's double-click the eclipse app just to test that my installation seems to be working. this is a good sign, i see the eclipse splash screen. eclipse loads.

and, here i see the eclipse ide everything looks good, so far. let's create a very quick "hello, world" java application just to see that eclipse is working and that it's connecting to the jdk. click on file|new|java project. here, we'll see a dialog box. we'll learn more about those in later videos. for now, just type in a name into the project name field. i'm going to call it "testing123." then, i'll hit finish. here, i see that a project has been created.

if i expand it, i see a src folder and i see the jave jre files attached to this project. i'm going to right-click on the "src" source folder and select new. at this point, i'm going to pick "class" to create a java class. here, i see another dialog box. i'm going to set a few things on this one. i'll make sure that the option "public static void main(string[] args)" is selected so that i'll have a "main" method this class. i'm going to give the class the name "test." after that, i'll click "finish" and it will create a file. note, the file shows up in the project explorer window, under the source folder.

and, that a file is generated in the editor. this file includes the stub for the main() method. so, if i want to run this project, i can simply put some code in this main() method and run it to see if it works. let's just simply print out the phrase "hello, world!" to the eclipse console. to do this, i only need one line. i'll type "system.out.println()..." in parentheses, i'll provide the literal string "hello, world!"

i'll remember to add a semi-colon at the end of my statement. there are several ways that i can run this program, but, let me simply just right-click on the project name in the project explorer window select "run as..." java application after a moment, it runs. and, now in the console at the bottom of the ide i see the phrase "hello, world!" so, with this simple test, it looks like my eclipse and my java jdk installation are working.

check out other videos to see how to fully use eclipse. the primary reference for this video and the content found here is the eclipse foundation web site at eclipse.org. this is your go to source for all things concerning eclipse. if you want to know about eclipse, need some help, or just want to look at the eclipse documentation, then, this is where you should start. you can find information about java and the jdk at

the oracle technology network at the url shown here. this video was written, narrated and produced by dr. craig a. piercy under creative commons license. background music is "locally sourced" by jason farnham, from the youtube audio collection. this, has been a piercy production.

10+ Inspired Digital Work Desk Febuary 2014

Tidak ada komentar:

Posting Komentar