Re: [Java-gnome-developer] libgtk help
Brought to you by:
afcowie
From: Mark H. <mh...@ti...> - 2004-11-06 14:51:37
|
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... |