How to key java software to the machine.

Hi Everyone;
I made a java standalone app.
However, I would like to add security so that people can't easily make a copy of the classes/jar file and email it to friends.
One of my thoughts was to dynamically key the software to the person's computer somehow. And give them a per pc license agreement.
QUESTION #1: Does anyone have any thoughts on how I would key it to the computer the first time it starts up?
QUESTION #2: Another option of mine is to require the user to enter their phone number as a type of serial key at the beginning of each usage. Because the phone number is kinda private and they won't want everyone in the world to have their phone number. So my question is when the user is going to download the software from my web site - is there a way to dynamically add the phone number to the class compile and jar it and send it to them. if so could someone explain how ?
Thanks in advance
Stev
Stephen

Theres the stnadard, enter your name, phone, address and then you give them a code that will only work with that name phone, address, etc, maybe even have it work with the date. Or if you can take the MAC address from a piece of hardware (assuming that they don't replace it) or some other number that can be aquired from the hardware through code, and base it on that...there are many many ways, and people usually crack most of them if the program is important enough. The only one i have seen work are ones that force you to authenticate over a network...

Similar Messages

  • I bought a new computer, I have Adobe Creative suite 5.5  How to download Adobe software to the new computer if I did it through the mail a few years ago?   Thank you

    I bought a new computer, I have Adobe Creative suite 5.5
    How to download Adobe software to the new computer if I did it through the mail a few years ago?
    Thank you

    Answered via PM reply.

  • How do you uninstall software on the iMac

    How do you uninstall software on the iMac

    Hello Edward,
    Welcome to the world of Mac.  I chuckled when I read your question as this was also my first interrogation when I went from Windows to Mac OS.  I do hope you enjoy the switch... just get used to things being simple.
    Felix
    P.S.  I use AppZapper to remove apps and their pref files all at once.

  • How do you recoup software from the app store after a crash?

    How do you recoup software from the app store after a crash? It's not like the old days when you bought software on CDs.

    Mac App Store: Frequently Asked Questions (FAQ) - http://support.apple.com/kb/HT4461

  • How to download java software into my hp touchpad?

    I bought a HP Touchpad to view Bursa Exchange, which require JAVA software to run. I have tried a couple of time trying to download the free java software but still not able. Please help me how to download JAVA into my HP Touchpad.
    Thanks,
    Ong

    Hi,
    Download the first item from the left and install it on your machine:
       http://www.oracle.com/technetwork/java/javase/downloads/index.html
    Regards
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to upgrade Java 6 to the latest release on Mac Mountain Lion?

    Not able to find the option to upgrade Java 6 to the latest Java 6 version (37) on Mac 10.8.2. Can somebody please tell me that from where I can do that?
    Thanks

    It should be installed automatically through Software Update (ie, the App Store's Update tab), if you have Java installed. Java is not installed by default in Mountain Lion, however. If you don't have Java, you can try to open the Java Preferences app (in /Applications/Utilities) to be prompted to install it. Note, though, that the current version of Java from Apple no longer includes a web applet plug-in. If you need that, you'll need to install Java 7 from Oracle.
    For more information, including why you need to be cautious about using Java online, see Using Java in Mac OS X.

  • How to return java objects on the button click

    hello all,
    i wonder if any body let me know ,how to return java objects on button click,
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    class base
         base()
              JFrame frame = new JFrame("Base class Message Dialog Box");
              JPanel panel = new JPanel();
              JButton buttonchildone = new JButton("Child class one");
              buttonchildone.addActionListener(new ActionListener(){
                   public actionPerformed(ActionEvent e)
                        childone ch1=new childone();
                   return ch1;
              JButton buttonchildtwo = new JButton("Child class two");
              buttonchildtwo.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent e)
                        childtwo ch2=new childtwo();
                        return ch2;
              panel.add(buttonchildone);
              panel.add(buttonchildtwo);
              frame.add(panel);
              frame.setSize(300, 300);
              frame.setVisible(true);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         void show()
              System.out.println("Base class show() method");
    public class mainmethod
         public static void main(String[] args)
              base baseobj=new base();
    here my aim is to achieve dynamic polymorphism by button click's ,where based on the button click i can send back an object of childone or childtwo classes
    thanks and regard
    Mac
    Message was edited by:
    LoveOpensource

    You probably need to rethink your design. Where are these child classes going? What is using or consuming them? I agree with the message above about a button instantiating a parent field variable to one child or the other depending on which button is pressed.
    Message was edited by:
    petes1234

  • How do we "demo" software with the app store?

    usually there's a demo to try an app before you buy - how do we do this with the app store?

    Use the developers site for any software demo/download/purchase that is of a substancial cost amount to you.
    You DON'T want to deal with Apple's semi-English speaking India call center if you have a issue. TRUST ME! 

  • How do you update software on the itouch (8GB)

    I'm trying to get the Kindle App and it says I need to download iphone software 3.0. Is that compatible with an itouch? Do we use the itouch use the same software as the iphone? How do I do it?
    Thanks!

    It's an iPod version of the same software. Read all about it and get it here: http://www.apple.com/ipodtouch/software-update.html

  • How to put Java application in the MS. Windows System tray

    dear all,
    Is it possible to make a Java application communicate with the MS. Explorer and to put a Java application in the MS. Windows System tray
    Regards

    http://www.esus.com/docs/GetQuestionPage.jsp?uid=624
    or look for madcap on sourceforge

  • How do install osx software without the software

    How do I install osx without the software

    You need to provide more info about teh situation. Mac's have an internet recovery and that is why they don't ship with DVDs anymore. Hold command+r during boot to access internet recovery.

  • How do i reinstall software for the superdrive without a disk

    Hi,
    I am trying to utilize my external superdrive and it says hardware or software isn't recognized.  I cannot find my reinstall disk so is there one I can download from the Apple site? Which one?
    Thank you!

    So you had Snow Leopard on your computer and your friend installed Mountain Lion from what? The only legal way is to buy it from the app store. If that was not done, then I'm not sure how to get out of the mess except to reinstall Snow Leopard and then buy Mountain Lion (if you don't do that, you will have endless problems because your OS install won't be recognized). You won't be able to get updates because the app store checks your Apple ID and your machine ID.
    If you have the disks for your software, then just reinstall from the disks (I'd do it after you get the OS mess rectified). If the software was bought and downloaded from the app store, it should be listed under your Purchases and you can re-download it.

  • How to store java objects in the database

    Hi,
    I am trying to store HttpSession state across Application Servers. Basically I am trying to build a sort of application cluster server on my own. I thought the best way to do this was to periodically store the HttpSession object from an application server in a database.
    I created a table in Oracle 8i with a blob column. I use a PreparedStatement.setObject() method to store the HttpSession object in the database. My problem is, I don't know how to get the object back from the database.
    Since ResultSet.getBlob returns the Blob locator, I need to read the BinaryInputStream to get all my data back. This tells me that getBlob basically works only for things like files, and cannot be used for Java objects.
    Is there any way around this? Your input would be much appreciated.
    Regards,
    Somaiah.

    Thanks for the quick reply vramakanth.
    Do I have to use a type map if I do this? Also does such a type map exist for the HttpSession class?
    Thanks,
    Somaiah.

  • How to add agent software in the agent software update list from OEM12C?

    The OMS version is 12C. In the OEM web page, the agent software should have a list for all platform in the agent software update list, where you can go from setup => extensibility => self update => agent software. But we only have agent for linux. The rest of them were removed earlier. We need to add back the agent software for Sun SPARC and Sun x86 (intel). Can somebody tell how to do it?
    Thanks!

    If you have deleted the agent software in self update then its very simple to get them back.
    a) From the Self Update page, select the Agent Software entity, then click Check Updates to get the latest agent binaries
    b) A job is triggered and once it is done, you will see that the Available Updates column has been updated. A confirmation message is also displayed.

  • HT4623 how do you update software when the phone does not have the software update option in settings

    how do i update the software on an iphone 3gs when the software update option is not in the settings on the phone?

    The option to update without the computer (Over the air) was made available with iOS 5. If your iDevice is using a version of iOS lower than 5, you will need to use iTunes on your syncing computer to perform the upgrade. Use the Apple link below as a guide for the upgrade.
    http://support.apple.com/kb/HT4972
    Also read the instructions from the section entitled "Update your device using iTunes" at the link below.
    http://support.apple.com/kb/HT4623
    Information regarding transferring purchases from your iDevice to iTunes on your syncing computer can be found at the link below.
    http://support.apple.com/kb/ht1848

Maybe you are looking for