<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SA-ldapsearch problems with java in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138016#M11684</link>
    <description>&lt;P&gt;I'll post an answer here with what we do.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Apr 2014 14:32:20 GMT</pubDate>
    <dc:creator>ahall_splunk</dc:creator>
    <dc:date>2014-04-23T14:32:20Z</dc:date>
    <item>
      <title>SA-ldapsearch problems with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138011#M11679</link>
      <description>&lt;P&gt;I have installed java7&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;C:\Users\Administrator&amp;gt;java -version
java version "1.7.0_55" Java(TM) SE
Runtime Environment (build
1.7.0_55-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed
mode)&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;but when I use ldapsearch command,it returns errors like the following:&lt;BR /&gt;
 - at java.lang.ClassLoader.defineClass(Unknown Source)&lt;BR /&gt;
at java.lang.ClassLoader.defineClass1(Native Method)&lt;BR /&gt;
at java.lang.ClassLoader.loadClass(Unknown Source)&lt;BR /&gt;
at java.net.URLClassLoader$1.run(Unknown Source)&lt;BR /&gt;
at java.net.URLClassLoader.access$100(Unknown Source)&lt;BR /&gt;
at java.net.URLClassLoader.defineClass(Unknown Source)&lt;BR /&gt;
at java.net.URLClassLoader.findClass(Unknown Source)&lt;BR /&gt;
at java.security.AccessController.doPrivileged(Native Method)&lt;BR /&gt;
at java.security.SecureClassLoader.defineClass(Unknown Source)&lt;BR /&gt;
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)&lt;BR /&gt;
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)&lt;BR /&gt;
Exception in thread "main"&lt;BR /&gt;
External search command 'ldapsearch' returned error code 1.&lt;BR /&gt;
java.lang.UnsupportedClassVersionError: com/splunk/program/LDAPSearch : Unsupported major.minor version 52.0&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:25:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138011#M11679</guid>
      <dc:creator>500wan</dc:creator>
      <dc:date>2020-09-28T16:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: SA-ldapsearch problems with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138012#M11680</link>
      <description>&lt;P&gt;I'm having this issue too. I have a support case into Splunk asking about this, but I believe that one of their jars was compiled with a version higher than the current 1.7.0_55 Java version (version 51.0). When extracting some of the jars and looking in their manifest files, I noticed customcommands.jar was compiled by Java version 1.8.0-b132, which I believe is only available on the Oracle site right now and matches as version 52.0 due to some searching around I did.&lt;/P&gt;

&lt;P&gt;There's no indication that the app requires Java 8 at this time - at least from what I saw - but I could be wrong and this could be a new requirement.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2014 18:11:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138012#M11680</guid>
      <dc:creator>fsanche8</dc:creator>
      <dc:date>2014-04-22T18:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: SA-ldapsearch problems with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138013#M11681</link>
      <description>&lt;P&gt;I think you are right.&lt;BR /&gt;
I have download jre-8u5 and install it, the the problem has been solved.&lt;BR /&gt;
Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2014 07:03:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138013#M11681</guid>
      <dc:creator>500wan</dc:creator>
      <dc:date>2014-04-23T07:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: SA-ldapsearch problems with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138014#M11682</link>
      <description>&lt;P&gt;This should not be required.  I'll get it fixed.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2014 14:09:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138014#M11682</guid>
      <dc:creator>ahall_splunk</dc:creator>
      <dc:date>2014-04-23T14:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: SA-ldapsearch problems with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138015#M11683</link>
      <description>&lt;P&gt;Thank you! Will the fix come in the form of a new version update or will you just comment in this thread when it's fixed?&lt;/P&gt;

&lt;P&gt;Appreciate it.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2014 14:26:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138015#M11683</guid>
      <dc:creator>fsanche8</dc:creator>
      <dc:date>2014-04-23T14:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: SA-ldapsearch problems with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138016#M11684</link>
      <description>&lt;P&gt;I'll post an answer here with what we do.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2014 14:32:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138016#M11684</guid>
      <dc:creator>ahall_splunk</dc:creator>
      <dc:date>2014-04-23T14:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: SA-ldapsearch problems with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138017#M11685</link>
      <description>&lt;P&gt;Thanks for your patience.&lt;/P&gt;

&lt;P&gt;We have recompiled SA-ldapsearch 1.1.12 with Java 1.7.  If you re-download the SA-ldapsearch 1.1.12 (the latest at &lt;A href="http://apps.splunk.com/app/1151"&gt;http://apps.splunk.com/app/1151&lt;/A&gt;), then you will get the updated version that works on Java 1.7&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2014 15:24:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138017#M11685</guid>
      <dc:creator>ahall_splunk</dc:creator>
      <dc:date>2014-04-23T15:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: SA-ldapsearch problems with java</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138018#M11686</link>
      <description>&lt;P&gt;Believe I have the same issue as well.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;at java.lang.ClassLoader.defineClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/splunk/program/LDAPSearch : Unsupported major.minor version 52.0
External search command 'ldapsearch' returned error code 1.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;java version "1.7.0_09"&lt;BR /&gt;
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)&lt;BR /&gt;
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)&lt;/P&gt;

&lt;P&gt;Running version 1.1.12 of the app. &lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:30:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SA-ldapsearch-problems-with-java/m-p/138018#M11686</guid>
      <dc:creator>dchodur</dc:creator>
      <dc:date>2020-09-28T16:30:37Z</dc:date>
    </item>
  </channel>
</rss>

