Making evaluation license for java application

hi
I have made a product and I want to make demo copies for it. I'm not concerned with decompilation issues. All I want to do is that the application should cease to function after 100 usages or 1 month whichever is earlier.
How do I go about coding this functionality. I have seen similar things in java products but I'm not sure how this is achieved.
Please help me!

The first time the application is started, have it create a file in some directory (best practice=same directory as application). Anyway, this file can contain a date the app was first started. Each time the app is run - the file gets an update - the number of times the app has started, increase by 1 each time. Also you can make a check to see if the current date is older by 100 days.
Note: A person can always change the system clock to say it's 1900 so they never have to expire the 100 days, but they would need to figure out which file has the date/runs data in it in order to fool the application completely.
I have actually used this model and found that, along with the programming side, a simple but firm software license with some legal jargon works well.

Similar Messages

  • Making jar file for java application with third party (Crystal Report)

    Hi all,
    I'm writing a java program that integrate with Crystal Report, I can run it in JBuilder fine, but when I try to make a jar file with JBuilder and run it, it either doesn't work or give me error.
    Case 1: If i only include the "dependencies", the program run but it woun't call the report when I open it. It give me the following error:
    com.businessobjects.reports.sdk.JRCCommunicationAdapter
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com.businessobjects.reports.sdk.JRCCommunicationAdapter---- Error code:-2147215357 Error code name:internal
         com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ILjava.lang.String;)V(Unknown Source)
         com.crystaldecisions.proxy.remoteagent.z.a(Ljava.lang.String;)Lcom.crystaldecisions.proxy.remoteagent.ICommunicationAdapter;(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ReportAppSession.int()V(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize()V(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ClientDocument.for()V(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.for()V(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Ljava.lang.Object;I)V(Unknown Source)
         com.crystaldecisions.reports.sdk.ReportClientDocument.open(Ljava.lang.Object;I)V(Unknown Source)
         GOV.NE.REVENUE.LB775.CRYSTALREPORT.JRCViewReport.launchApplication(JRCViewReport.java:43)
         GOV.NE.REVENUE.LB775.LB775$5.actionPerformed(LB775.java:1114)</message>
    case 2: if I include the "dependence and resources" when create jar file, then the program won't run. It gives me a message:
    Cannot find main class. Program will exit.
    But I do have the manifest.mf file that contain the main class.
    Thank you very much for any help.

    Hello, I have the same problem, did you solved it?
    Thanks

  • Problem in making exe file for java application

    helo,
    i tried to make an windows installer packge for my jar file using advance installer. There is one option for including JRE with this package. i included jre package also.otherwise ,the applicaiton will not work in client side,if java is not installed in his system.
    But the problem is after i make the setup including JRE ,the size of the file become 26mb. So,it took long time to download the application.
    What are the essential jav files we have to include while makes the setup for running the application.I included all the JRE folder itself.
    So the size become heavy. Anybody plz help me solve this
    regards
    jithesh

    Hello, I have the same problem, did you solved it?
    Thanks

  • Create time-limited license for my application

    Hi,
    I have created an application for my client, but i would like to add in a function below into my software for license renew.
    For example, after the application is used in a PC for one year, it will be locked and will ask user to renew the license, to activate the application again.
    Is there anyway can create the time-limited license for my application?
    My application is developed by LV 8.5.1.
    I am appreciated for your feedback.
    Thanks.

    The Third Party Licensing & Activation Toolkit will do what you want, but you need LabVIEW 2010 or later.
    There was even a NI-Week presentation: NIWeek Session: Creating a Software Evaluation for your Product in 10 minutes
    Still, I agree with Norbert that an expiring licens is a very dumb idea. What if you go out of business? What if you are on vacation while their license expires? What is the system is on a space flight to Mars?
    I would never install software that expires, because if it cannot be guaranteed that it will run a year from now I might as well not use it at all.  If NI would do the same, your LabVIEW 8.5 would have stopped working long ago. 
    If you want to ensure that users upgrade to a new version, make sure to add new and exciting features. Offer service subscriptions, etc.
    LabVIEW Champion . Do more with less code and in less time .

  • How to create the exe files for java application

    How to create the exe file for java application?
    got any software to do that?
    Thanks

    In terms of converting java applications into exe files, there are 3 schools of thought:
    1) Instead of converting it to an exe, convert it to a jar file. Jar files are more portable than exe files because they can be double-clicked on any operating system. The caveat is that a Java interpreter must be installed on the target computer for the double-clicking to work.
    http://developer.java.sun.com/developer/Books/javaprogramming/JAR/
    2) Create an exe launcher that, when double-clicked, attempts to find a Java interpreter on the local computer and launches the Java application. The exe file is still double-clickable but whether your java application runs depends on whether a Java interpretor is installed on the target computer.
    http://www.sureshotsoftware.com/exej/
    http://www.objects.com.au/products/jstart/index.jsp
    http://www.duckware.com/products/javatools.html
    http://www.ucware.com/jexec/
    http://www.rolemaker.dk/nonRoleMaker/javalauncher/
    http://www.jelude.cjb.net/
    http://thor.prohosting.com/~dfolly/java/index.html
    3) Create an exe launcher that bundles a Java interpretor. Same as above but when the exe file is double-clicked, it searches for a Java interpreter and if one is not found, it installs one on the target computer. The caveat is that the exe file would have an overhead of 10 MB in size for the interpreter.
    http://www.excelsior-usa.com/jet.html (evaluation version available)
    4) Convert the Java application into a native exe file. The caveat is that if you use Swing for your GUI, it won't be converted. Also this option is still somewhat experimental.
    Can't think of any free options right now.

  • Microsoft Office can't find your license for this application - multiple copies of Office 2013 x32 failing to start, Software Protection Service timing out

    We're experiencing a growing problem with our users in several different domains running in to Microsoft Office 2013 x32 'activation' issues.  We use KMS for licensing, which works properly, but some of the machines (~20-30 out of 1000+) sporadically
    throw the following error:
    'Microsoft Office can't find your license for this application.  Microsoft Office will now exit.'
    We know it's not an issue with the licenses per se, since they work on and off and we can force KMS activation correctly / talk to the KMS servers.
    It appears to be an issue with the Software Protection service not starting properly.  In Event Viewer, we see the following:
    'Software protection service failed to start due to the following error- the service did not respond in a timely fashion.
    Event 7000'
    This is occurring on a variety of machines in a variety of environments, all fully patched with the latest Office updates.  It's inconsistent, and the 'manually restart the Software Protection Service' solution is not viable as it's occurring on many
    different workstations.  Office repairs have also been unsuccessful.  
    Has anyone else come across this? Or have any idea why the Software Protection Service might be sporadically failing?  Maybe an Office update in the last 2-3 months?
    Thanks for any info.

    We're experiencing a growing problem with our users in several different domains running in to Microsoft Office 2013 x32 'activation' issues.  We use KMS for licensing, which works properly, but some of the machines (~20-30 out of 1000+) sporadically
    throw the following error:
    'Microsoft Office can't find your license for this application.  Microsoft Office will now exit.'
    We know it's not an issue with the licenses per se, since they work on and off and we can force KMS activation correctly / talk to the KMS servers.
    It appears to be an issue with the Software Protection service not starting properly.  In Event Viewer, we see the following:
    'Software protection service failed to start due to the following error- the service did not respond in a timely fashion.
    Event 7000'
    This is occurring on a variety of machines in a variety of environments, all fully patched with the latest Office updates.  It's inconsistent, and the 'manually restart the Software Protection Service' solution is not viable as it's occurring on many
    different workstations.  Office repairs have also been unsuccessful.  
    Has anyone else come across this? Or have any idea why the Software Protection Service might be sporadically failing?  Maybe an Office update in the last 2-3 months?
    Thanks for any info.

  • App-V 5.0 Sequencing Office 2010 - Cannot verify the License for this Application KMS

    Hey Guys,
    i already found some Topics about my Problem, but None of the Solutions i have found, help in my case. I hope someone can help...
    I Sequenced Office 2010 Professional Plus x86 on an App-V 5.0 Sequencer Client (x64) and streamed it to Windows 7 x64 and Windows Server 2012. While i was sequencing, i followed the Articles at
    http://blogs.technet.com/b/office_resource_kit/archive/2011/06/15/sequencing-office-2010-for-app-v-part-1-considerations.aspx and also used the Parameter:
    msiexec/i OffVirt.msi ADDLOCAL=Click2runMapi,Click2runOWSSupp,Click2runWDS,OSpp,OSpp_Core PROPLUS=1
    In the sequencing Process anything ist working fine, i can start Word, Excel... and Office is activated. When i publish the Application and stream to the Client or RDS, i get the Error message in the Screenshot.
    I also tried to create a new Package and type in the KMS Client Key directly to Office, didnt work. In a third Sequencing Process (also new Sequence) i tried with an another Script what i have found: msiexec /i OffVirt.msi PROPLUS=1 KMSSERVICENAME=”SERVERNAME”
    KMSSERVICEPORT=1688
    Please help!!
    Best regards

    I am having this same exact issue; however, I have done everything in the App-V 5.0 Sequencing document, and I have enabled Set-AppVClientConfiguration -EnablePackageScripts 1.
    The sequencer is on a Win 7 32-bit machine, so I used the following:
    msiexec
    /i OffVirt.msi ADDLOCAL=OSpp,OSpp_Core PROPLUS=1
    KMS is registered in DNS, so I shouldn't have to specify KMS.
    As soon as I start Office on a machine, setup screen comes up briefly, and then I see the: 
    "Microsoft Office cannot verify the license for this application. A repair attempt failed or was canceled by the user. The application will now shut down."
    I would use the package accelerator; however, it's a new Pro Plus 2010 build, and it says 12 files are missing from the install (files like the actual OffVirt.msi and manifest files).
    This is getting a little frustrating, as I've already tried the package 4 different times. I also tried this version:
    msiexec/i OffVirt.msi ADDLOCAL=Click2runMapi,Click2runOWSSupp,Click2runWDS,OSpp,OSpp_Core PROPLUS=1
    I am also using the latest SP2 client, Sequencer, and then the AppV 5.0 SP1 server is using the latest hotfix 4 which was released in April 2014.

  • How to create a Batch file for java application  ?

    HI,
    How to create a Batch file for java application ?
    And whats the use of creating batch file ?
    Thanks in advance

    [http://static.springsource.org/spring-batch/]
    Assuming you want to develop a batch application rather than actually just create a .bat file ..

  • HOw to create a Batch file for java application and whats the use of this ?

    HI,
    How to create a Batch file for java application ?
    And whats the use of creating batch file ?
    Thanks in advance

    First of all, you're OT.
    Second, you can find this everywhere in the net.
    If you got a manifest declaring main class (an classpath if needed), just create a file named whatever.bat, within same directory of jar file, containing:
    javaw -jar ./WhateverTheNameOfYourJarIs.jar %*By the way, assuming a Windows OS, you can just double click the jar file (no batch is needed).
    Otherwise use:
    javaw -cp listOfJarsAndDirectoriesSeparedBySemiColon country/company/application/package/className %*Where 'country/company/application/package/' just stands for a package path using '/' as separator instead of '.'
    Don't specify the .class extension.
    Javaw only works on Windows (you asked for batch, I assumed .BAT, no .sh), in Linux please use java.exe (path may be needed, Windows doesn't need it 'cause java's executables are copied to system32 folder in order to be always available, see PATH environment variable if you don't know what I'm talking about) and use ':' as classpath (cp) separator.
    The '%***' tail is there in order to pass all parameters, it only works on Windows, refer to your shell docs for other OSs (something like $* may work).
    This way you have a command you can call to launch your code (instead of opening NetBeans just to see your app working). You could schedule tasks on it or just call it in any command prompt (hope you know what it is 'cause there have been people in this very same forum with no clue about it, if not just hold the 'Windows button' and press 'R', then type 'cmd' and run it).
    Finally add dukes and give 'hem away.
    Bye.

  • What are the reporting tools available for Java applications??

    hi..
    please tell me some reporting tools available for java applications.... if there are some, please mention how to find their documentation????

    http://jasperreports.sourceforge.net is a nice one, there is also a link to a graphical design tool.

  • How to access(connect) BI Data in webdynpro for java applications

    Hi ,
    is there any way to access and display the BI data in portal using webdynpro for java applications like we did in Visual composer.
    if not how to integrate the BI data in webdynpro applications ?
    Regards,
    Govindu

    Hi,
    Yes there are ways to do it. But may your scenario and the scenario for which I have done may differ.
    You can use openhub to get the data in a flat file and then read it into weddynpro through a java service OR
    You can use DBlink(which i have done).
    Please refer the link below:
    [Link|Data from BW to Oracle.;
    This I have done in NW04s. Not sure whether a better solution is available in the newer release.
    Hope it helps.
    Regards,
    Manoj

  • How to use BAPI in webdynpro for java application

    Hi all,
    Please help in getting started with calling a BAPI in a webdynpro for java application. I have got only the content needed to call a BAPI in a webdynpro for abap application but not in java. Kindly provide me some documents if possible.
    Thanks in advance

    Hi ,
    U have Created One Bapi u want to work with web Dyn pro for java Application Right .
    U need the Following
    1) NWDS (Netweaver Devloper Studio )
    2) jdk1.4 or Above installed in your system .
    After Installation of NWDS .
    1) Just Take J2EE Enginee Details
      a) Go to Window -> preferences  -> J2ee Enginee - > give ur port number , Host name Details . and click finsh .
    Go To Web Dyn Pro Perspective Click onj2EE engine .
    Click On Refresh U will see Green Colour button .
    Now ur Ready to import Ur BAPI .
    1) Go to File -> New -> Project - > Web Dyn pro Project -.
    Give Name , pkg Name Click On Finish .
    2) Expand ur project hirarchy -> go TO Application -> Right Click -> Create Application - > Give Application name and Pkg name -> Click on Finish .
    3) Now ur View And Controller Are Created by Default .
    4) Go to Model-> Right Click on it-> Create Model -> Give Model Name & Pkg name Should diff from Application pkg the Click On Next
    a) Here u have to Two JCo Destination Name Like Model Data And Meta data & R/3 System Details like System Number , Host name  Etc -> then Click on next .
    b) Here u will text filed where u want to search for ur Required BAPI . Type ur BAPI Name Click on Search . Ur bapi will be displyed In Down . click on Next .
    c) Now Ur model is Importedint into NWDS .Map ur model data To Controller and Controller Element to View Elements .
    After ur Model .
    Go to -> Project Name -> Right Click -> go to -> Deploy New Archive .
    after wards u have to go Apllication -> Right click -> deploy and Run .
    ur output will be displyed thru Browser .
    Thats it
    Regards ,
    venkat

  • Invoke Workflow from Web Dynpro for Java Application

    I am working on a custom web dynpro for java application and when the user clicks the submit button the SAP standard workflow (WS50000041) should be invoked. Does anyone have experience they can share with me on how to achieve this functionality? It should also be able to attach an adobe form or read data from the form and submit the data as xml.
    Thanks,
    Ashley

    Hi Ashley,
    Use following code in RFC to invoke your workflow -
    DATA : w_subrc TYPE sy-subrc,
                w_wi_id LIKE swwwihead-wi_id.
    CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
            EXPORTING
              task                      = ' WORKFLOW - WSxxxxxx '
              language                  = sy-langu
              do_commit                 = 'X'
            IMPORTING
              return_code               = w_subrc
              workitem_id               = w_wi_id
            TABLES
              input_container           = it_container
              message_lines             = lv_swr_messag
          COMMIT WORK.
    With this code your workflow will get start. But u have to use workflow id in next application also in which your request is getting navigated. In that application you have to take this workflow ID and have to pass again in workflow using - PortalNavigation statements.
    After that this workflow will get start to publish in your TaskList (My Task) in Portal. Remeber that your all task should be maintained in workflow table by using SWFVISU  transaction.
    After that go to Portal and Re-Register your UWL so that your new Workflow ID will get usable in portal.
    With this way you would be able to use workflow with Web Dynpro Java using UWL and Workflow.
    Regards,
    Roshan Gupta

  • How to create setup for Java Application?

    Hello,
    I have created one Java Application. Now I want to create setup for that. I want to know if there is any tool is available for Java Application. If yes, then please help me to get that.
    My emal id is "[email protected]"
    Thanks in advance.
    Sam

    Go to www.zerog.com
    Download InstallAnyWhere4now (free)
    it is Awsome youll love it
    M
    bakbjo

  • Microsoft office can't find your license for this application. A regular attempt was unsuccessful or cancelled.

    I am unable to open any of the office application while doing that getting below error.
    "Microsoft office can't find your license for this application. A regular attempt was unsuccessful or cancelled".
    Tried few steps from TechNet however nothing helped.
    Please help me to resolve this issue.
    Regards,
    Mahadev

    You can try that: https://social.technet.microsoft.com/Forums/windowsserver/en-US/6119d4c0-c3c0-40bf-9c3e-46b46915e738/service-not-start-access-denied-software-protection-event-logs?forum=winservergen
    It speaks about a similar problem.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

Maybe you are looking for

  • How do I get my new Mac to show all itunes music that shows up on my PC?

    My PC shows some 600 songs when I plug in my ipod, however when I plug in the ipod to my new mac, itunes shows only the 70 songs that I purchased--not the ones that I put on the ipod from old CD's etc.--many of which are no longer available to downlo

  • Same Code Fails in OC4J 9.0.3

    In an effort to find a solution to my transactional problem (See my other question in this forum marked URGENT), I started playing with OC4J 9.0.3 to see if that would make any difference. However, what I have found has all but compelled me to go "Of

  • How can I add a solid shape over my image in Pages?

    I can make a solide image, I made my phot's solid, bute when I put a square shape on it, it will not stay put. The same thing with an arrow to point at a specific place in my photo. Anyone an idea?

  • Fade out and in

    Sorry, I know this is basic stuff. I have learned to fade out individual tracks, but not the entire song. Help, please?

  • Safari won't complete launch, Virex will not launch

    Running iMac G5 with Panther (10.3) via Wi fi using Airport base Station. Virex will not launch. Safari and IE begin launch then freeze. Able to use Mail and itunes (including Music Store access) as well as "Sherlock". Problem began after another use