Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiler doesn't find QTJava.zip



On Sun, 23 Feb 2003 00:05:45 +0100, christoph pohl <email@hidden> wrote:

I'm very new to Java programming and especially to QTforJava. My first
problem is to compile any of the example files, I always get the error
message 'can't find quicktime package'. I can work around it when unzipping
the QTJava file and putting it in the same folder as the java file. The
default position in of the QTJava.zip in OS X is
system/library/java/extensions, right?

Right, but a better way to handle this problem is to explicitly put the zip file in your classpath when you compile:

javac -classpath /System/Library/Java/Extensions/QTJava.zip <paths-to-java-files-to-compile>

There's a developer Q&A about this, tailored to developers who use IDE's instead of the command-line:
http://developer.apple.com/qa/qa2001/qa1058.html

--Chris
_______________________________________________
quicktime-java mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-java
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.