|
I am having trouble compiling the sample search program at http://code.google.com/p/splunk-java-sdk/. Seems like splunk2.jar is compiled with 1.6 and my java is 1.5. Is there a 1.5 splunk.jar somewhere? I don’t see it on the download site.
|
|
Thank you for your interest in Java SDK. Unfortunately we don't have a build for 1.5 SDK yet, but we will make sure the next release is compatible with it. Meanwhile you can checkout the code from the svn repository and build the jar file with the SDK you're currently using. |
|
Note that Java 1.5 JDK/SDK (aka Java SE 5.0) reached end-of-life in November of 2009, and 1.6 has been available and supported for at least two or three years on most Operating system and J2EE application servers. It might not be a terrible idea to update to 1.6 for new code. |
|
The Java SDK is now available on GitHub. You can find it here: https://github.com/splunk/splunk-sdk-java You can learn more about it here at: http://dev.splunk.com/view/java-sdk/SP-CAAAECN |
|
We are currently building out a new Java SDK with Java 1.6. It will be available on GitHub. I can give pre-release access - just need a GitHub ID. Any questions - psanford@splunk.com or ping us on Twitter: @splunkdev |
