Results 1 to 10 of 10
  1. #1
    Faruq is offline Member
    Join Date
    Jan 2010
    Posts
    1
    Rep Power
    0

    Default compilation problem "javac:file not found..."

    Thank u all,
    i used to compile and run programs successfully, both in command prompt and Jcreator, but from yesterday,each time i compile a program the following appears in either of the two (command prompt and jcreator):
    --------------------Configuration: SumOfFloats - JDK version 1.6.0_17 <Default> - <Default>--------------------
    javac: file not found: C:\Program Files\Xinox Software\JCreatorV3LE\MyProjects\SumOfFloats\src\S cannerTest.java
    Usage: javac <options> <source files>
    use -help for a list of possible options

    Process completed.
    --------------------------------------------------------------
    what seems to be the problem please? thanks

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

    Default

    javac: file not found: C:\Program Files\Xinox Software\JCreatorV3LE\MyProjects\SumOfFloats\src\S cannerTest.java
    There supposed to be a space in the file name? Remove it.

  3. #3
    btcomp's Avatar
    btcomp is offline Member
    Join Date
    Feb 2010
    Posts
    4
    Rep Power
    0

    Smile

    I have the same problem as Faruq, trying to follow a tutorial in Java for Dummies by Barry Burd. I installed the version 3 LE in JCreator and got the

    << javac: file not found: C:\Program Files\Xinox Software\JCreatorV3LE\MyProjects\ >>

    I therefore installed Version 4.5 since I have Vista Home Premium 64 Bit processor, as I was told to install this version for Vista. But still the same error.

    This involved trying to compile and build a workspace chapter from the book files.

    Note: I was able to build and run a .java file, the files that don't compile are the .jcw files.

    I have looked at the configuration options but don't see what is causing this.

    My files are stored in subdirectories of the C:\Program Files (x86) directory.

    It is as if the JCreator has a hard-coded path!

    Thank you Faruq for having this problem so recently, as I have discovered a great forum resource, though I am sorry for your dilemma also.

    I suppose I could try to get familar with NetBeans and I want to, but I am now getting used to Java after having been programming in other languages, which have included Microsofts VB .Net, also vB6 and more recently C#, plus I have been a programmer of other languages in the past. :)

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

    Default

    You probably don't want to hear this, but no-one I know uses JCreator. Netbeans/eclipse really are the way to go - and if you want to make the whole "But I need to learn java from scratch without a program making it easy for me" argument, then need I say more than "VIM + JAVAC"? Good luck! I hope you get it working :D

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by quad64bit View Post
    There supposed to be a space in the file name? Remove it.
    Yep, is that the file name is S cannerTest.java or ScannerTest.java. Note that there is a space after the letter 'S'

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by btcomp View Post
    I suppose I could try to get familar with NetBeans and I want to, but I am now getting used to Java after having been programming in other languages, which have included Microsofts VB .Net, also vB6 and more recently C#, plus I have been a programmer of other languages in the past. :)
    Seems it's not a difficult to lean Java, since you've programming background in different languages. Actually learning many languages is not an easy task, the best way is to learn the concepts, like OO, etc, etc....

  7. #7
    btcomp's Avatar
    btcomp is offline Member
    Join Date
    Feb 2010
    Posts
    4
    Rep Power
    0

    Default

    You probably don't want to hear this, but no-one I know uses JCreator. Netbeans/eclipse really are the way to go - and if you want to make the whole "But I need to learn java from scratch without a program making it easy for me" argument, then need I say more than "VIM + JAVAC"? Good luck! I hope you get it working
    Actually this is the author's way of doing it, and I guess I will be in the only member club doing this. I guess I could say you are right, I like innovation, I learn well and I learn fast.

    I don't understand what you said, all I wanted was help for my problem, but I guess you are into giving advice rather than help on this.

    Thank you anyway. :)

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

    Default

    Sorry, yes, that was an advicy post - I was thinking that it might 'bypass' the actual problem you were having.

  9. #9
    btcomp's Avatar
    btcomp is offline Member
    Join Date
    Feb 2010
    Posts
    4
    Rep Power
    0

    Default

    Faruq,

    I figured it out. And thanks Eranga. Yes I have been a programmer, using a BBX VPRO/5 Business Basic, which is now integrated, if you want it to, with BBj, a JAVA counterpart, a vary powerful combination, at least Citibank thinks so.

    Anyway, Faruq, I got JCreater to work, and though I am learning NetBeans, it is easier for me to learn the Java concepts, beyond the DOS command line first.

    I don't know if you are using Vista, I am, 64 bit, and I found that I have to run JCreator as administrator for the Workspace problems. So the problem is solved. Boy Vista is tough, but I do like the memory that the computer has.

    Anyway all a great day, I'll be back and hi Quad64Biit:cool:

  10. #10
    btcomp's Avatar
    btcomp is offline Member
    Join Date
    Feb 2010
    Posts
    4
    Rep Power
    0

    Default

    No problem. The examples in the book really do make more sense in JCreator and he even says that it isn't the platform to stay with, that is why I am going to make an effort to learn the Netbean IDE. There is one in the BBX-BBj platform that can be used.

    My first trouble with Netbean at the moment is all the directory folders and files showing up. I'm not sure which project I'm working on when I use it, so I guess I will shortly be ready for a tutorial on the IDE and getting used to it, like I am with the .Net IDE.:)

Similar Threads

  1. Replies: 2
    Last Post: 01-05-2010, 06:41 AM
  2. problem with argument list and precedence "(" and ")"
    By helpisontheway in forum Advanced Java
    Replies: 6
    Last Post: 12-24-2009, 08:50 AM
  3. Replies: 3
    Last Post: 05-21-2009, 04:48 PM
  4. Replies: 0
    Last Post: 11-22-2008, 02:49 AM
  5. Replies: 1
    Last Post: 10-20-2008, 08:35 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
  •