Results 1 to 3 of 3
  1. #1
    silvia is offline Member
    Join Date
    Jul 2007
    Posts
    35
    Rep Power
    0

    Default Error :Invalid path, C:\Program Files\Java\j2re1.4.2_06\bin\javac.exe

    I get this error when I try to compile my java file.
    There is nothing in the file and I tried to compile it...
    And I get this when I select Build -> Compile File
    Error :
    Java Code:
     Invalid path, "C:\Program Files\Java\j2re1.4.2_06\bin\javac.exe" -classpath "C:" -d C: C:\ij.java"
    I installed java sdk into the default directory... example
    Java Code:
    "C:\Program Files\Java\j2re1.4.2_06"
    Also JCreator asks for the docs directory?
    Where is that or what do I need to download exactly?
    Thanks.

  2. #2
    Seemster is offline Member
    Join Date
    Jul 2007
    Posts
    55
    Rep Power
    0

    Default

    The classpath stuff should be inside the initial set of quotes.

  3. #3
    Swamipsn is offline Member
    Join Date
    Jul 2007
    Posts
    74
    Rep Power
    0

Similar Threads

  1. Replies: 3
    Last Post: 06-05-2010, 08:05 PM
  2. Replies: 3
    Last Post: 08-14-2009, 12:57 PM
  3. java.io.IOException: invalid header field
    By osval in forum Advanced Java
    Replies: 1
    Last Post: 08-06-2007, 11:09 PM
  4. error in Java files
    By ai_2007 in forum Advanced Java
    Replies: 1
    Last Post: 07-31-2007, 12:14 PM
  5. Error: invalid method declaration
    By silvia in forum New To Java
    Replies: 1
    Last Post: 07-27-2007, 12:10 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
  •