PDA

View Full Version : beginner in programming question



heyyy
July 8th, 2009, 06:31 PM
i have a book-manual for java 2
is says it's the 3rd edition,covers the sdk 1.4 and published in 2003.
my question is should i try to learn java from this book or i need to get another book which refers to a more advanced version?
the reason im asking this is i tried to complile some code examples written in the book(with geany) but "nothing" happened.
as far as it concerns the code i checked a lot of times

cmay
July 8th, 2009, 07:58 PM
http://ubuntuforums.org/showthread.php?t=713622
i have linked to the FAQ in the programming talk section which i recommend that you read first before asking there.

good luck(i dont know java so i cant help)

heyyy
July 9th, 2009, 05:32 PM
http://ubuntuforums.org/showthread.php?t=713622
i have linked to the FAQ in the programming talk section which i recommend that you read first before asking there.

good luck(i dont know java so i cant help)

thnx but my question is very specific so if anyone can point me to the right direction it would great help

Eisenwinter
July 9th, 2009, 05:46 PM
I don't think you should learn from a book at all, it will just slow you down.

Learning as you go is the best way in programming, imo, and it will get you the best results in the fastest way.

rocketflame
July 9th, 2009, 06:47 PM
1.4 is old, try finding a newer one. and the book doesn't happen to use a windows IDE called "ready to program java" by holtsoft does it? because it is garbage. Avoid like the plague. try eclipse, or a good ol' text editor.

good luck :)

mr.propre
July 9th, 2009, 07:03 PM
I don't think you should learn from a book at all, it will just slow you down.

Learning as you go is the best way in programming, imo, and it will get you the best results in the fastest way.

I disagree, when you learn without a book it's possible to learn bad programming. Programming is much more typing commands, compile and run.

shadylookin
July 9th, 2009, 09:19 PM
I would get a newer book. Make sure you get sun's jdk or the openjdk because gcj is bad.

cmay
July 9th, 2009, 10:15 PM
http://ubuntuforums.org/showthread.php?t=713622
i have linked to the FAQ in the programming talk section which i recommend that you read first before asking there.

good luck(i dont know java so i cant help)

i just followed the install instructions here from the link i gave first and compiled and ran the hello java program. i am using geany for all things i use text editor for and it works fine here.

i recommend also you get the sun java and follow the java tutorials on suns own site.
link: The Java™ Tutorials (http://java.sun.com/docs/books/tutorial/)

if for some reason it still does not work then try post in the programming talk section.
sure they will help with getting you started :)

heyyy
July 10th, 2009, 03:54 PM
after a small research i came up with "netbeans" and "eclipse".
which one should i start with?

cmay
July 10th, 2009, 09:28 PM
netbeans is good. ask around in the programming talk section if yo get stuck . ( i use netbeans on open solaris but for c programming)

doas777
July 10th, 2009, 09:31 PM
start with java5 or higher. most of the big changes in the last few versions (that students would notice anyway) are between 1.4 and 1.5. you can use a 1.5 book with a 1.6/7 JRE.

good luck