- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- Re: How do I activate FlexNetLicensingToolkitForJava-v11.16.5.1.tar
- 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
Hi!
I've configured and compiled the C version without problems.
I could not find any instructions on how to use the java version. After some decoding of the jar files I found out that CreateVendorInfo either needs TRL_KEY1/TRL_KEY2 or some lmpubkey.h file which includes some other stuff. I did not find any lmpubkey.h, so I used the other alternative without really knowing what I was doing. ./vendorInfo.h was doing fine now, creating the vendorInfo.java class.
But, running the BasicExample now issues: Exception in thread "main" java.lang.RuntimeException: No public keys available...
Could someone please point me to instructions on how to make the java library work?
Thanks in advance
Christian
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hello @chris58 ,
To enable the Java based licensing of applications, we would need to copy few files from the corresponding C toolkit directory. As in the steps are:
=====================================
|
=====================================
So, do you have access to the "C" toolkit and are you able to build the "C/C++ toolkit" ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Here are the complete steps:
|
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hello @chris58 ,
To enable the Java based licensing of applications, we would need to copy few files from the corresponding C toolkit directory. As in the steps are:
=====================================
|
=====================================
So, do you have access to the "C" toolkit and are you able to build the "C/C++ toolkit" ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @aparashar1
Thank you a lot!!! That's the solution. 🙂
Maybe somebody should consider to add a little note in a REAMDE file on how to generate the necessary lmpubkey.h. Or, even better, put the info into the usage() method of CreateVendorInfo. Would have saved me several hours of trial&error, decompiling, searching on the web etc.etc.
Thanks again!
Regards
Christian
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Here are the complete steps:
|