5 Replies Latest reply: Mar 15, 2011 1:13 AM by 847409 RSS

    Java Runtime Environment (JRE) version 1.6 is not supported by this driver.

    741403
      I am getting this error when I was trying to Create a New IT Resource. I am already using sqljdbc4.jar.

      Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.

      Should I install a lower version JDK?

      Environment:
      OIM 9.1.0.2
      Oracle 10g 10.2.0.1.0
      JBoss 4.2.3
      JDK 1.6.0_17
      sqljdbc_2.0(sqljdbc4.jar)
      Database_Access_9045

      Please help
        • 1. Re: Java Runtime Environment (JRE) version 1.6 is not supported by this driver.
          741403
          Class/Method: tcActionBase/execute encounter some problems: Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.
          java.lang.UnsupportedOperationException: Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.
               at com.microsoft.sqlserver.jdbc.SQLServerConnection.<init>(SQLServerConnection.java:223)
               at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:840)
          • 2. Re: Java Runtime Environment (JRE) version 1.6 is not supported by this driver.
            741403
            I figured out the problem with the sqljdbc4.jar but...


            now i am getting this error

            java.lang.ClassNotFoundException: No ClassLoaders found for: com.microsoft.sqlserver.jdbc.SQLServerDriver
                 at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
                 at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
                 at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
                 at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
                 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
                 at java.lang.Class.forName0(Native Method)
                 at java.lang.Class.forName(Class.java:169)
            • 3. Re: Java Runtime Environment (JRE) version 1.6 is not supported by this driver.
              Sunny.Saxena
              I dont understand the problem very clearly, the creating IT resource part. So can you put more stuff.

              Anyway, if you are seeing this error while cereation of a new connector(GTC), then you must have not put the required jar file sqljdbc4.jar in the *<OIM_HOME>/xellerate/ThirdParty* folder possibly. Such errors for class loading should only come when the OIM is not able to load the class files for these jars. Just try.

              If you are doing something else, let me know.

              Thanks

              Sunny
              • 4. Re: Java Runtime Environment (JRE) version 1.6 is not supported by this driver.
                741403
                I already figured it out....

                I basically have two test environments. One in WAS and the other in JBOSS.

                I am using Jdk 1.6 on both but since WAS uses its own Java(Jdk 1.5?) i used sqljdbc.jar and on JBOSS i used sqljdbc4.jar. File need to be on both xellerate/ThirdParty/ and <JBOSS>/server/default/lib

                Edited by: user12057237 on Jan 18, 2010 4:44 PM
                • 5. Re: Java Runtime Environment (JRE) version 1.6 is not supported by this driver.
                  847409
                  Remove sqljdbc.jar from lib path (example:/WebSphere/AppServer/lib) and keep only sqljdbc4.jar.
                  Then restart appserver. It would work fine.

                  MarkECM

                  Edited by: user7181331 on Mar 14, 2011 11:13 PM