[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem for building ozone
On Wed, 20 Jun 2001, Wen Xie wrote:
>
> Hi,
>
> I downloaded ozone1.0.1 and set variables as instructed in INSTALL file. I also included tools.jar in the path. I am using win2000 server and jdk1.3. I still get the following error:
>
> -------------------------------------------------------------------------------------------------------------------------------
> C:\Ozone\ozone-1.0.1>build.bat
> Buildfile: build.xml
> Project base dir set to: C:\Ozone\ozone-1.0.1
> Executing Target: init
> Executing Target: prepare
> Executing Target: DxLib
> Compiling 63 source files to C:\Ozone\ozone-1.0.1
> Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/javac/Main
> at org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java:421)
> at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:218)
> at org.apache.tools.ant.Target.execute(Target.java:120)
> at org.apache.tools.ant.Project.runTarget(Project.java:658)
> at org.apache.tools.ant.Project.executeTarget(Project.java:407)
> at org.apache.tools.ant.Main.runBuild(Main.java:240)
> at org.apache.tools.ant.Main.main(Main.java:191)
> ----------------------------------------------------------------------------------------------------------------------------
>
> Then I delete the line from build.xml:
> <property name="build.compiler" value="classic"/>
> as suggested by Falko, here is the error message that I got:
>
> -----------------------------------------------------------------------------------------------------------------------------
> C:\Ozone\ozone-1.0.1>build.bat
> Buildfile: build.xml
> Project base dir set to: C:\Ozone\ozone-1.0.1
> Executing Target: init
> Executing Target: prepare
> Executing Target: DxLib
> Compiling 63 source files to C:\Ozone\ozone-1.0.1
> Performing a Modern Compile
> Executing Target: org.ozoneDB.tools
> Compiling 10 source files to C:\Ozone\ozone-1.0.1
> Performing a Modern Compile
> Executing Target: org.ozoneDB.tools.OPP
> [exec] -- Suppressing non fatal warnings.
> Compiling 18 source files to C:\Ozone\ozone-1.0.1
> Performing a Modern Compile
> Executing Target: tools
> Executing Target: server
> Compiling 122 source files to C:\Ozone\ozone-1.0.1
> Performing a Modern Compile
> [error] java.lang.NoClassDefFoundError: org/ozoneDB/tools/OPP/OPP
> [error] Exception in thread "main"
> [exec] Result: 1
> Executing Target: odmg
> Compiling 40 source files to C:\Ozone\ozone-1.0.1
> Performing a Modern Compile
> Executing Target: xa
> Compiling 3 source files to C:\Ozone\ozone-1.0.1
> Performing a Modern Compile
> Executing Target: blob
> Compiling 6 source files to C:\Ozone\ozone-1.0.1
> Performing a Modern Compile
> [error] java.lang.NoClassDefFoundError: org/ozoneDB/tools/OPP/OPP
> [error] Exception in thread "main"
> [exec] Result: 1
> Executing Target: xml
> Compiling 41 source files to C:\Ozone\ozone-1.0.1
> Performing a Modern Compile
> [error] java.lang.NoClassDefFoundError: org/ozoneDB/tools/OPP/OPP
> [error] Exception in thread "main"
> [exec] Result: 1
> Compiling 15 source files to C:\Ozone\ozone-1.0.1
> Performing a Modern Compile
> [error] java.lang.NoClassDefFoundError: org/ozoneDB/tools/OPP/OPP
> [error] Exception in thread "main"
> [exec] Result: 1
> Executing Target: samples
> Project base dir set to: C:\Ozone\ozone-1.0.1\samples\simple
> Project base dir set to: C:\Ozone\ozone-1.0.1\samples\simple
> IOException getting canonical path for C:\Ozone\ozone-1.0.1\samples\simple\*.cla
> ss .\*_Proxy.*: The system cannot find the path specified
> Executing Target: init
> Executing Target: prepare
> Executing Target: classes
> Compiling 5 source files to C:\Ozone\ozone-1.0.1\samples\simple
> Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/javac/Main
> at org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java:421)
> at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:218)
> at org.apache.tools.ant.Target.execute(Target.java:120)
> at org.apache.tools.ant.Project.runTarget(Project.java:658)
> at org.apache.tools.ant.Project.executeTarget(Project.java:407)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:127)
> at org.apache.tools.ant.Target.execute(Target.java:120)
> at org.apache.tools.ant.Project.runTarget(Project.java:658)
> at org.apache.tools.ant.Project.executeTarget(Project.java:407)
> at org.apache.tools.ant.Main.runBuild(Main.java:240)
> at org.apache.tools.ant.Main.main(Main.java:191)
> -------------------------------------------------------------------------------------------------------------------------------------------
>
> Could someone help me with this? Thanks a lot!
samples/simple has its own build.xml. You probably have to edit this one too.
Falko
--
______________________________________________________________________
Falko Braeutigam mailto:falko@smb-tec.com
SMB GmbH http://www.smb-tec.com