Results 1 to 15 of 15
  1. #1
    vince59 is offline Member
    Join Date
    Nov 2013
    Posts
    4
    Rep Power
    0

    Default don't know where to start...

    Hallo. I am completely new to java and to programming but started messing around with java tools and got a rough idea. My problem is I want to patch...a patch. I need to understand the architecture of java files and program in order to kow what and where I need to modify. Can you give me some hint?

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,453
    Blog Entries
    7
    Rep Power
    20

    Default Re: don't know where to start...

    Can you build a simple "hello world" class? With the tools you have now? (an editor, a compiler, or an entire IDE); if not, patching code is way above your head; learn to crawl before you attempt to walk. Struggling with simple code you wrote yourself pays off, although you might not realize it yourself now ...

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,900
    Rep Power
    5

    Default Re: don't know where to start...

    Quote Originally Posted by vince59 View Post
    Hallo. I am completely new to java and to programming but started messing around with java tools and got a rough idea. My problem is I want to patch...a patch. I need to understand the architecture of java files and program in order to kow what and where I need to modify. Can you give me some hint?
    Broken record mode on: read a beginner's book? Seems pretty obvious. You're not going to take any shortcuts here, if you have to do this you have to learn the basics. That is going to take some time and effort.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  4. #4
    vince59 is offline Member
    Join Date
    Nov 2013
    Posts
    4
    Rep Power
    0

    Default Re: don't know where to start...

    Quote Originally Posted by gimbal2 View Post
    Broken record mode on: read a beginner's book? Seems pretty obvious. You're not going to take any shortcuts here, if you have to do this you have to learn the basics. That is going to take some time and effort.
    Yes I am fully aware about your kind suggestions and this is my way ahead. Learn, understand then do it.
    I am already reading something but I feel a little bit disoriented because the large amount of information.
    I would accept any suggestions where to start studying.
    Beside this my intent is actually trying to get a shortcut with a kind of direct access from people that know more than me....let me make an example (maybe wrong) ...having an engine if you need to make a repair, let us say, on the carburetor you don't actually need to know all the other components...I hope I made myself clear.
    BTW I am willing to accept a simple book, thread to start from.

    Thanks

  5. #5
    vince59 is offline Member
    Join Date
    Nov 2013
    Posts
    4
    Rep Power
    0

    Default Re: don't know where to start...

    Quote Originally Posted by JosAH View Post
    Can you build a simple "hello world" class? With the tools you have now? (an editor, a compiler, or an entire IDE); if not, patching code is way above your head; learn to crawl before you attempt to walk. Struggling with simple code you wrote yourself pays off, although you might not realize it yourself now ...

    kind regards,

    Jos
    Hi Jos, I need a starting point for studying.

  6. #6
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,453
    Blog Entries
    7
    Rep Power
    20

    Default Re: don't know where to start...

    My suggestion is to start studying the Oracle (fka Sun) tutorials: The Java™ Tutorials and thoroughly work your way through at least the first tutorials. Best of luck.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  7. #7
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,900
    Rep Power
    5

    Default Re: don't know where to start...

    Quote Originally Posted by vince59 View Post
    I am already reading something but I feel a little bit disoriented because the large amount of information.
    That is very understandable. It took me several years, the help of a very close friend and learning how to program computer games (being a big fan of playing them) that finally got me going.

    I would accept any suggestions where to start studying.
    That's actually a difficult question to answer. I have been for some time trying to work that out myself in a blog I've been writing, but creating something structured and easy to follow is even harder than actually learning it all! My opinion on it is that you need to learn by doing something fun, which in my opinion is creating little games. Juniors that I train always get the assignment to do a text-only hangman game - I challenge you to do the same. You'll have huge gaps in your knowledge to fill before you will be able to do it, but at least you'll have something that you want to work towards and you can implement it in steps. As an example, you can just pick a single word that the player has to guess. Then later on, you can make it an array of words and make the application pick one at random. Then later on you can load a whole set of words from a file. But start simple, don't overload yourself right from the beginning.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  8. #8
    vince59 is offline Member
    Join Date
    Nov 2013
    Posts
    4
    Rep Power
    0

    Default Re: don't know where to start...

    Thanks for the suggestions. I will try to make it clear. I realized that - correct me if I am wrong and please esxcuse my bad wording - that java has a package approach a kind of container where everything is inside. methods, strings and so on. Is there any specific reading about this aspect?

  9. #9
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,900
    Rep Power
    5

    Default Re: don't know where to start...

    Yes - a beginner book on the Java language. Or the Java tutorial that Jos pointed you to. You are not going to do this without an insane amount of reading and study. To compare, when I was learning c++ I had one book (and no internet). I think I re-read that one book at least 20 times until it was all in my head. At the same time I was creating hundreds of little programs to experiment with it all.

    I had one huge benefit: I was doing it because I found it fun. You have to make it fun to, somehow.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  10. #10
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,453
    Blog Entries
    7
    Rep Power
    20

    Default Re: don't know where to start...

    I second Gimbal's reply: studying from a book or from the tutorials is the way to go; otherwise you end up with very fragmented knowledge that resembles no more than some voodoo tricks; reading doesn't cost you anything except time; when you're beyond the first hurdles (and feel free to ask concrete questions here) it starts to pay back. b.t.w. the tutorials clearly explain packages and the classes in them and why those packages even exist.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  11. #11
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,900
    Rep Power
    5

    Default Re: don't know where to start...

    Quote Originally Posted by JosAH View Post
    I second Gimbal's reply
    Hell has frozen over!
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  12. #12
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,453
    Blog Entries
    7
    Rep Power
    20

    Default Re: don't know where to start...

    Quote Originally Posted by gimbal2 View Post
    Hell has frozen over!
    Well, we agreed that I should write that nonsense for a couple of boxes of Grolsch beer (with the ceramic top!); I did my part of the deal ...

    kindest regards,

    Jos ;-)
    cenosillicaphobia: the fear for an empty beer glass

  13. #13
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,900
    Rep Power
    5

    Default Re: don't know where to start...

    And we're back to the beer. But this time it wasn't me!
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  14. #14
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,949
    Rep Power
    19

    Default Re: don't know where to start...

    Quote Originally Posted by gimbal2 View Post
    To compare, when I was learning c++ I had one book (and no internet).
    Same here...mine was Bjarne's book, with the annotations.
    That was a fun read...
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  15. #15
    natdizzle's Avatar
    natdizzle is offline Nathan Nelson
    Join Date
    Jan 2009
    Posts
    100
    Rep Power
    0

    Default Re: don't know where to start...

    you want to patch software? just edit it in your ide and make a new or export a new runnable jar and overwrite your file

Similar Threads

  1. How can I start?
    By Mehran in forum New To Java
    Replies: 1
    Last Post: 01-29-2012, 06:32 AM
  2. Need Help please don't know where to start.
    By JR2010 in forum New To Java
    Replies: 7
    Last Post: 04-06-2011, 11:30 PM
  3. Replies: 1
    Last Post: 01-18-2011, 06:27 PM
  4. Replies: 5
    Last Post: 03-20-2009, 10:04 PM
  5. How to start
    By sand.softnet1 in forum New To Java
    Replies: 5
    Last Post: 09-05-2008, 07:41 PM

Posting Permissions

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