The problem is this. The compile server depends on the Main class living in com.sun.tools.javac.Main. The JDE distribution offers the CompileServer compiled with jdk1.3, so it was compile with the jdk1.3 Main class. When you tried to run it with jdk1.4, the Main class being used is different from the Main class that the Compile Server was compile with, hence, the IncompatibleClassChangeError.
Javier P.S. Jim, I bet a lot more people are going to have this problem as they start migrating to jdk1.4. Do you mind adding a FAQ on this problem on the JDE website and how to fix it? > -----Original Message----- > From: apple, jim [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 13, 2001 10:25 AM > To: 'Javier S. L�pez'; 'JDE Mailing List' > Subject: RE: Problems with compile server > "java.lang.IncompatibleClassChangeError" -- Work around > > > The 1.4 vm seems to run 1.3 classes fine, and even in this case I only > compiled this one file and patched the jar. If I had built with > 1.4(javac) > and tried to run with 1.3(vm) then it would make more sense to me. I'm > still a bit puzzled, maybe it's a bug in the 1.4 vm that will be resolved > in > the final version. > > Thanks for all the help, and now that it's working ... It kicks butt > !!!!! > > Bye. > > > -----Original Message----- > > From: Javier S. L�pez [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, November 13, 2001 10:17 AM > > To: apple, jim; 'JDE Mailing List' > > Subject: RE: Problems with compile server > > "java.lang.IncompatibleClassChangeError" -- Work around > > > > > > That's explains it. The class file format is changed for > > jdk1.4, and the > > classes in the distribution were probably compiled with > > jdk1.3. I never > > saw the error because I compile my classes with jdk1.4. > > > > Javier > > > > > -----Original Message----- > > > From: apple, jim [mailto:[EMAIL PROTECTED]] > > > Sent: Tuesday, November 13, 2001 8:32 AM > > > To: 'JDE Mailing List' > > > Subject: RE: Problems with compile server > > > "java.lang.IncompatibleClassChangeError" -- Work around > > > > > > > > > I was able to work around this problem by recompiling > > > CompileServer.java with the 1.4 javac compiler. > > > > > > I repro'd the problem on 2 machines and in both cases, the > > problem > > > was resolved. > > > > > > Thanks to all who responded > > > > > > - Jim > > > > > > > -----Original Message----- > > > > From: apple, jim > > > > Sent: Monday, November 12, 2001 7:48 AM > > > > To: 'JDE Mailing List' > > > > Subject: Problems with compile server > > > > "java.lang.IncompatibleClassChangeError" > > > > > > > > > > > > When I try to compile any file I get this expception > > > > "java.lang.IncompatibleClassChangeError" ? > > > > > > > ... > >
