You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by "Johns, D Eric, MAJ, 101ST, EMB, 698-7407" <er...@mebngr.ang.af.mil> on 2003/05/01 14:43:47 UTC

Compile Issues

I cannot get the xindice 1.0 files to compile on my Windows 2000 machine. I
am using java version 1.4.1_02 build 1.4.1_02-b06. I am using the upgraded
batch files for version 1.0 on the user forum. Other java apps work without
a flaw on my machine.

I am not using cocoon or any other server applications. I just want to run a
simple XML database on my machine and test/demo some things. Am I in the
wrong neighborhood?

JAVA_HOME=c:\j2sdk

classpath=.;%JAVA_HOME%\bin;\lib\classes.zip;

PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%PATH%;%J
AVA_HOME%\bin;C:\Program Files\Common Files\Adaptec Shared\System;

(I moved JAVA_HOME up in the Path to avoid the spaces.) 


> Xindice Build System
> --------------------
> 
> Building with classpath
> c:\j2sdk\lib\tools.jar;.\java\lib\ant-1.4.1.jar;.\java\lib\examples.jar;.\
> java\lib\infozone-tools.jar;.\java\lib\openorb-1.2.0.jar;.\java\lib\openor
> b_tools-1.2.0.jar;.\java\lib\xalan-2.0.1.jar;.\java\lib\xerces-1.4.3.jar;.
> \java\lib\xindice.jar;.\java\lib\xml-apis-1.0.jar;.\java\lib\xmldb-sdk.jar
> ;.\java\lib\xmldb-xupdate.jar;.\java\lib\xmldb.jar
> 
> Starting Ant...
> Buildfile: build.xml
> 
> init:
> 
> idl:
> 
> prepare:
> 
> clean-jar:
>    [delete] Deleting: C:\xml-xindice\java\lib\xindice.jar
>    [delete] Unable to delete file C:\xml-xindice\java\lib\xindice.jar
> 
> src:
>      [echo] Compiling Source
>     [javac] Modern compiler is not available - using classic compiler
>     [javac] Compiling 324 source files to C:\xml-xindice\java\classes
> 
> BUILD FAILED
> 
> C:\xml-xindice\build.xml:123: Cannot use classic compiler, as it is not
> available A common solution is to set the environment variable JAVA_HOME
> to your jdk directory.
> 
> Total time: 0 seconds
> 
> 
Eric