AppInsights-Java
Introduction
Applicaiton Insights SDK for Java initially prototyped to be used in java web services. Core classes will be shared with Android SDK.
Please refer to AppInsights-Home for general applicaiton insights documentation.
Prerequisites
- Java SDK 1.6 or higher
Getting started
- Set JAVA_HOME environment variable to point to point to the [JDK installation directory]
- Set JAVA_JRE_6 environemnt variable to point to [JRE installation directory]\jre
- Recommended IDE is IntelliJ idea. When you first open either of the two projects, do it by ‘Import Project’ rather than ‘Open Project’ This will start from the Gradle files and recreate all the build and runtime dependencies in IntelliJ’s cache.
- You can use gradlew.bat on Windows to get gradle installed.
Using Eclipse IDE
- Install gradle from http://www.gradle.org/installation
- Add GRADLE_HOME/bin to your PATH environment variable
- In build.gradle add line [apply plugin: "eclipse"]
- In Eclipse used File->Import Existing Project in a workspace.
- Use [gradle build] to build the project from the command line.