Name: [011] John Montgomery
Member: 102 months
Authored: 21 videos
Description: I'm a C/C++, Java and Python programmer living in Hove, UK. ...

A first Java program in Eclipse [ID:024] (1/4)

in series: Using Eclipse for Java Programming

video tutorial by John Montgomery, added 03/07

(Showmedo is undergoing major changes. To report any problems viewing the videos please email us and include browser and OS specifics. Cheers - Kyran.)

In this ShowMeDo John demonstrates how to create a project in Eclipse, then write and run a simple "Hello World" application.

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

  • Video's rank shown in the most popular listing
  • Video plays: 42113 (since July 30th)
  • Plays in last week: 20
  • Published: Sometime before 1st March 2007 (in other words - we don't remember!)

Thank-yous, questions and comments

If this video tutorial was helpful please take some time to say thank-you to the authors for their hard work. Feel free to ask questions. Let the author know why their video tutorial was useful - what are you learning about? Did the video tutorial save you time? Would you like to see more?

You may also want to see our ShowMeDo Google Group to speak to our active users and authors.

Your email address will not be published.

Show some quick comments >>








All comments excluding tick-boxed quick-comments

262. Thomas Thompkins Sat, 16 Oct 2010 12:46

The video was short and to the point and I final figuted out tht Im only to edit the todo text in on the scripts right..... Im teaching myself.


thanx for presentation! It helps so much!


260. Prateek Fri, 15 Oct 2010 06:00

Thanks a lot ! I needed to learn eclipse and this helped me do exactly that :)


259. scorpozoid Fri, 15 Oct 2010 01:42

Gut!


i really like this.


257. Marcel S Tue, 12 Oct 2010 11:42

Nice video for the beginning ;-)


256. pangtee@gmail.com Tue, 12 Oct 2010 00:11

Good


255. sasanka Mon, 11 Oct 2010 22:57

nice video


Good simple intro. First I've read and now can get involved in eclipse. Thanks.


very good! -thanks!


252. John Rogers Mon, 06 Sep 2010 17:43

Very nice.

Thank you.

jr


i like very much.i appreciate your work


it helped me out i was stuck


249. Kenton Harbour Wed, 01 Sep 2010 04:50

I am an IT professional with many years of experience but I have never written a java program and I am now interested in doing so. Great little video!


248. Ashutosh Grewal Tue, 24 Aug 2010 20:40

Hey thanks! I have worked on Java before ( using javac and java commands in the terminal) but had never used Eclipse IDE before. Too many options sometimes scare you. :( Feel a lot more comfortable now. :)

Wish I used this IDE before. :(


Good short video..


this HELLO WORLD program helped me say Hello to Java for the first time thank you...

its a simple uncomplicated video.


good


244. Abhishek Fri, 13 Aug 2010 21:46

very useful video


243. Abhishek Fri, 13 Aug 2010 21:43

very useful video


Cool


241. Radoslav Wed, 11 Aug 2010 19:35

Very helpful lesson.


Thanks for your video!


hi john .

I just really want to say a thanks to u. the video u show me is really a great help for me as a novice programmer .

great job thanks a lot's . i just appreciate ur

work. please continue tis work god bless u


WOW thankyou for this


Very good.


236. vaishnavi Wed, 28 Jul 2010 11:02

very usefull video clip.


good


233. Matthew Tue, 27 Jul 2010 01:41

Thanks John.

Perfect!


thank you


excellent :)


Nice quick easy video. Well done =)


229. maricos Mon, 28 Jun 2010 05:52

every thing is good


nice little video


Very nice instructional video. Even with no Java experience, very easy to understand.

Thanks,

Gary


226. 67comet Fri, 11 Jun 2010 05:29

Very nicely done; could use a little more detail on the keyboard methods while typing code. I noticed your cursor jump to the semi-colon right after hitting the " in "Hello World").

Thank you much; I'm brushing up for my Java Programming II class and searching like mad to find good video tutorials.


225. Bill Schneider Mon, 07 Jun 2010 20:02

Great demo! - I'm new to Java and Eclipse and need to be pushed into the mechanics of connecting the dots for the first few steps.

Next I'll be looking to handle imports and the SWT...


Perfect!

Thanks John.

I've actually used Eclipse once before for Android development using the Google Plug-In but not for plain Java development from scratch.

