Home:  Support:  Search:

Java Program or Servlet Hangs After Creating Barcode.

Solution(s):

If this problem occurs, use the System.exit(0); command to exit the method creating the barcode. If this does not resolve the issue, similar problems have been associated with a corrupt JVM so try another machine with a different version of the JVM. Usually the System.exit(0); command is placed after the encoder command, for example:

barCodeEncoder bce = new barCodeEncoder(bc, "JPEG", "newfile.jpg");
System.exit(0);

Related Documents and Keywords:

See also:

 

© Copyright 2002-2008 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.