Netbeans Java TurboActivate.dat location

I am running Java App in Netbeans and I keep throwing this exception. Where do I want these files to be located in the development environment?

Mar 20, 2013 7:05:45 PM com.imecom.server.LicenseServer <init>SEVERE: nullcom.wyday.limelm.turboactivate.ProductDetailsException: The product details file "TurboActivate.dat" failed to load. It's either missing or corrupt. at com.wyday.limelm.turboactivate.TurboActivate.CheckAndSavePKey(TurboActivate.java:252) at com.wyday.limelm.turboactivate.TurboActivate.CheckAndSavePKey(TurboActivate.java:230)

As it says in the Using TurboActivate in Java article, the TurboActivate.dat file has to be in the TurboActivate folder next to your *.jar file. Or, if you're debugging your app, then it needs to be next to the compiled class files (in Netbeans that's the "YourJava App\build\classes\turboactivate").

I did read the docs and I actually put /TurboActivate/ it in both places you mentioned (in class directory and dist directory where jar is located), as well as in the project root directory. I matched case exactly as illustrated in "Using TurboActivate with Java" webpage.

an excerpt of my code looks like this:TurboActivate.VersionGUID = "78f176c.........."; // My GUIDtry{ // Activate boolean bValidKey = TurboActivate.CheckAndSavePKey("9CDR-QF............"); // Throws exception here TurboActivate.Activate();}catch(TurboActivateException ex){ Logger.getLogger(LicenseServer.class.getName()).log(Level.SEVERE, null, ex);}

Call "TurboActivate.SetPDetsLocation();" immediately after setting the VersionGUID.

Problem solved! Thanks