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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Warning during compil.: "QTJava.zip: no such file"" Watch "Warning during compil.: "QTJava.zip: no such file"" New topic

Warning during compil.: "QTJava.zip: 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/BeerSelect.java

warning: [path] bad path element "C:\Program Files\Java\jre1.6.0_01\lib\ext\QTJava.zip": 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 QTJava.zip 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 QTJava.zip 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 QTJava.zip?

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.
I agree. Here's the link: http://aspose.com/file-tools
subject: Warning during compil.: "QTJava.zip: no such file"