The CreditCard Validator will help you tell:
1. if a credit card number is valid,
2. which credit card vendor handles that number.
It is a simple Applet to demonstrate the use of the ValidateCreditCard class.
It validates the prefix and the checkdigit. It does *not* contact the credit card company to ensure that number has actually been issued and that the account is in good standing.
It will also tell you which of the following credit card companies issued the card: Amex, Diners Club, Carte Blanche, Discover, enRoute, JCB, MasterCard or Visa.
ATM cards use a different secret scheme which this program does not handle. Unfortunately, there is not even a reliable way to tell an ATM card from a credit card just by the number.
It is primarily designed to be included in your own Java program, though it can be used standalone or as an Applet.
To install, Extract the zip download with WinZip, available from winzip.com (or similar unzip utility) into any directory you please, often C:\ -- ticking off the (user folder names) option. To run as an application, type: