Results 1 to 2 of 2
  1. #1
    wntdaliv is offline Member
    Join Date
    Dec 2008
    Posts
    6
    Rep Power
    0

    Default Do I have to recompile everything?

    I just switched from the eclipse IDE to jEdit and the terminal to work on my program.

    Anyways, my question is: If I edit the one file (whatever.java) and I don't touch anything else, do I have to compile the other files?

    as in, if I go:

    javac Main.java
    javac seconddary.java
    etc...

    If I change the main, do I have to recompile secondary.java? and etc.

  2. #2
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default Pretty vague...

    That's a really dangerious question to answer. It depends on what you changed in the main class and how the secoundary class (or any other class) interacts with the main class.
    I also don't know the context... is this work related? School project related?

    Not really enough info to work with. To be on the safe side, it would probably be better to recompile the whole project.

    Luck,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

Posting Permissions

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