Your demo just hit the spot for me.


223. Danielle Wed, 02 Jun 2010 15:54

Really nice work. Thanks.


222. Arturo A. Dela Cruz Mon, 31 May 2010 09:34

nice ... i learn i a lot


221. dem cristian Sun, 30 May 2010 00:32

Very good for Java beginners with Eclipse.Many authors indicate JCreator for beginning Java, but I think it's better to start with Eclipse.


Thank you.

Very simple and clear.

Good clear voice. Easy to understand.


219. yaswanth Wed, 26 May 2010 21:38

hello. . .this video is nice. . but the sound is not good. .if you take care about this sound . . it will rocks. .


Very well made and easy to follow videos.

Thanks John.


to the point...


very good

very clear

are you going to do one usinf JSF


215. Adriano Botteon Tue, 25 May 2010 02:15

well done, thanks


short description of overview would add greatly..package etc setting directories etc.


213. Ajay Singh Katiyar Mon, 24 May 2010 11:38

That's Good.

Your Video Tutorial helps me lot.

Thanx.


really helpful.


really helpful.


really helpful


209. khaleel Fri, 21 May 2010 05:32

hello sir, first time i am doing my first programme on eclipse ,i did all the steps correctly but when i click the button Run As then there is only one option is showing (i.e Run on server) and second option (java application) is not showing , this is my first time , please help me out , i want to be perfect on eclipse .

thnx and regards.


How do u run launch the app on a Eclipse 3.4 platform and thank u for showin me how to make it


207. teacher1st Tue, 18 May 2010 04:59

Thank you for the video.


nice video


205. PrfDeepti Tue, 11 May 2010 03:35

RAELLY IT WAS GOOD DEMO FOR BEGINER.


204. Jon Sourp Sat, 08 May 2010 14:40

This video was very helpful in learning how to start using Eclipse. Thanks.


Well done!


202. manjula Thu, 29 Apr 2010 00:28

hi..

its really very help full ..

thank u..


This tutorial was very informative.


200. Darusalam Tue, 27 Apr 2010 04:36

wonderful, I learn my first java very easily.... thaks...


199. Renee Sun Mon, 26 Apr 2010 22:37

great job!


198. Non.revealed Thu, 22 Apr 2010 13:12

Thank you very much for the tutorial.


Neat and simple. I love stuff like this. I noticed it was done on a Mac, which highlights how Eclipse is cross-platform. I don't know if there are any slight differences between Eclipse on Mac and Windows, but I would assume most people would be developing on Windows (or Linux) so if so it would be nice to highlight them.


Cool. Simple and to the point. Thank you!


Great job. Thanks for putting the time in to show me that. It is appreciated.


194. Sai Chaitanya Sun, 11 Apr 2010 11:07

thank u for giving this information....


193. nachiket Sat, 10 Apr 2010 22:29

i needed the videos for debugging and not just showing the execution of program.


192. Bhavin Vora Fri, 09 Apr 2010 08:06

Thanx!!!


Good job mate! Now I just need a good video on Swing.


Kool video for starters/beginers


good work.


THANKS! I haven't done programming in 10 years and just wanted to play around a bit. Your video took away the "scary" parts of eclipse and allowed me to get back in head-first!


187. M.Khlaif Fri, 26 Mar 2010 03:18

excelent


186. M.Khlaif Fri, 26 Mar 2010 03:15

excelent


185. shanmukharao Thu, 25 Mar 2010 00:19

superb


184. shanmukharao Thu, 25 Mar 2010 00:16

superb


183. Lynn Ranen Wed, 24 Mar 2010 12:05

Thanks for the quick tutorial !

Now - I need Hello World with maven :)


182. Khushboo Yadav Wed, 24 Mar 2010 09:47

Its tough to find small small stuff around Net. Thanks from all my heart to take out time and publish this stuff. This is great for quick start


thanks


180. mark pickup Sun, 21 Mar 2010 13:55

Very helpful as I am just picking it up and need the basics so that I can start to experiment on my own. Ta


it was 'fast' first step and helpful thanks


Hi, this video was perfect! Think I would mange to use Eclipse right away with what you showed !


177. Peter Jones Fri, 12 Mar 2010 14:31

Although this video shows how to build a single class, nothing is shown on how to use the IDE, to help the new java developer.


