This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Warning during compil.: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Warning during compil.: " no such file"" Watch "Warning during compil.: " no such file"" New topic

Warning during compil.: " no such file"

Patrick Smith
Ranch Hand

Joined: Oct 08, 2007
Posts: 35
i have just implemented the latest version of JDK (6.0.4). When i compile a simple Java code, with the option "-Xlint", the compiler puts out the following warning:

C:\WebAppsDev\beerV1>javac -Xlint -d classes src/com/example/web/

warning: [path] bad path element "C:\Program Files\Java\jre1.6.0_01\lib\ext\": no such file or directory

Can somebody tell me what this means? When googeling i found that QT is linked to QuickTime. I have that indeed on my PC but why is it involved when i launch javac??? By the way, this directory path does not exist as i have 6.0.4 running and the file does not exist anywhere on my machine.
Olivier Legat
Ranch Hand

Joined: Nov 17, 2007
Posts: 176

I don't quite understand what all this is about but out of logic I would try downloading this thingy. It's clearly the fact that it's not there that bothers the complier so much. Have to tried looking for and downloading this

Patrick Smith
Ranch Hand

Joined: Oct 08, 2007
Posts: 35
i've reinstalled QuickTime and the warning is gone. No idea why.
The reason i posted this issue is because i have a more severe problem that i'll open in another topic.
Thanks for the feedback, Patrick.
Consider Paul's rocket mass heater.
subject: Warning during compil.: " no such file"
It's not a secret anymore!