Community articleRunning the FCI Sample Under Java on AIX, Linux, and Solaris
Added by IBM contributorIBM on July 26, 2013
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

The FCI sample application for Java™ uses the FCI methods to create a function called convertDate. The convertDate function takes two arguments, the date and the locale, and converts the date into the language and format of the selected locale. The application displays the converted date as a value for the Converted Date label.
Follow these steps to set up and run the FCI sample application:
  1. Switch to the folder:
  2.    <API Installation Folder>/samples/java/fci/demo/convert_date/

  3. To view XFDL forms, you must use a computer running Windows. Copy the file fciSampleWithJar.xfd to a computer running Windows.
  4. In Windows, use the Viewer to open fciSampleWithJar.xfd.
  5. Enter a date in the Date field, then select a language and date conversion format.
  6. Click on Click me to convert the date.
    • The converted date appears on the form.