176. aravind reddy kaithy Fri, 05 Mar 2010 20:55

Good Hello World tutorial, thanks;


175. saravanan Thu, 04 Mar 2010 07:56

very useful for the video thankyou


was a little quick - did not explain what the jselibrary was for


I'm new to java so I work only with c++ then want to know java, actually I don't know this syntax he showed so I think it's good for people who know about java.Thanks.


gud work...


171. TOM Nesbit Sat, 13 Feb 2010 04:53

To the point very good.


Thanks, great help !!

Woo Hoo I wrote some Java


169. Jeetendra Mon, 08 Feb 2010 07:16

Very useful work for the beginner like me!!

Thanks a lot!!


This video was really helpful for me to just refresh my 2yr gap with using Eclipse..Thanks!!


Nice demonstration of 'Hello World' on Eclipse platform. Thanks!


thanks..id did help me :)


Nice tutorial. Gives a quick exposure. Really helpful. Saved my time.


this was a very good example video


Make some videos still depth of subject in Eclipseeee


great, simple, conscise


Fantastic , very good...


Thanks John.. very clear and quick introduction to Eclipse :)


159. James Coger Tue, 12 Jan 2010 17:27

This was very helpful for someone learning programming and learning eclipse


158. Stephen Sun, 10 Jan 2010 14:23

That was great! Thanks.


Fantastic. Just what i needed to kick-start my Java coding off again.


156. Rolf004 Sat, 09 Jan 2010 11:50

Thank you


155. Rolf004 Sat, 09 Jan 2010 11:00

Thank you


Was very helpful for me to start to understand Java


153. anonymous Sat, 02 Jan 2010 05:22

improve java


152. anonymous Tue, 22 Dec 2009 07:07

Exactly what an Eclipse beginner needs.


151. anonymous Tue, 22 Dec 2009 05:41

hi......sir


150. anonymous Mon, 21 Dec 2009 23:17

i am doing mca in 2nd year. i want to do the project. the project title of java editor using java platform. could you give me some idea.


149. anonymous Wed, 16 Dec 2009 19:23

awesome!Is it in linux environment?


148. anonymous Mon, 14 Dec 2009 09:56

Dear Sir / Maam

Please,

May I have this video. Beacause i use my first java program


147. anonymous Tue, 01 Dec 2009 17:20

Overall, very good video. My only suggestion would be to speak a little louder.


146. anonymous Mon, 30 Nov 2009 05:50

gr8


145. anonymous Sun, 15 Nov 2009 01:31

it looks goods


144. anonymous Thu, 12 Nov 2009 11:56

Execellent


143. anonymous Tue, 03 Nov 2009 11:19

Swift and fabulous.


142. anonymous Mon, 02 Nov 2009 18:27

I love this site, it's very useful for new learners like me. you're doing a great work, thanks a lot :)


141. anonymous Fri, 30 Oct 2009 18:05

great first look at eclipse


140. anonymous Thu, 29 Oct 2009 06:47

This was a real sweet way to teaching how to use eclipse to create a simple java program :)


139. anonymous Tue, 27 Oct 2009 22:12

this is very helpful to me....

thanks alot


138. anonymous Tue, 13 Oct 2009 12:41

It is really nice simple and clear


137. anonymous Tue, 13 Oct 2009 02:44

Thanks man, cheers, alans


136. anonymous Mon, 12 Oct 2009 23:41

for learning sake


135. anonymous Mon, 12 Oct 2009 23:40

for learning sake


134. anonymous Fri, 09 Oct 2009 17:58

Was a very good introductory tutorial


133. anonymous Thu, 08 Oct 2009 12:30

very help full me


132. anonymous Thu, 08 Oct 2009 08:55

veru useful... thanks a lot


131. anonymous Sun, 04 Oct 2009 17:12

good thanks


130. anonymous Fri, 02 Oct 2009 11:24

Very good intro. Thanks.


129. anonymous Thu, 01 Oct 2009 15:21

good presentation


128. anonymous Sun, 27 Sep 2009 22:22

Great Video...Thank You!


127. anonymous Mon, 21 Sep 2009 09:42

very good tutorial.


126. anonymous Mon, 21 Sep 2009 03:37

I think you can be a BIG help


125. anonymous Sun, 20 Sep 2009 19:09

