[Java-gnome-developer] build probs
Brought to you by:
afcowie
From: <bi...@ma...> - 2002-05-17 15:41:15
|
> OK: > 1. ./configure --with-gcj-prefix=3D/usr/share/gcc-3.0.4/ --with-gtl-only=20 > +ENTER > 2. make + ENTER > 3. make install +ENTER >=20 > But when I tried to compile with gcj or to run compiled class-files with=20 > java, this happens: >=20 > gcj -fPIC -fjni -g -O -o TestGTK --main=3DTestGTK TestGTK.java -lGTKJar = -L /home/clemi/Java/downloads/java-gtk-0.7.1/lib/gtk.jar >=20 > It looks like it cant find anything..: >=20 > TestGTK.java:1694: Type `GtkHSeparator' not found in the declaration of t= he local variable `separator'. > GtkHSeparator separator =3D new GtkHSeparator(); > ^ > TestGTK.java:1697: Type `GtkVBox' not found in the declaration of the loc= al variable `box3'. > GtkVBox box3 =3D new GtkVBox(false, 10); > ^ > TestGTK.java:1701: Type `GtkButton' not found in the declaration of the l= ocal variable `button' > GtkButton button =3D new GtkButton("close"); >=20 >=20 > So whats wrong, please help me. I really, really tried out anything I=20 > know, but I dont get it working... >=20 > Thx Clemens >=20 >=20 if running "make" twice didnt work for you,then check that CLASSPATH exists >set | grep CLASSPATH if its not there, then do >export CLASSPATH=3D S=F8ren |