Andy Richman

Greenhorn
+ Follow
since Aug 28, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Andy Richman

Thanks for the answers. My employer doesn't want me to update the jre compatibility because he doesn't want to have to retest the app. He just wants me to fix few bugs that are bothering our users. That is the reason for the ancient jre.

I inherited this project from another developer who is now gone and he had set things up for me. Apparently he was using 1.6 in his development environment.

With your information in hand, I found some old documentation that gave the jdbc class as They are both right. I found the class that was being used to be: weblogic.jdbc.mssqlserver4.Driver. With that everything build and works.

(Yes I know it's 32 bits and flashes when run on Windows 7, but the users will be happy with the fixes.)

Thank you for your help.

Andy
11 years ago

I have an applications that is trying to access a sql server 2008 database. Upon trying to access the database I am geting this error. I am using the 1.3.20 jre.

I suspect that I am specifying the jdbc incorrectly, but I am relatively new to Java.

Here is the full stack trace:
Exception occurred during event dispatching:
java.lang.UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver (Unsupported major.minor version 50.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.rims.crtk.db.ConnectionManager.<init>(ConnectionManager.java:85)
at com.rims.crtk.db.ConnectionManager.getInstance(ConnectionManager.java:50)
at com.rims.crtk.db.SQLStmtAgent.createSelectStmt(SQLStmtAgent.java:64)
at com.rims.crtk.db.SQLStmtAgent.createSelectStmt(SQLStmtAgent.java:30)
at com.rims.crtk.persistable.ToolkitRepository.initialize(ToolkitRepository.java:261)
at com.rims.crtk.persistable.ToolkitRepository.getInstance(ToolkitRepository.java:82)
at com.rims.crtk.editor.ToolkitChooser.refresh(ToolkitChooser.java:170)
at com.rims.crtk.editor.ToolkitChooser._createDialog(ToolkitChooser.java:158)
at com.rims.crtk.editor.ToolkitChooser.<init>(ToolkitChooser.java:51)
at com.rims.crtk.editor.ClaimRulesFrame._openToolkit(ClaimRulesFrame.java:418)
at com.rims.crtk.editor.ClaimRulesFrame.access$14(ClaimRulesFrame.java:409)
at com.rims.crtk.editor.ClaimRulesFrame$13.actionPerformed(ClaimRulesFrame.java:1528)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Thanks in advance
11 years ago