This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- lmnewgen
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 16, 2007
08:19 AM
platform\pubkey.h
Hi,
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?
Thanks,
Varma
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?
Thanks,
Varma
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 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".
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 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.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 16, 2007
11:52 AM
In the platform directory, type
lmnewgen -pubkey
lmnewgen -pubkey
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 16, 2007
11:55 AM
to generate the lmpubkey.h please execute "lmnewgen.exe -pubkey" from the \i86_n3 directory.
Thanks
Dave
Thanks
Dave
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 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.
Tried to find that "Note" regarding the lmpubkey.h in java guide but did missed it badly.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 19, 2007
04:05 PM
I tried the same thing
lmnewgen –pubkey
now the problem is I get following error:
bash: /usr/flmjava/v11.4.100.0/ppc_re3/lmnewgen: cannot execute binary file
Did I do anything wrong?
lmnewgen –pubkey
now the problem is I get following error:
bash: /usr/flmjava/v11.4.100.0/ppc_re3/lmnewgen: cannot execute binary file
Did I do anything wrong?
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)