Page 1 of 2 12 LastLast
Results 1 to 20 of 30
  1. #1
    Wataru is offline Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    0

    Default How Does One Get Started Learning Java?

    Hi, all.

    So I'm sick of making Hello World applications, but I have no clue where to begin doing anything else. I've read tutorials and kind of get the concept of Java (classes, objects, and the like), but I still can't DO anything with it.

    How am I to get started using Java like a felon? I have an idea for something (seemingly) simple to program...I just don't know where to begin.

  2. #2
    ichwar is offline Member
    Join Date
    Jul 2009
    Location
    Rolesville, North Carolina
    Posts
    16
    Rep Power
    0

    Default

    Get yourself an IDE. NetBeans is pretty good, and follow the tutorials that come with it. That will get you started. Also, using the auto complete feature in NetBeans allows you to go through all the functions and see what they do. That's how I got started.
    if (ichwar == offline) {
    System.out.println("ichwar is busy");}

  3. #3
    Wataru is offline Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    0

    Default

    Quote Originally Posted by ichwar View Post
    Get yourself an IDE. NetBeans is pretty good, and follow the tutorials that come with it. That will get you started. Also, using the auto complete feature in NetBeans allows you to go through all the functions and see what they do. That's how I got started.
    Oh, sweet! That sounds like it'd be very helpful, especially for my style of learning.
    Sadly, however, I just started installing Eclipse seconds before I saw your post. Is it just as good as NetBeans? Or would you recommend me uninstalling Eclipse and installing NetBeans?

    PS - What does IDE stand for? o.o?

  4. #4
    ichwar is offline Member
    Join Date
    Jul 2009
    Location
    Rolesville, North Carolina
    Posts
    16
    Rep Power
    0

    Default

    I've never used Eclipse so I don't whether it's better or worse than NetBeans. But I don't see any need to uninstall Eclipse. Just install NetBeans right along side it and try them both!

    IDE stands for Integrated Development Environment. :)
    if (ichwar == offline) {
    System.out.println("ichwar is busy");}

  5. #5
    tim's Avatar
    tim
    tim is offline Senior Member
    Join Date
    Dec 2007
    Posts
    435
    Rep Power
    8

    Default

    Hi Wataru!

    The best way to learn Java, in my opinion, is to work through a nice thick book on the topic. ;) Took me about a month or two. Of course, if you're in a hurry, rather use Java Tutorials. All you need is there. Or, here. ;)

    Good luck Wataru. :D
    Eyes dwelling into the past are blind to what lies in the future. Step carefully.

  6. #6
    Wataru is offline Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    0

    Default

    Quote Originally Posted by tim View Post
    Hi Wataru!

    The best way to learn Java, in my opinion, is to work through a nice thick book on the topic. ;) Took me about a month or two. Of course, if you're in a hurry, rather use Java Tutorials. All you need is there. Or, here. ;)

    Good luck Wataru. :D
    Are there any books you'd recommend?

  7. #7
    fxRichard is offline Member
    Join Date
    Dec 2008
    Posts
    64
    Rep Power
    0

    Default

    Keep Eclipse, personally I recommend it over Netbeans, it's far more versatile especially once you progress down your learning path :)

  8. #8
    Wataru is offline Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    0

    Default

    Quote Originally Posted by fxRichard View Post
    Keep Eclipse, personally I recommend it over Netbeans, it's far more versatile especially once you progress down your learning path :)
    Does Eclipse have any fancy pre-written Java programs to experiment from/learn with like NetBeans has? I mean, I could obviously just use the NetBeans ones, but I like having a wide variety. =3

    EDIT: Also, this is a little off-topic, I know, but how do you compile using Eclipse? Geany, the IDE I just kind of randomly chose, had a compile button right there at the top...but I don't see anything like that on either Eclipse nor NetBeans...
    Last edited by Wataru; 07-25-2009 at 07:31 AM.

  9. #9
    tim's Avatar
    tim
    tim is offline Senior Member
    Join Date
    Dec 2007
    Posts
    435
    Rep Power
    8

    Default

    Hey again Wataru! :D

    Quote Originally Posted by Wataru View Post
    Are there any books you'd recommend?
    I used Sams Teach Yourself Java 6 in 21 Days by Rogers Cadenhead and Laura Lemay. Best book on Java I have read so far. ;) A lot better than the stuff they gave us at university. How sad. :(

    Hope you'll enjoy it!
    Eyes dwelling into the past are blind to what lies in the future. Step carefully.

  10. #10
    Mr.Beans's Avatar
    Mr.Beans is offline Senior Member
    Join Date
    Apr 2009
    Location
    Virginia Beach, Virginia
    Posts
    149
    Rep Power
    0

    Default

    Though I haven't read the book, I would typically suggest to stay away from "learn <insert topic here> in <insert time here>" type books.

    You could check out the Java Trail and the Java API reference
    .

  11. #11
    rdtindsm is offline Member
    Join Date
    Feb 2009
    Posts
    92
    Rep Power
    0

    Default

    FREE Download eBooks Online eBooks Free download site PDF-CHM
    has free down loads of books including a Java section. Tend to be a bit advanced (focused on limited topics) but there are tutorials there including one or two of the learn in x days variety, or for dummies in case you're truly mentally challanged. They do have a book by Dietel; I have generally found Dietel books to be good, IMHO. They also have a book or two on eclipse.

  12. #12
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default

    Just my $.02 -- Eclipse is very nice, I used it for years, but NetBeans is the Bee's Knees these days. The built in GUI builder might have you get started making GUI apps quickly. Either IDE is good though -- but I'm in love with NetBeans 4.7. :D

  13. #13
    ngc0202 is offline Member
    Join Date
    Jul 2009
    Posts
    32
    Rep Power
    0

    Default

    I would highly reccomend Java For Dummies (4th Edition). That is how I started with Java. And for the IDE, I use NetBeans and before I used JCreator (free version) and from that switch, I think that NetBeans is about 42 times better.

  14. #14
    adz
    adz is offline Member
    Join Date
    Jul 2009
    Posts
    35
    Rep Power
    0

    Default

    Use a book. There is most likely no point using tutorials if you aren't understanding the fundamental basics of the language and it will most likely lead you to becoming a rather crap programmer in the sense that your knowledge will be limited and you wont know fully what you are doing. Its not necessarily about knowing how but also why and its implications. As for netbeans/eclipse, personal preference I guess; wont really make much difference. But yeah, buy a decent book off Amazon or something - they always have code examples you can go through, step by step and you can learn the core concepts etc at the same time.

  15. #15
    vogella is offline Member
    Join Date
    Aug 2009
    Location
    Heidelberg
    Posts
    47
    Rep Power
    0

    Default

    I believe it is also important that you set yourself a target; something you want to achieve via programming. It should be first something which does not require a UI but an be extended later with a UI.

  16. #16
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default

    Based on vogella's comment, it reminded me --

    In the courses I teach, we make a bunch of simple projects, maybe one of these ideas will excite you, some are more challenging than others:

    - Program to detect panlindromes
    - Program to print fibonacci sequence or n factorial (usually recursive)
    - Data converters: number -> binary, hex, octal and back again
    - Analysis of probability problems: coin flips, dice rolls, roulette wheel, etc...
    - Simple addressbook
    - Simple card game (war, goFish, blackjack)
    - Dvd library
    - Arbitrarily large number calculator (think 10^100 etc...)
    - Sudoku solver
    - Sudoku generator
    - Text based adventure game
    - Use graphs to find arbitrage situations in exchange rates

  17. #17
    vkorenev is offline Member
    Join Date
    Aug 2009
    Location
    Kharkov, Ukraine
    Posts
    29
    Rep Power
    0

    Default

    Is Java your first programming language? Or have you ever programmed using anything else?

  18. #18
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default

    Java is both my first and primary language of choice. I also do ObjC, Ruby, Php, ColdFusion, JavaScript, Bash, prolog and some lisp.

    Java has many features and restrictions that make it an easy language to learn.

  19. #19
    vkorenev is offline Member
    Join Date
    Aug 2009
    Location
    Kharkov, Ukraine
    Posts
    29
    Rep Power
    0

    Default

    Sorry, I wanted to ask the topic starter. :)

  20. #20
    balajimca is offline Member
    Join Date
    Aug 2009
    Posts
    4
    Rep Power
    0

    Default

    dnt use any kind of ide like netbeans,eclipse..just install jdk in your machine and start working...it would be easier to learn...the complete reference java is the best book that i ve seen....gud luck.....

Page 1 of 2 12 LastLast

Similar Threads

  1. Learning Java
    By Derkins in forum New To Java
    Replies: 3
    Last Post: 04-09-2009, 03:46 AM
  2. Learning Java
    By jjoshua2 in forum New To Java
    Replies: 2
    Last Post: 12-20-2008, 03:46 AM
  3. Interested in learning Java
    By amarelv in forum New To Java
    Replies: 9
    Last Post: 11-10-2008, 11:11 AM
  4. Just started with Java
    By javades in forum New To Java
    Replies: 2
    Last Post: 07-24-2008, 07:39 AM
  5. Just getting started with java
    By DuceDuceExplorer in forum Introductions
    Replies: 4
    Last Post: 06-29-2008, 07:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •