- On the File menu, click New > Project....
- Expand the Crystal Reports node, select Crystal Reports Web Project, and click Next.
The New Crystal Reports Web Project wizard opens.
- In the Project name field, type
CrystalReportsDemo.
- In the Project contents section, do one of the following:
- Select the Use default check box to use the default location of your workspace.
- Clear the Use default check box and type the desired directory path for your workspace.
- Click the New button adjacent to the Target runtime list.
The New Server Runtime wizard opens.
- Expand the Apache node, select the correct version of your Apache Tomcat Server, and click Next.
- Beside to the Tomcat installation directory field, click Browse to select your Tomcat server installation directory.
- Click Installed JREs.
The Preferences dialog box opens.
- Click Add, and do the following:
- In the JRE type list, select Standard VM.
- In the JRE name field, type
JDK.
- In the JRE home directory field, browse for the directory of your installed JDK.
A list of libraries appears in the JRE system libraries box.
- Click OK.
- Click Finish.
- Click Next.
- Select the Dynamic Web Module, Java, and Crystal Reports Java Reporting Component check boxes, and then click Next.
- Ensure these fields contain the following text:
- Context Root: CrystalReportsDemo
- Content Directory: WebContent
- Java Source Directory: src
- Click Next.
- Select the Include sample database and reports and Include new Crystal Reports check boxes, and click Finish.
Note: To continue, you must accept the Sun license agreement.
The J2EE Perspective opens which allows you to navigate the different projects contained in your workspace.