Helpful - thank you.


124. anonymous Sun, 20 Sep 2009 14:04

very clear


123. anonymous Sun, 20 Sep 2009 10:28

Looks like using Eclipse to learn Java makes it really enjoyable and easy. keep up the good work!


122. anonymous Tue, 15 Sep 2009 09:36

Quite good for a beginner like me.


121. anonymous Wed, 09 Sep 2009 00:06

Clear and convincing, helps me through


120. anonymous Sun, 06 Sep 2009 09:18

nice demo


119. anonymous Sat, 05 Sep 2009 10:06

very good .... tanks for this


118. anonymous Fri, 04 Sep 2009 17:18

Nice quick start, thanks!


117. anonymous Tue, 01 Sep 2009 19:55

This was a very good intro to Java using Eclipse.


116. anonymous Sat, 29 Aug 2009 10:50

Thanks! I appreciate that short simple and easy help to help get me started in Eclipse. Awesome!


115. anonymous Sat, 29 Aug 2009 03:00

it is good


114. anonymous Mon, 24 Aug 2009 20:46

Great Video


113. anonymous Mon, 24 Aug 2009 13:49

Very nice. No BS. I like that.


112. anonymous Sat, 22 Aug 2009 13:29

Nicely spoken and explained, not dreary like some of the others.

Can you recommend a video series for my Freshman class? I have seen

http://eclipsetutorial.sourceforge.net/totalbeginner.html

http://jonah.cs.elon.edu/dpowell2/Courses/EclipseTutorial/EclipseTutorial.htm

They seem a bit overwhelming.

T H A N K S !


111. anonymous Thu, 20 Aug 2009 07:55

Its was a great big help. I had the eclipse based flex builder Ide. I had just downloaded java plug in. I had to do a big deal of research to do that. And then I was worried the the looks of the environment would be different. Now that I've seen this I'm relieved. I love the video tutorials. When you're learning something new its great to have things easy and laid out for you. otherwise its a put off. continue the good work, showmedo!


110. anonymous Thu, 20 Aug 2009 06:49

Really nice.


109. anonymous Mon, 17 Aug 2009 12:32

Muito bom.


108. anonymous Mon, 17 Aug 2009 12:26

Ok.


107. anonymous Mon, 17 Aug 2009 12:13

Ok.


106. anonymous Mon, 17 Aug 2009 09:43

Execellte


105. anonymous Mon, 17 Aug 2009 09:43

Execellte


104. anonymous Mon, 17 Aug 2009 09:43

Execellte


103. anonymous Sun, 16 Aug 2009 20:07

i´ve got some idea about the introduction


102. anonymous Wed, 12 Aug 2009 14:49

Thanks. That was helpful.


101. anonymous Wed, 12 Aug 2009 11:09

Well I've just started without the sound but it was straight forward thank you very much


100. anonymous Fri, 07 Aug 2009 01:11

requried a video tutorial


99. anonymous Wed, 05 Aug 2009 14:33

Small, nice and very informative video !!!


98. anonymous Sat, 01 Aug 2009 10:04

awesome,good and simple and nice.

Thanks!


97. anonymous Thu, 30 Jul 2009 14:46

thank you.


96. anonymous Wed, 29 Jul 2009 20:54

good. i'm new to java/eclipse and this is what I was looking for to get me started nice and easily


95. anonymous Wed, 29 Jul 2009 20:49

good. i'm new to java/eclipse and this is what I was looking for to get me started nice and easily


94. anonymous Wed, 29 Jul 2009 06:55

Nice work


93. anonymous Fri, 24 Jul 2009 15:10

Nicely done. Very smooth. I'm a PC guy - seeing the Mac Eclipse interface was interesting.


92. anonymous Thu, 23 Jul 2009 10:59

...


91. anonymous Thu, 23 Jul 2009 07:04

Excellent work Thanks for a lot. As iam beginner for Eclipse its very useful for me. Once again thanks a lot :)


90. anonymous Sun, 19 Jul 2009 14:14

THIS IS GREAT AND SIMPLE


89. anonymous Fri, 10 Jul 2009 14:16

Good for me to start Java Programming, thanks very much!


88. anonymous Thu, 09 Jul 2009 08:53

Video is good. However I suggest you not to record whole

keying of source code in the video presentation. Instead

you show after entering a full line.

Otherwise presentation is good.


87. anonymous Mon, 06 Jul 2009 15:53

Short, but good. Thanks.


86. anonymous Fri, 03 Jul 2009 11:29

Thanks, John


85. anonymous Thu, 02 Jul 2009 09:09

Nice job, John. Many thanks for your work.


84. anonymous Mon, 29 Jun 2009 12:55

Very clear example. I'm not new to programming but I am new to java and eclikpse. Thanks. Very helpful.


83. anonymous Wed, 24 Jun 2009 00:31

Great video, very simple and certainly gets us started on dealing with the eclipse UI, Thank you.


82. anonymous Tue, 23 Jun 2009 16:37

Brief and good. Keep up with good work. My suggestion for improvement would be make the video sharp - it was a bit fuzzy.


81. anonymous Tue, 23 Jun 2009 09:49

Thanks! My son just downloaded Eclipse and needed some help getting started. This is great!


80. anonymous Sat, 20 Jun 2009 16:20

Nice tut... really helpfull for beginners to start


79. anonymous Sat, 20 Jun 2009 01:56

gud


78. anonymous Sat, 20 Jun 2009 01:55

gud


77. anonymous Sat, 20 Jun 2009 01:55

gud


76. anonymous Wed, 17 Jun 2009 20:35

Your learning method is some new and very effective to reach the objectives!! Sorry for the bad english...

Keep going!!

Thanks!!

Lucas


75. anonymous Mon, 15 Jun 2009 05:34

i am a student i learn the how to create java program pls help.


74. anonymous Wed, 10 Jun 2009 09:52

Short, sweet and to the point! Just what I needed!!


73. anonymous Wed, 10 Jun 2009 08:37

Good


72. anonymous Mon, 08 Jun 2009 10:26

Helpful video training!


71. anonymous Sat, 06 Jun 2009 21:56

Nice and helpful


70. anonymous Fri, 05 Jun 2009 13:58

Nice simple video


69. anonymous Fri, 05 Jun 2009 01:35

interested


68. anonymous Fri, 05 Jun 2009 01:35

interested


67. anonymous Fri, 05 Jun 2009 01:30

I am interested to watch this video


66. anonymous Sat, 30 May 2009 11:26

We liked it! We were trying to use the menu that came with eclipse.

This is much better...


65. anonymous Tue, 26 May 2009 07:46

Good


64. anonymous Fri, 22 May 2009 20:47

sweet, thanks!


63. anonymous Thu, 21 May 2009 18:27

hi i a computer science student @ UL.I want to learn java

so i wanted to have java videos so taht it could be simple for

me learn and fast


62. anonymous Tue, 19 May 2009 19:07

Thanks


61. anonymous Wed, 13 May 2009 14:08

Thanks for the first java program in eclipse, quick and easy


60. anonymous Mon, 11 May 2009 09:05

Hi........

This mode of teaching is very helpfull for students .


59. anonymous Sun, 10 May 2009 06:35

great tutorial


58. anonymous Wed, 06 May 2009 14:03

good


Hi,

I am very new to Eclipse and Java. However, I woud like to have hands on exp. on Eclipse + JAVA technology. My focus is to develop AUTOSAR Configuration Tool based on Eclipse techology. I can explain the requirements and logic to make the tools if some one is interested to develop the tool.

Thanks & Regards

Hemal Bavishi


56. anonymous Sat, 02 May 2009 15:27

good video. helped me out for a class i'm taking


55. anonymous Fri, 24 Apr 2009 21:10

Great Video !!!


54. anonymous Tue, 21 Apr 2009 09:21

OK


52. anonymous Thu, 16 Apr 2009 18:06

Thanks for this interesting video, illustrating both Eclipse and Java development at the start-up level. A great problem with other instructional formats that i've seen is the lack of the very basic introductory material, that is presented here. A veteran programmer, with vast experience, is defeated before he even gets started -- without a basic starting point. No one seems to understand that anymore. The coding syntax, etc, is well understood by many without the implementation understanding needed to set up his development environment, including compilation from the editor (IDE), calling the debugger, etc. Thank you for avoiding that common trap. I wish your lesson could have lasted longer, containing more details. Thanks!


46. anonymous Tue, 07 Apr 2009 09:14

Great vid


