[GRASS5] Compiling grass-jni

Hi, I'm trying to compile GRASS-JNI. I followed the procedure explained in the INSTALL file but I get several errors when I run make jar:

[bruno@localhost grass.java]$ make jar
javac -deprecation -g -d . GRASS/libgis.java
GRASS/libgis.java:130: cannot resolve symbol
symbol : class GRASSException
location: class GRASS.libgis
  ) throws GRASSException {
           ^
GRASS/libgis.java:174: cannot resolve symbol
symbol : class GRASSException
location: class GRASS.libgis
  public libgis(String appname) throws GRASSException {
                                       ^
GRASS/libgis.java:406: cannot resolve symbol
symbol : class Cellhead
location: class GRASS.libgis
  public native Cellhead G_get_window();
                ^
GRASS/libgis.java:423: cannot resolve symbol
symbol : class Cellhead
location: class GRASS.libgis
  public native Cellhead G_get_default_window();
                ^
GRASS/libgis.java:477: cannot resolve symbol
symbol : class Cellhead
location: class GRASS.libgis
  public native void G_set_window(Cellhead ch) throws GRASSException;
                                  ^
GRASS/libgis.java:477: cannot resolve symbol
symbol : class GRASSException
location: class GRASS.libgis
  public native void G_set_window(Cellhead ch) throws GRASSException;
                                                      ^

etc etc. I'm attaching the modified GNUmakefile. I would appreciate any help.

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

(attachments)

GNUmakefile (7.64 KB)

try setting your CLASSPATH to .:$CLASSPATH ( assuming a bash shell). You
need the local directory,

brurien@netscape.net wrote:

Hi, I'm trying to compile GRASS-JNI. I followed the procedure explained in the INSTALL file but I get several errors when I run make jar:

[bruno@localhost grass.java]$ make jar
javac -deprecation -g -d . GRASS/libgis.java
GRASS/libgis.java:130: cannot resolve symbol
symbol : class GRASSException
location: class GRASS.libgis
) throws GRASSException {
          ^
yada yada yada....

etc etc. I'm attaching the modified GNUmakefile. I would appreciate any help.