View Full Version : platform\pubkey.h
02-16-2007, 08:19 AM
I am trying FLEX Licensing module and want some help using your Java api.
In the documentation,"Evaluating FLEXnet Licensing for Java on Windows" chapter, it was mentioned to copy platform\lmpubkey.h to C:\Program Files\flmjava\v10.1\java folder. But, I couldn't find this lmpubkey.h file and instead I found lmprikey.h in the platform folder.
Could you guide me to find this file?
02-16-2007, 08:49 AM
You generate lmpubkey.h with the lmnewgen utility from your C Licensing toolkit; please see the FLEXnet Licensing for Java Programming Guide help topic "Create the demoInfo Class File".
02-16-2007, 11:12 AM
Thanks for the instant reply.
Yes, I am looking at the topic "Create the demoInfo Class File" and it needs this platform\lmpubkey.h file.
I did compiled and linked the sample C application as suggested in the "Chapter4 Building your FlexEnabled application" located in LicensingProgAndRefGuide.pdf. This did created lm_new.obj and other files but not lmpubkey.h file.
02-16-2007, 11:52 AM
In the platform directory, type
02-16-2007, 11:55 AM
to generate the lmpubkey.h please execute "lmnewgen.exe -pubkey" from the \i86_n3 directory.
02-16-2007, 12:22 PM
Quite right, I should have been more specific: in that section I mentioned, there's a note reading:
Note: If lmpubkey.h does not exist, you need to create it. In the platform directory, type lmnewgen –pubkey.
02-16-2007, 02:11 PM
Thanks for the info guys. I'm able to build the java app now.
Tried to find that "Note" regarding the lmpubkey.h in java guide but did missed it badly.
11-19-2007, 04:05 PM
I tried the same thing
now the problem is I get following error:
bash: /usr/flmjava/v126.96.36.199/ppc_re3/lmnewgen: cannot execute binary file
Did I do anything wrong?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.