You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-22Lines changed: 17 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,31 +24,26 @@ Here's what you need to get going with the Splunk SDK for Java.
24
24
* Splunk
25
25
26
26
If you haven't already installed Splunk, download it [here](http://www.splunk.com/download).
27
-
For more information, see the Splunk Enterprise [Installation Manual](https://docs.splunk.com/Documentation/Splunk/latest/Installation).
27
+
For more information, see the Splunk Enterprise [_Installation Manual_](https://docs.splunk.com/Documentation/Splunk/latest/Installation).
28
28
29
29
* Splunk SDK for Java
30
30
31
-
Get the JAR from the [Splunk Developer Portal](https://dev.splunk.com/enterprise/downloads/) or clone the repository from [GitHub](https://github.com/splunk/splunk-sdk-java) if you want to contribute to the SDK. To use Maven, see "Use Maven" "below.
31
+
Get the JAR from the [Splunk Developer Portal](https://dev.splunk.com/enterprise/downloads/) or clone the repository from [GitHub](https://github.com/splunk/splunk-sdk-java) if you want to contribute to the SDK. To use Maven, see "Use Maven" below.
32
32
33
-
* Java and Ant
34
-
35
-
You'll need:
36
-
37
-
* Java version 6 or higher, from [OpenJDK](https://openjdk.java.net) or [Oracle](https://www.oracle.com/technetwork/java).
38
-
* Ant, which you can install from the [Apache website](http://ant.apache.org/bindownload.cgi).
39
-
40
-
The Splunk SDK for Java is compatible with Java 8. Be aware that **Java 8 disables Secure Sockets Layer version 3 (SSLv3) by default**, so you will need to use Transport Layer Security (TLS) instead. To see an example of how to do this, see the [ssl_protocols](https://github.com/splunk/splunk-sdk-java/blob/master/examples/com/splunk/examples/ssl_protocols/Pro...) example. Alternatively, you can re-enable SSLv3 in Java settings, but this is not recommended.
41
-
42
-
If you are using Windows, you'll need to make sure the following system variables are created and set:
43
-
***ANT_HOME** should be set to the location where Ant is installed.
44
-
***JAVA_HOME** should be set to the directory where the JDK is installed.
45
-
***PATH** should include the path to the **%ANT_HOME%\bin** directory.
* Java version 6 or higher, from [OpenJDK](https://openjdk.java.net) or [Oracle](https://www.oracle.com/technetwork/java). For instructions, see [Java Platform Installation](http://www.oracle.com/technetwork/java/javase/index-137561.html) on the Oracle website.
34
+
35
+
The Splunk SDK for Java is compatible with Java 8. Be aware that **Java 8 disables Secure Sockets Layer version 3 (SSLv3) by default**, so you will need to use Transport Layer Security (TLS) instead. To see an example of how to do this, see the [ssl_protocols](https://github.com/splunk/splunk-sdk-java/blob/master/examples/com/splunk/examples/ssl_protocols/Pro...) example. Alternatively, you can re-enable SSLv3 in Java settings, although this is not recommended.
36
+
37
+
* Ant, which you can install from the [Apache website](http://ant.apache.org/bindownload.cgi). For instructions, see [Installing Apache Ant](http://ant.apache.org/manual/install.html).
38
+
39
+
### Set system variables (Windows)
40
+
41
+
If you are using Windows, make sure the following system variables are created and set:
42
+
***ANT_HOME** should be set to the location where Ant is installed.
43
+
***JAVA_HOME** should be set to the directory where the JDK is installed.
44
+
***PATH** should include the path to the **%ANT_HOME%\bin** directory.
45
+
46
+
### Use Maven to build projects
52
47
53
48
You can use [Apache Maven](http://maven.apache.org/) to build your Splunk SDK for Java projects with a few updates to your project's **pom.xml** file. You can retrieve all necessary dependencies and build your project.
54
49
@@ -82,7 +77,7 @@ Here's what you need to get going with the Splunk SDK for Java.
82
77
83
78
> **Note**: You can make similar changes to use [Ivy](http://ant.apache.org/ivy/history/latest-milestone/tutorial/start.html) or [Gradle](http://www.gradle.org/) as well.
84
79
85
-
### Build the SDK and documentation
80
+
### Use ant to build the SDK and documentation
86
81
87
82
To build the SDK, open a command prompt in the **/splunk-sdk-java** directory and enter:
0 commit comments