Skip to content

Latest commit

 

History

History
53 lines (31 loc) · 3.31 KB

README.md

File metadata and controls

53 lines (31 loc) · 3.31 KB

Syncfusion Java Samples

This repository contains demos of Syncfusion Java controls. This is the best place to check our controls to get more insight about the usage of APIs.

This section guides to use the Syncfusion Java samples in your application.

Requirements to run the demo

  • The samples require Java SE 8.0 (1.8) or above versions to be installed at your end.
  • Get the dependent jar files to run the samples by installing file formats controls. You can find the required jars in the build installed location $system drive:\Program Files\Syncfusion\Essential Studio\.

How to run the samples

  1. Clone this repository.
  2. Open the command prompt and navigate to the samples root directory.
  3. Set the Java path using below command

Syntax: set path=<jdk_installed_location>

Example: set path=C:\Program Files\Java\jdk-12.0.1\bin

  1. Compile the sample with the dependent jars file using below command

Syntax: javac -cp “<jar_file1_location>;.;”<jar_file2_location>” sampleFolder/*.java

Example: javac -cp "D:\java-demos\Jarfiles\syncfusion-docio-18.3.0.35.jar";.;"D:\java-demos \Jarfiles\syncfusion-javahelper-18.3.0.35.jar" employeereport/EmployeeReport.java

  1. Then, run the sample using below command

Syntax: java -cp “<jar_file1_location>;.;”<jar_file2_location>” sampleFolder/*.java

Example: java -cp "D:\java-demos\Jarfiles\syncfusion-docio-18.3.0.35.jar";.;"D:\java-demos\Jarfiles\syncfusion-javahelper-18.3.0.35.jar" employeereport/EmployeeReport.java

License

Syncfusion has no liability for any damage or consequence that may arise by the use or viewing of the samples. The samples are for demonstrative purposes and if you choose to use or access the samples you agree to not hold Syncfusion liable, in any form, for any damage that is related to use, accessing or otherwise viewing the samples. By accessing, viewing, or otherwise seeing the samples you acknowledge and agree Syncfusion’s samples will not allow you to seek injunctive relief in any form for any claim related to the sample. If you do not agree to this, do not view, access, utilize or otherwise do anything with Syncfusion’s samples.

Controls Catalog

File Formats

Support and feedback