Menu

#594 SQL plugin not loading

closed-fixed
nobody
None
5
2006-05-09
2006-04-24
No

Have been using the SQL plug-in regularly and without
problems until I upgrade JEDIT from 4.1 to 4.2 and also
tried 4.3pre3. Now the SQL plugin (v1.0.3) will not
load - gives:
Cannot start: java.lang.UnsupportedClassVersionError:
sql/SqlPlugin (Unsupported major.minor version 49.0)
Try updating to a newer version of the plugin.

I am using the latest version (1.0.3) of the plugin.
Any help would be appreciated.

java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

From the Activity.log:
[debug] PluginJAR: Opening H:\jedit\jars\SQL.jar
[error] PluginJAR: Error while starting plugin
sql.SqlPlugin
[error] PluginJAR:
java.lang.UnsupportedClassVersionError: sql/SqlPlugin
(Unsupported major.minor version 49.0)
[error] PluginJAR: at
java.lang.ClassLoader.defineClass0(Native Method)
[error] PluginJAR: at
java.lang.ClassLoader.defineClass(Unknown Source)
[error] PluginJAR: at
java.lang.ClassLoader.defineClass(Unknown Source)
[error] PluginJAR: at
org.gjt.sp.jedit.JARClassLoader._loadClass(JARClassLoader.java:366)
[error] PluginJAR: at
org.gjt.sp.jedit.JARClassLoader.loadClass(JARClassLoader.java:82)
[error] PluginJAR: at
org.gjt.sp.jedit.PluginJAR.activatePlugin(PluginJAR.java:443)
[error] PluginJAR: at
org.gjt.sp.jedit.PluginJAR.activatePluginIfNecessary(PluginJAR.java:536)
[error] PluginJAR: at
org.gjt.sp.jedit.jEdit.main(jEdit.java:418)
[error] ErrorListDialog$ErrorEntry: H:\jedit\jars\SQL.jar:
[error] ErrorListDialog$ErrorEntry: Cannot start:
java.lang.UnsupportedClassVersionError: sql/SqlPlugin
(Unsupported major.minor version 49.0)
[error] ErrorListDialog$ErrorEntry: Try updating to a
newer version of the plugin.

Discussion

  • Alan Ezust

    Alan Ezust - 2006-04-24

    Logged In: YES
    user_id=935841

    it looks like I built it against JDK 1.5 instead of 1.4,
    when I released the plugin. sorry about that.
    I'll rebuild and re-release.
    if you run against jdk 1.5 however, your current sql plugin
    should work fine.

     
  • Alan Ezust

    Alan Ezust - 2006-04-24

    Logged In: YES
    user_id=935841

    i just updated the version on plugin central. try
    uninstalling and reinstalling. i think it will work on jdk
    1.4 now too.

     
  • Alan Ezust

    Alan Ezust - 2006-04-24
    • status: open --> pending-fixed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.