messages in .log:
!ENTRY org.eclipse.core.runtime 2 1 Apr 29, 2005
09:58:27.688
!MESSAGE Problems encountered loading the plug-in
registry.
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Apr 29,
2005 09:58:27.688
!MESSAGE Name attribute missing from plug-in or
fragment at "file:D:/Program
Files/Eclipse/plugins/net.sf.colorer_0.7.0/plugin.xml".
Logged In: YES
user_id=313042
EclipseColorer plugin.xml is compatible only with Eclipse3.0
and higher.
Will make a separate package for 2.1 line.
Logged In: YES
user_id=313042
Eclipse 2.1.3 compatible package added.
Logged In: YES
user_id=1024166
really appreciate the prompt response.
Logged In: YES
user_id=1024166
re-opening since EclipseColorer-take5_0.7.0_eclipse213.zip
won't load either: got this in .log:
!ENTRY org.eclipse.ui.workbench 4 2 May 09, 2005
11:49:53.875
!MESSAGE Problems occurred when invoking code from plug-
in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.UnsupportedClassVersionError:
net/sf/colorer/eclipse/ColorerPlugin (Unsupported major.minor
version 49.0)
at java.lang.ClassLoader.defineClass0(Native
Method)
apparently 1.5-compiled.
so i tried to import the src into a Eclipse plug-in project, with
some success after adding in the appropriate classpath
variables, but then got hit by these:
The constructor Action(String, int) is undefined
(HRCRegionsTreeView.java:319)
org.eclipse.ui.IPartListener2 cannot be resolved
(HRCRegionsTreeView.java:49)
which seem to exist only since Eclipse 3.0.
Logged In: YES
user_id=313042
Double checked - the code is in JDK 1.4 compatibility mode.
Are you sure you are using jdk >= 1.4 ?
Logged In: YES
user_id=1024166
running Eclipse in
Java HotSpot Client VM (build 1.4.0_01-b03, mixed mode)
the eclipse213 binary may well be 2.1.3 compatible, but the
source seems not, which, i think, is reasonable. perhaps a
separate source package for 2.1.3 will help those who have
problem with the binary.
Logged In: YES
user_id=1024166
installed the latest JDK 1.4.2 and still got the class version
error in Eclipse when opening a JSP file:
!SESSION May 18, 2005 11:53:22.33 -----------------------------------
-----------
java.version=1.4.2_08
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32,
NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -nl
en_US -install file:D:/Program Files/Eclipse/
!ENTRY org.eclipse.ui.workbench 4 2 May 18, 2005
11:53:22.33
!MESSAGE Problems occurred when invoking code from plug-
in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.UnsupportedClassVersionError:
net/sf/colorer/eclipse/ColorerPlugin (Unsupported major.minor
version 49.0)
also tried accessing the class directly with the JDK:
D:\>\jdk142\bin\java -version
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
D:\>\jdk142\bin\java -cp colorer.jar
net.sf.colorer.eclipse.editors.ColorerEditor
Exception in thread "main"
java.lang.UnsupportedClassVersionError:
net/sf/colorer/eclipse/editors/ColorerEditor (Unsupported
major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass
(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass
(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass
(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100
(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run
(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native
Method)
at java.net.URLClassLoader.findClass
(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass
(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass
(Launcher.java:274)
at java.lang.ClassLoader.loadClass
(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal
(ClassLoader.java:302)
Logged In: YES
user_id=313042
recompiled in jdk 1.2 compatibility mode. tested on eclipse 2.
1.3 and jdk 1.4