严重: 此驱动程序不支持 Java Runtime Environment (JRE) 1.6 版。请使用支持 JDBC 4.0 的 sqljdbc4.jar

问题描述

驱动已经换了好多次了1.8的换成1.6还是这个问题严重:此驱动程序不支持JavaRuntimeEnvironment(JRE)1.6版。请使用支持JDBC4.0的sqljdbc4.jar类库。java.lang.UnsupportedOperationException:此驱动程序不支持JavaRuntimeEnvironment(JRE)1.6版。请使用支持JDBC4.0的sqljdbc4.jar类库。atcom.microsoft.sqlserver.jdbc.SQLServerConnection.<init>(SQLServerConnection.java:238)atcom.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:841)atjava.sql.DriverManager.getConnection(DriverManager.java:582)atjava.sql.DriverManager.getConnection(DriverManager.java:185)atcom.suda.yanZheng.doGet(yanZheng.java:28)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:617)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:723)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)atorg.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)atorg.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)atorg.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)atjava.lang.Thread.run(Thread.java:662)数据库jar包两个也没用不知道什么问题

解决方案

解决方案二:
可能你的sqljdbc4.jar实际是MS提供的sqljdbc41.jar去ms网站重新下载http://msdn.microsoft.com/zh-cn/library/ms378422(v=sql.110).aspxhttp://msdn.microsoft.com/zh-cn/library/ms378526(v=sql.110).aspx下载:http://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx
解决方案三:
JDK6已经过时了尽早升级JDK
解决方案四:
引用2楼tianfang的回复:

JDK6已经过时了尽早升级JDK

解决方案五:
引用3楼bcsflilong的回复:

Quote: 引用2楼tianfang的回复:
JDK6已经过时了尽早升级JDK

看看jdk1.6的oracle说明

时间: 2024-08-02 05:20:32

严重: 此驱动程序不支持 Java Runtime Environment (JRE) 1.6 版。请使用支持 JDBC 4.0 的 sqljdbc4.jar的相关文章

A Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Ecl

        新年上班第一天,Eclipse就闹别扭了,打开时报错(以管理员权限运行依旧报错) A Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No java virtual machine was found after searching the following locations:E:eclipse\jre\bin\jac

怎么安装Java Runtime Environment

Java Runtime Environment是运行java程序所必需的最小安装包,是java的核心运行环境.那么我们要怎么安装Java Runtime Environment,小编给大家提供Java Runtime Environment安装教程 首先进入oracle网站(java现在是归属于Orcle的),选择downloads->Java SE. 进入java SE的下载页面, 选择如图所示的jre 下载按钮 注意:JDK是用来做Java开发的(Java Development Kit)

An unexpected error has been detected by Java Runtime Environment

最近团队内部遇到一个非常奇怪的问题.网上有人说是sun公司的bug,我在这里贴一下,有兴趣的同志可以研究一下.据说,换一个java版本就好了,团队内部正在进行升级java版本.sun公司官网解释:https://www.java.net/node/670924程序异常error如下: # # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0

程序运行到一半报错,An unexpected error has been detected by Java Runtime Environment:

问题描述 ##AnunexpectederrorhasbeendetectedbyJavaRuntimeEnvironment:##InternalError(0xe06d7363),pid=3684,tid=1212##JavaVM:JavaHotSpot(TM)ClientVM(11.3-b02mixedmodewindows-x86)#Problematicframe:#C[KERNELBASE.dll+0x812f]##Ifyouwouldliketosubmitabugreport,p

A fatal error has been detected by the Java Runtime Environment

问题描述 这个问题快困扰死我了,还请各路大神帮忙解决下啊 解决方案 解决方案二:补个图解决方案三:看你的log解决方案四:因为太多了传不上来我全截成图了解决方案五:这个log真的太长了继续--解决方案六:有没有能看懂的求助下

Windows 7 bug: nonexistent Java Runtime Enviroment

When I tried installing atunes and TED, I got the message "The registry refers to a nonexistent Java Runtime Enviroment Installation or the runtime is corrupted.The system path cannot find the path specified." I fixed it up by opening regedit.ex

安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in &#039;(null)&#039;的解决

原文地址: http://www.cnblogs.com/tearer/archive/2012/06/21/2557980.html   安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决办法. 先到http://www.java.com/zh_CN/download/manual.jsp下载适用于本机的jre版本1.安装jre7u3,安装路径:

Could not find the required version of the Java(TM)2 Runtime Environment in &amp;#39;(null)&amp;#39; 解决办法

我64位win7安装java_ee_sdk-6u4-jdk7-windows-x64-ml.exe,提示Could not find the required version of the Java(TM)2 Runtime Environment in '(null)'网上搜了下解决方法参照:http://zhidao.baidu.com/question/404702217.html "我也遇到了和你相同的遭遇,心急火燎啊,甚至寝食难安.琢磨来琢磨去,怎么都不行.查了许多相关问题的资料,都没

安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in &amp;#39;(null)&amp;#39;的解决办法。

国内私募机构九鼎控股打造APP,来就送 20元现金领取地址:http://jdb.jiudingcapital.com/phone.html内部邀请码:C8E245J (不写邀请码,没有现金送)国内私募机构九鼎控股打造,九鼎投资是在全国股份转让系统挂牌的公众公司,股票代码为430719,为"中国PE第一股",市值超1000亿元.    ----------------------------------------------------------------------------