Installation

Java SDK: Are there installation instructions for people without Java experience?

kmattern
Builder

The only thing I know about Java is I drink it in the morning and that it is the name of the main island of Indonesia.

The instructions for installing the Java SDK make as much sense to me as reading and understanding cuneiform. After I managed to get the SDK and Ant installed I ran Ant and was sharply told that build.xml did not exist. Well I found a copy at GitHub but when I tried again I got this error:

 

S:\splunk-sdk-java>ant
Buildfile: S:\splunk-sdk-java\build.xml
BUILD FAILED
S:\splunk-sdk-java\build.xml:2: Already seen doctype.

 

Total time: 0 seconds

I have no idea what that means. Are there any instructions for those who don't know anything about Java, Ant and all the rest. The documentation here at Splunk isn't at all helpful.

Hopefully, someone out there will be...

Thanks

Labels (1)
0 Karma

mtevenan_splunk
Splunk Employee
Splunk Employee

Hi there,

Did you download the SDK using the green Download button on the Java SDK doc pages, or from GitHub? I just realized that the download was the completely wrong file, and corrected the situation.

I just installed the latest JDK, the latest Ant, and the latest SDK. Everything built successfully. Please try again. So sorry for the inconvenience!

Thanks,

Matt Tevenan
Splunk > Seattle

Get Updates on the Splunk Community!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...