Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8750343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:50:58+00:00 2026-06-13T12:50:58+00:00

I am searching for ideas on how I can implement a trial version of

  • 0

I am searching for ideas on how I can implement a trial version of my java application. Most posts are about creating a trial software with time limitation on when it stops working. In my case I am want to create an application that has limited functionality and one can unlock all the features of the app by purchasing the product. I would appreciate the communities thoughts on the points below. A twist to this issue is to make this solution as generic as possible so that it works on Mac and Windows.

My approach to this solution involves checking for the existence of a ‘registration’ file, when the app starts up. If a valid registration file exists, then the application will be fully functional. This file will be placed in the User’s Application Data directory. That way uninstalling the application in Windows will not touch this file. Also, on a mac, in typical cases removing the app folder there should be no problem, unless the user has installed some software like AppCleaner, which will prompt to delete the application directory under the ~/Library/Application Support folder.

So, here is my first question. What is the community’s thought on how should I handle a situation where the registration file is deleted for a user that has already bought the application?

I think this is also related to how the registration/purchase is done in the first place. This is my second question. I will not handle any credit card transactions in the software, I’d much rather paypal do all that. So, say after someone purchases software, I gave them a registration key that will unlock the software. My first concern here would be that anybody that has this registration key can unlock the software. How can I restrict this? Ideas?

This topic might require a little discussion, I hope that is ok. Looking forward to hearing your inputs.

edit: I just wanted to get back to this post and update it to mention that I finally after assessing TrueLicense and License3j, i have chosen to work with TrueLicense. I am still in the process of figuring out how to use it, as the documentation is not all that easy. I am trying to study the sample and hopefully I’ll have that up and running soon for my app.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:50:59+00:00Added an answer on June 13, 2026 at 12:50 pm

    Recently I have been doing some research on the same subject. I found that it is necessary to implement a licence manager. I found TrueLicence open source library for that and a tutorial with code samples.

    …when using True License, or any other Java license manager library,
    you’re going to need to create two components:

    • A software license server, which generates a new software license whenever a customer purchases a copy of your software, and
    • A software license client, which is code you embed into your Java/Swing client application to install and verify the license.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating a p2p audio-midi streaming application using Java (unfortunately) and I'm searching for
I'm wondering about writing an application in Java which can synchronize files across my
I have a really hard time searching for this, because I have no idea
I am trying to implement Searching for a custom element in a list with
I've spent far too much time with this and can't find the mistake. Maybe
I am working on an application that requires me to implement more than one
I want to implement a simple POS for a client because current proprietary software
I have an application which requires very flexible searching functionality. As part of this,
I am trying to implement customized search in my application. The table structure is
I am trying to implement OCR for my Windows Mobile application. I would like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.