License4J is a pure Java library for creating and validating licenses. The key concept is features of a license. You can easily add any feature to your license file, i.e. name of the product, version, expiry date, number of executable instances, customer's name, company, IP address, etc.