44. anonymous Wed, 01 Apr 2009 02:09

Hi, nice video! Thanks!


40. anonymous Sun, 22 Mar 2009 09:04

Straight to the point. Useful first step.


39. anonymous Thu, 19 Mar 2009 23:42

good tutorial~


38. anonymous Thu, 19 Mar 2009 23:18

Your quick tip is really helpful for a newbie like me. Thanks so much for making that video.


37. anonymous Fri, 23 Jan 2009 08:56

I Please I want more this type of videos, thanks for this


36. anonymous Thu, 22 Jan 2009 13:21

Thanks and it was very informative and useful for beginner.


35. anonymous Fri, 02 Jan 2009 16:05

Excellent .. very helpful for a novice programmer.


34. anonymous Wed, 10 Dec 2008 18:31

Very useful and well-made. I've been documenting Eclipse on paper, but I see that screencasts are the way!


33. anonymous Thu, 27 Nov 2008 04:28

thank you


Thanks to build this site,iam very happy,because i can watch video java tutorial free..


Hi Anonymous,

to run the class with command line arguments (in eclipse) you'll want to use the "Run As Dialog". Basically this will give you a dialog where you can control things like command line parameters etc.

John


30. anonymous Mon, 03 Nov 2008 02:49

can you say me how to run a java class with command line argument?


29. anonymous Thu, 30 Oct 2008 07:12

Coming from an MS C# background, I understand a lot about programming and intuitively understand a lot about Java, but simple thing like starting the Eclipse and configuring it to get soem code running were not obvious to me.

Thanks for your help.


28. anonymous Sun, 12 Oct 2008 16:50

please i love the program and would love to know how to run an applet in eclipse.i would also want to know how to call up another programs by one another in eclipse.


thank you,

But if I have many classes ,How write them together on Eclipse.


it is not downloadable throught accelator


25. anonymous Wed, 16 Jul 2008 01:13

its very useful ...thanks


24. anonymous Wed, 16 Jul 2008 00:57

its very useful


23. anonymous Fri, 27 Jun 2008 16:42

Review of A first Java program in Eclipse

My first time watching a showMedo, and I liked it a lot! This one is definitely a great one for getting started!

Hopefully a community will start building around these tutorials, and then it would be great to see some more detailed explanations, like why the "public static void main(String[] args)" method is necessary - maybe not the best example, but the idea being to help users also understand how the language works, and not just what to type between which parentheses...

but I digress! Great video!


22. anonymous Fri, 06 Jun 2008 12:42

My first viewing on showmedo. Nice job.


21. anonymous Tue, 29 Jan 2008 16:17

Review of A first Java program in Eclipse

Good demo thanks for doing this.


20. anonymous Thu, 29 Nov 2007 04:18

You give me the simplest and fastest way to start java, so thank you very very much :)


19. anonymous Thu, 22 Nov 2007 01:09

Hello !

I am javed i want to download video by using crawler using eclipse so how i will download video please tell me

thanks,

m.javed


18. anonymous Mon, 05 Nov 2007 00:22

Great eclipse tips!!

I was having difficulty running programs, because I didn't know to run as "java application"

I did get your output

Thanks


17. anonymous Thu, 25 Oct 2007 00:20

Excellent and straight point vedio..


Wow great video, will be a great help for getting started in eclipse and it saves reading how to use them features and then having to try to use them. Visual demonstrations are best for ide.


Great introduktion, very structured and easy to follow.

// Anders


Very nice, I'm planning to learn Java and would love to see some more quality videos like this. Keep it up!


13. anonymous Fri, 04 May 2007 18:25

very good! very fluent voice (i've seen other boring videos in the net) and gets straight to the point.

Do you know if someone has done videos on java mobile? or are you planning something? ;)

Cheers

Sax


Now that is a follow-up and a half, John. Most cool!

Ian.


Hmmm. Still not quite there, so a bit more work needed...

Go to "Java Build Path" and then the "Libraries" tab. Click "Add Library..." and select "JRE System Library". Then remove the old library, which on my system had "(unbound)" next to it.

Then go to "Java Build Path" and the "Source" tab. Remove all of the source folder *except* for the one labelled "TIJ4". Then open up "TIJ4" and delete the "Excluded: polymorphism..." rule.

