Results 1 to 10 of 10
- 01-19-2010, 02:45 AM #1
Member
- Join Date
- Jan 2010
- Posts
- 1
- Rep Power
- 0
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
- 01-19-2010, 06:23 AM #2
There supposed to be a space in the file name? Remove it.javac: file not found: C:\Program Files\Xinox Software\JCreatorV3LE\MyProjects\SumOfFloats\src\S cannerTest.java
- 02-02-2010, 02:13 PM #3
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. :)
- 02-02-2010, 04:41 PM #4
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
- 02-02-2010, 04:50 PM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 02-02-2010, 04:54 PM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 02-02-2010, 05:22 PM #7
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.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
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. :)
- 02-02-2010, 05:58 PM #8
Sorry, yes, that was an advicy post - I was thinking that it might 'bypass' the actual problem you were having.
- 02-02-2010, 06:03 PM #9
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:
- 02-02-2010, 06:35 PM #10
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
-
Struts - org.apache.jasper.JasperException: File "/WEB-INF/fmt.tld" not found
By pcassiano in forum Web FrameworksReplies: 2Last Post: 01-05-2010, 05:41 AM -
problem with argument list and precedence "(" and ")"
By helpisontheway in forum Advanced JavaReplies: 6Last Post: 12-24-2009, 07:50 AM -
How can I prevent "found void but expected java.lang.String" ?
By trueblue in forum New To JavaReplies: 3Last Post: 05-21-2009, 03:48 PM -
"source not found" at debug time when creating new class
By rafamd11 in forum New To JavaReplies: 0Last Post: 11-22-2008, 01:49 AM -
the dollar sign "$", prints like any other normal char in java like "a" or "*" ?
By lse123 in forum New To JavaReplies: 1Last Post: 10-20-2008, 07:35 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks