ThingWorx Edge Java SDK > Installing and Navigating the Java SDK Directories
  
Installing and Navigating the Java SDK Directories
Installation
To install the Java SDK, download the Java SDK bundle to your computer, and extract the files.
Directories and Files
The Java SDK installation contains the following directories:
doc\html — Contains the Javadoc for this SDK.
doc — Contains the PDFs of the developer’s guide and release notes. Also contains the HTML files for the javadoc for this SDK.
entities — Contains the export file (ExampleExport.xml) that has the example entities that are referenced by the sample code used in this document.
lib — Contains the JARs listed in the table below. These JAR files are all of the Java Dependencies for applications written using the Java Edge SDK.
samples— Contains the Java source files, logback template, and Gradle build file for the examples. The subdirectories are as follows:
samples/src — Contains the Java source files for the sample applications.
samples/resources — Contains the template for the logback feature (logback-template.xml).
Contents of the lib Directory
File Name
Version
commons-codec-1.9.jar
1.9
commons-logging-1.2.jar
1.2
httpclient-4.5.2.jar
4.5.2
httpcore-4.4.4.jar
4.4.4
jackson-annotations-2.8.0.jar
2.8.0
jackson-core-2.8.1.jar
2.8.1
jackson-databind-2.8.1.jar
2.8.1
jackson-dataformat-smile-2.8.1.jar
2.8.1
jaxen-1.1.6.jar
1.1.6
jdom2-2.0.6.jar
2.0.6
joda-time.2.9.jar
2.9
logback-classic-1.0.13.jar
1.0.13
logback-core-1.0.13.jar
1.0.13
netty-all-4.1.15.Final.jar
4.1.15
slf4j-api-1.7.21.jar
1.7.21
thingworx-common-development.server.build-b556.jar
build 556
thingworx-communications-client-development.server.build-b556.jar
build 556
thingworx-java-sdk-development.server.build-b556-javadoc.jar
build 556
Sample Applications
The samples directory contains the following subdirectories with source files for the sample applications referenced in this document:
The samples/src/com/thingworx/sdk/steam subdirectory contains the Steam Sensor example code files (SteamSensorClient.java and SteamThing.java) that you should examine before attempting your own application. The SteamSensorClient can be compiled and run from the samples directory, using the command, gradle steam after following the Gradle setup instructions in the next section ( Setting Up to Run Sample Applications). Its connection settings are in the build.gradle file in the samples directory. See the next section for more information on setting up Gradle to build the samples.
The samples/src/com/thingworx/sdk/simple contains the source file, SimpleClient.java. Snippets from this file are used to illustrate how to implement the basics in the topics listed below. The last topic in this series explains how to modify this source file to run it against your ThingWorx platform:
1. Connecting an Application to the ThingWorx Platform
2. Reading a Property
3. Writing a Property
4. Invoking a Service
5. Firing Events
6. Running the SimpleClient Application
samples/src/com/thingworx/sdk/simple also contains source files for a file transfer (FileTransferExample.jara) and for a tunneling example (TunnelExample.java). Snippets from these examples are used in Configuring File Transfers and Configuring Tunneling.
samples/src/com/thingworx/sdk/simplething contains the source files for the Simple Thing Client application, SimpleThing.java and SimpleThingClient.java. Snippets from these files are used to illustrate how to implement a client that uses binding, creates a service that can be invoked from the server, defines properties using annotations, in the topics listed below. The last topic in this series explains how to modify the SimpleThingClient.java source file to run it against your ThingWorx platform:
1. Working with Things
2. Services
3. Properties
4. Running the SimpleThingClient Application
* 
Before attempting to run any of the samples, follow the instructions in the next section.