Re: [Java-gnome-developer] libgtk help
Brought to you by:
afcowie
From: Skip C. <sco...@gm...> - 2004-11-06 16:06:35
|
Hey there, Thanks for the response. I already had JAVAC correctly set. I un-installed jikes just to make certain that it could not be used. Unfortunately, the error still persists. Any other suggestions ? scoon On Sat, 6 Nov 2004 14:51:14 +0000, Mark Howard <mh...@ti...> wrote: > On Sat, Nov 06, 2004 at 08:33:08AM -0500, Skip Coon wrote: > > Using sun's jdk-1.4.2.05: > > Exception in thread "main" java.lang.UnsupportedClassVersionError: > > org/gnu/glade/LibGlade (Unsupported major.minor version 49.0) > > at java.lang.ClassLoader.defineClass0(Native Method) > > This is an inconsistancy in the class file format. You probably compiled > java-gnome with jikes. (the makefiles automatically pick a java compiler to use, > preferring open source ones). As default, this generates class files which are > too new for sun/blackdown java. This can be overridden with jikes --target 1.3. > To make java-gnome do this, you would have to modify the makefiles. > > Alternatively, use another compiler for the job: > export JAVAC=javac before running autogen and make will make the scripts use > javac rather than jikes. > If you do this, be sure to remove all jar and class files first (make clean > should do this for you), otherwise some may not be recompiled. > > -- > .''`. Mark Howard > : :' : > `. `' http://www.tildemh.com > `- mh...@de... | mh...@ti... > |