Mailing Lists: Apple Mailing Lists

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

QTJava and QT7



I am using QTJ in my multimedia application and it is working with QT6.
When QT7 for windows was released i installed it and i am now getting the following error message:


This version of QTJava has expired
Exception in thread "main" java.lang.ExceptionInInitializerError
       at com.a.b.myMain.<init>(myMain.java:56)
       at com.a.b.myMain.main(myMain.java:294)
Caused by: java.lang.SecurityException: QTJava has expired.
       at quicktime.util.QTBuild.isValid(QTBuild.java:72)
       at quicktime.QTSession.<clinit>(QTSession.java:73)
       ... 2 more

I have installed the standalone version of QT7.

When i decompiled the code of QTBuild.isValid() i found:
public static final void isValid()
{
if("g".equals("a"))
return;
Calendar expires = Calendar.getInstance();
expires.set(2005, 9, 15);
if(!QTSession.isCurrentOS(4) && Calendar.getInstance().after(expires))
{
System.err.println("This version of QTJava has expired");
throw new SecurityException("QTJava has expired.");
} else
{
return;
}
}


Do i somehow have a testing version that ends 15/9/05?
What is the problem?

Thanks,
Roy

_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden

This email sent to email@hidden


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.