View Full Version : Creating demoInfo.java

04-11-2009, 08:51 AM
I have temporary vendor keys (no TRL keys) for the "demo" vendor. I am trying to generate demoInfo.java. I added the keys in lm_code.h, did not change anything else (let the LM_STRENGTH set to LM_STRENGTH_113BIT), generated lmpubkey.h, copied the required files to java directory and tried running vendorInfo.bat. I was getting the error

Missing lm_code.h/lmseeds.h item VENDOR_KEY1
Missing lm_code.h/lmseeds.h item VENDOR_KEY2
Missing lm_code.h/lmseeds.h item VENDOR_KEY3
Missing lm_code.h/lmseeds.h item VENDOR_KEY4
Missing lm_code.h/lmseeds.h item VENDOR_KEY5

I realized that in lm_code.h, I was specifying LM_STRENGTH to LM_STRENGTH_113BIT without specifying any TRL keys. I changed the LM_STRENGTH to LM_STRENGTH_DEFAULT, regenerated lmpubkey.h and tried to create demoInfo.java. Now I get the error

Bad length for lm_pubsize, must be 3

Am I doing anything wrong? Are TRL keys required for the demo vendor also?

04-11-2009, 09:24 AM
Correct, the FLEXnet Java API requires TRL keys, even for the "demo" vendor.

04-11-2009, 09:37 AM

Is this need even when you want to use served licensing?

BTW I am using FNP 11.6

04-11-2009, 09:47 AM
Yes, I believe TRL is a requirement to build the toolkit (according to several references in LicensingJavaProgGuide.pdf, anyway).