[GRASS5] Does GRASS have Java?

Thanks glynn.

Indeed we have GRASS 5.0.3. so, yes: no jni code. But we also have 5.0.0., and
yes, there it is, the grass.java directory.

However, isn't there any Java support in Grass5? (It has something to do with
floating-point support, we heard...). If so, other than getting in to the
messy business of updating the java wrapper done for Grass4 (which has a high
potential of failure), is there any other alternative? Doing it in C is not an
option at the moment.

Prabhath

On Mon, 2004-03-08 at 14:41, prabhath@vesess.com wrote:

other than getting in to the
messy business of updating the java wrapper done for Grass4 (which has a high
potential of failure), is there any other alternative? Doing it in C is not an
option at the moment.

Python maybe a better choice. Python wrapper for libgrass is
alailable at:
ftp://intevation.de/users/bernhard/libgrass5/
I didnt tested it, so noidea on it.
If more peoples are interested in it, porting grass57
library to python can be done. (Right now I dont have
any idea on howto do it....)

--
"Freedom Matters"
Sajith VK

On Mar 8, 2004, at 5:38 AM, Sajith VK wrote:

On Mon, 2004-03-08 at 14:41, prabhath@vesess.com wrote:

other than getting in to the
messy business of updating the java wrapper done for Grass4 (which has a high
potential of failure), is there any other alternative? Doing it in C is not an
option at the moment.

Python maybe a better choice. Python wrapper for libgrass is
alailable at:
ftp://intevation.de/users/bernhard/libgrass5/
I didnt tested it, so noidea on it.
If more peoples are interested in it, porting grass57
library to python can be done. (Right now I dont have
any idea on howto do it....)

That python wrapper is more than 3 years old, so its unlikely that it will work.

C.
--
Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
Georgia Cooperative Fish & Wildlife Research Unit, University of Georgia

  Language debate is like relegion debates. Generaly
it is not creative.

Yup, I subscribe to your thought and I apologize for seeming a bit heavy in
this discussion.
The fact is that someone asked for java stuff (mandatory) and we have java
stuff, and we need people to help in the development of JGrass.
To start using our framework would be the best way to support us.

Lot's of people started GUI's for GRASS, but none survived. We dared once
again, building on past experiences. Now we need developers, like GRASS
needs.

So that's all, no need and intention for relegion debate.

Cheers,
Andrea

I do like Java, and swing is the best
"widget set" I ever used. But sad to say, it is "non-free".
I am trying to promote use of free software in my place,
and I wont use any non-free softwares. So Java is not a
choice for me, how better it is.....

I have used several languages and feels python is great.
Its free, and gives me all advantages of Java. Its portable.
Now I feel python has become equal or better to java...
At least very very easy to code.........

If Java was free, and If you offers me a GRASS+Java library,
I would defenitly try it. But now Java is non-free(Free as in
freedom), so it is not a choice for me....

Sorry that the great effort taken by you are in noway helpful
for us. Wondering if you people have did it in python(Or anyother
free language)!

On Mon, 2004-03-08 at 16:58, Andrea Antonello wrote:
> If you want to work on java + GRASS... once again, whoever, contact me
> personally and I'll send you some screenshots and features, so you can
> see that lots of work has been done and that it's really future-oriented.
>
> If you need a portable programming LANGUAGE, java is the choice.
>
> Cheers
> Andrea Antonello
>
> On Monday 08 March 2004 11:38, Sajith VK wrote:
> > On Mon, 2004-03-08 at 14:41, prabhath@vesess.com wrote:
> > > other than getting in to the
> > > messy business of updating the java wrapper done for Grass4 (which
> > > has a high potential of failure), is there any other alternative?
> > > Doing it in C is not an option at the moment.
> >
> > Python maybe a better choice. Python wrapper for libgrass is
> > alailable at:
> > ftp://intevation.de/users/bernhard/libgrass5/
> > I didnt tested it, so noidea on it.
> > If more peoples are interested in it, porting grass57
> > library to python can be done. (Right now I dont have
> > any idea on howto do it....)

--
____________________________________________________________________________

University of Trento
Department of Civil and Environmental Engineering
Via Mesiano, 77 - Trento (ITALY)

Andrea Antonello
tel: +393288497722
fax: +390461882672
____________________________________________________________________________