[ooo-build] Go-oo and Java

Kohei Yoshida kyoshida at novell.com
Fri Apr 9 05:46:48 PDT 2010


On Fri, 2010-04-09 at 07:59 +0200, Thorsten Behrens wrote:
> Kohei Yoshida wrote:
> > >  I am asking me, whether there are any intensions to make Go-oo work
> > > completely independent from a JRE and get rid of any dependencies.
> > 
> > No, I don't think we intend to remove all of JRE dependencies.  But
> > let's indulge for a moment and say that we want to remove all our JRE
> > dependencies.  What do we need to do?  First, we will lose some fringe
> > functionalities that depend on JRE, such as various wizards.  Also, some
> > extensions we bundle with depend on Java.  If we were to remove JRE
> > dependency we would somehow need to re-write those in C++.
> > 
> > But the biggest issue would be Base's JRE dependency with hsqldb.
> > Without JRE, you won't be able to store database with the Base document.
> > 
> > So, there would be some hurdles to overcome in order to remove JRE
> > dependencies altogether without losing functionality.  Whether it's
> > doable or not within reasonable effort, or if the loss of these
> > functionalities is warranted in the name of removing JRE dependency, is
> > beyond my knowledge and judgment capability.
> > 
> FWIW, the OOo4Kids project _does_ patch out all Java (and does not
> ship Base), so that work is basically done & proven.

Well, I'd hate to lose the Base's functionality, for sure.  But IMO
someone has to eventually look into making Base JRE independent anyway
since it's a core application.

As for several Java extensions that we ship with go-oo, NLP Solver and
Watch Window *could* be re-written in C++ with some moderate effort, as
they don't rely too much on Java API.  However, GoodDoc extension uses
Swing for its GUI, which is hard to replicate without Java.

Kohei

-- 
Kohei Yoshida - OpenOffice.org Engineer - Novell, Inc.
<kyoshida at novell.com>



More information about the ooo-build mailing list