Thread: Outputting the compiler to a text file

Results 1 to 7 of 7
  1. #1 Outputting the compiler to a text file 
    Registered Member
    Join Date
    Apr 2009
    Posts
    12
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    I have 100 or more errors and I have no other way to go about doing things other than fixing them. Does anyone know how to log the compiler output to a file?
    Reply With Quote  
     

  2. #2  
    Registered Member .php's Avatar
    Join Date
    Mar 2010
    Posts
    546
    Thanks given
    24
    Thanks received
    36
    Rep Power
    17
    100 Errors.

    When you have a { (OPEN BRACKET)
    YOU HAVE TO END IT WITH A }

    now if you have somthing like this

    BLAH BLAH {
    ELSE BLAH BLAH {
    (you need.)
    }
    }
    or whatever.

    Hope i helped.
    Reply With Quote  
     

  3. #3  
    Member
    Join Date
    Sep 2009
    Posts
    75
    Thanks given
    2
    Thanks received
    3
    Rep Power
    0
    100 errors is actually just one error. you are either missing a closing brackets "}" somewhere. Scroll up to the first error and look at the java line. if you have notepad++, you won't run into this problem again. notepad++ is the ultimate tool you need.
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Oct 2009
    Posts
    438
    Thanks given
    29
    Thanks received
    108
    Rep Power
    0
    Add an extra bracket at the end of your class.
    Reply With Quote  
     

  5. #5  
    Respected Member


    Josh's Avatar
    Join Date
    Aug 2008
    Age
    27
    Posts
    2,863
    Thanks given
    6
    Thanks received
    1,342
    Rep Power
    5000
    Quote Originally Posted by Badger191 View Post
    Add an extra bracket at the end of your class.
    Sticking a bracket anywhere isn't going to fix the problem.
    Reply With Quote  
     

  6. Thankful user:


  7. #6  
    Registered Member
    Join Date
    Apr 2009
    Posts
    12
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    I obviously know that, I'm not retarded.

    The problem with that is I have over 9000 lines of code and looking through all of them to find the misplaced bracket would take so much time it's just easier to find the source of the error (not viewable in the compiler)..

    Fixed using eclipse, thanks for trying, gps.
    Reply With Quote  
     

  8. #7  
    ¯̿ ̿|̿ ̿ |̶ ̶ ̶ ̶| |̶͇̿ ̶͇̿ ͇̿ Haskelle

    Join Date
    Nov 2007
    Age
    26
    Posts
    1,228
    Thanks given
    329
    Thanks received
    517
    Rep Power
    1133
    javac *.class >> log.txt


    cheers
    Monads are just Monoids in the category of Endofunctors. What is the problem?
    Costate Comonad Coalgebra is equivalent of Java's member variable update technology for haskell. Problem?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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