[Open Office] problem with beanshell

Lupine thelupine at softhome.net
Thu Oct 20 10:47:05 EDT 2005


On Thu, 2005-10-20 at 17:06 +0300, İsmail Dönmez wrote:
> > Java: java -version
> > java version "1.5.0_04"
>                          ^^^^^^^^^^
> 
> Try with Java SDK 1.4.x . Looks like OpenOffice.org doesn't support 1.5 yet.



On Thu, 2005-10-20 at 16:05 +0200, Jan Holesovsky wrote: 
> 
> Java 1.5 is not supported yet, AFAIK.  There is a 'morejava' CWS up-stream, 
> but it hasn't been integrated yet :-(  Please re-try with 1.4.2, or try to 
> extract the CWS using 'ooo-build/bin/cws-extract' & add it to your 'apply' 
> file.  I am sorry, I am unable to test it myself ATM...



Thanks for the tips, but it looks like I'm still having a problem.  I
installed:

java -version
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)

...and though the error has changed, I'm still getting an error:

=============
Building project beanshell
=============
/home/da104983/DLoads/OfficeApps/ooo-build-2.0.0/build/ooo680-m3/beanshell
-------------
mkdir ./unxlngi6.pro/misc/build/BeanShell/
mkdir: cannot create directory `./unxlngi6.pro/misc/build/BeanShell/':
File exists
cd ./unxlngi6.pro/misc/build/BeanShell/ && dmake    && touch
so_built_ooo_beanshell
-------------
/usr/share/ant/bin/ant -Dprj=../../../.. -Dprjname=ooo_beanshell
-Ddebug=off -Doptimize=on  -Dtarget=jarall -Dsolar.update=on
-Dout=../../../../unxlngi6.pro -Dinpath=unxlngi6.pro -Dproext=".pro"
-Dsolar.bin=/home/da104983/DLoads/OfficeApps/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi6.pro/bin -Dsolar.jar=/home/da104983/DLoads/OfficeApps/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi6.pro/bin -Dsolar.doc=/home/da104983/DLoads/OfficeApps/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi6.pro/doc  -Dcommon.jar=/home/da104983/DLoads/OfficeApps/ooo-build-2.0.0/build/ooo680-m3/solver/680/common.pro/bin -Dcommon.doc=/home/da104983/DLoads/OfficeApps/ooo-build-2.0.0/build/ooo680-m3/solver/680/common.pro/doc  -f build.xml  -emacs
Buildfile: build.xml

checkjjt:

jjtree:

checkjj:

javacc:

builddir:

compile:
Compiling 74 source files
to /home/da104983/DLoads/OfficeApps/ooo-build-2.0.0/build/ooo680-m3/beanshell/unxlngi6.pro/misc/build/BeanShell/classes
/home/da104983/DLoads/OfficeApps/ooo-build-2.0.0/build/ooo680-m3/beanshell/unxlngi6.pro/misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java:110: cannot access bsh.Variable
bad class
file: /home/da104983/DLoads/OfficeApps/ooo-build-2.0.0/build/ooo680-m3/beanshell/unxlngi6.pro/misc/build/BeanShell/classes/bsh/Variable.class
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the
classpath.
        Variable [] vars;
        ^
1 error

BUILD FAILED
/home/da104983/DLoads/OfficeApps/ooo-build-2.0.0/build/ooo680-m3/beanshell/unxlngi6.pro/misc/build/BeanShell/build.xml:176: Compile failed; see the compiler error output for details.

Total time: 2 seconds
dmake:  Error code 1, while making 'ANTBUILD'
'---* tg_merge.mk *---'
dmake:  Error code 255, while making
'./unxlngi6.pro/misc/build/so_built_ooo_beanshell'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while
making /home/da104983/DLoads/OfficeApps/ooo-build-2.0.0/build/ooo680-m3/beanshell
make: *** [stamp/build] Error 1

----------------------------------------------------------


All I did was download the older Java, installed it while removing 1.5
and just re-ran "make clean && make".  Should I start completely over,
or is there some other issue going on here?

Thanks,
-Lup



More information about the Openoffice mailing list