That should then set up the project for all of the standard J2SE stuff. You'll need to add in the extra libraries you need to the build path (e.g. for swt etc), but that should get you going a bit more.

cheers,

John


Right. Ok the short version:

Run "python Eclipse.py" (you'll need python installed to do this - see various videos on this site for that)

That should generate the right files (.project etc) to keep eclipse happy.

Then choose "File -> Import -> Existing projects into workspace" and then browse to the right folder and that should do the trick.

However there are still some errors remaining, as there appear to be some missing directories (cloning, discovering, flow, hiding and passing). The simplest fix is probably just to remove those from the build path. So right click on the project then choose "properties". Then select "Java build path" and choose the "Source" tab. Each missing directory should have "(missing)" next to it, so you can just remove each one and Eclipse should start building correctly.

Hope that helps,

John


Hi Steve,

Looking at the files there appears to be a file called "Eclipse.py" for making the project(s) usable with Eclipse - I presume the author has some notes somewhere about this?

Otherwise you can probably use do "File -> New Project -> Java Project From Existing Ant File" and selecting the appropriate "build.xml" file for each chapter. Though trying that doesn't seem to work...

Next up is trying "File -> New Project -> Java Project" then choosing "Create Project From Existing Source" and browsing to the relevant directory for the whole project. That seems to work ok, except that I get errors as "javassist" (a 3rd party library) is not installed, oh and actually that didn't work either...

Hang on a second...


8. anonymous Mon, 12 Mar 2007 23:38

Sorry here is the link

http://www.mindviewinc.com/TIJ4/CodeDownload.php

Thanks

Steve Lee


7. anonymous Mon, 12 Mar 2007 23:36

Hi John,

I like to know how to setup the following examples:

Thinking in Java 4th Edition Source Code

Instructions for downloading, installing and testing the source code

1. Download the source code zip file from this link.

How do you bring this book example into eclipse as a project and compile each sample?

Thanks

Steve Lee


5. anonymous Sun, 04 Mar 2007 16:55

that was great :) thanks


Well Ian and Kyran have kindly modified the text that used to say "a few of the authors faves", so I guess it's open to anyone. If you could recommend Head First Java, then that would be great. The reviews on Amazon generally seem good.

Perhaps contact Ian and Kyran with a short bit of text explaining why it's a good book?


I'm in complete agreement that O'Reilly books are generally very good. About 25 of their books are on my bookshelf, and I actually use at least 50% of them from time to time.

If you want to recommend an excellent O'Reilly beginner's book, what about Head First Java?


Yeah, it is a bit odd really, but it is still a recommendation. I am actually recommending O'Reilly books as a whole and "Learning Java" appears to be the most suitable title for this series (it's also been quite a while since I've used a beginners Java book). Although "Better, Lighter, Faster Java" is not exactly a book for beginning Java, it's quite a good read and not too intense. Good for getting a general idea of how to avoid some of the potential pitfalls from choosing Java over other languages.

On a side note I do use Eclipse at my day job and definitely recommend it.


Very nice little video. Thanks. The "RecoMmended by John Montgomery" box above is quite bizarre, recommding a book that you've never read! It substantially undermines your credibility -- like are you recommending Eclipse but don't actually use it in your own work?


Showmedo is a peer-produced video-tutorials and screencasts site for free and open-source software (FOSS)- with the exception of some club videos, the large majority are free to watch and download.

how to help » about » faq »

Educating the Open-source Community With Showmedo

Although as important as the software it supports, education and documentation are relatively neglected in the Open-source world. Coders love to code, and explaining how best to use or improve the software tends to be deferred or even sidelined.

At Showmedo we believe the community can play a vital role here and also say thanks for the tools and software that make our lives easier. If you have a piece of software you love or a programming langugage you are enthusiastic about, why not make a screencast showing others how to use it? All the stuff you wish you'd been told, the tips, tricks, insights that would have saved you time and frustration.

Screencasting is easier than you think, and we're happy to help you. You can emailus for advice or just use some of the how-to screencasts on the site. This screencasting learning-pathis a good place to start.

Kudos and Thanks for John

Content

Feedback

Showmedo's development is fairly rapid and bugs will inevitably creep in. If you have any problems please drop us a line using the contact address below. Likewise, any suggestions for improvements to the site are gratefully received.

feedback@showmedo.com