ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@ebinteractive.com.au>
Subject RE: ant crash
Date Mon, 20 Nov 2000 22:05:04 GMT
Define JAVA_HOME so that ant can find tools.jar which contains the compiler.

--
Conor MacNeill
conor@cortexebusiness.com.au
Cortex eBusiness
http://www.cortexebusiness.com.au
-----Original Message-----
From: eolo eolo [mailto:eolosal@hotmail.com]
Sent: Tuesday, 21 November 2000 3:01
To: ant-dev@jakarta.apache.org
Subject: ant crash




Hi everybody,

I'm trying to compile a demo that went with JacORB-1_2_3 and when try it.
Ant crash generating the next error message:

init_compile:
    [mkdir] Created dir: /export/home/soft/JacORB-1_2_3/classes/demo
any:
init:
idl:
all:
    [javac] Compiling 18 source files to
/export/home/soft/JacORB-1_2_3/classes
BUILD FAILED
java.lang.NoClassDefFoundError: sun/tools/javac/Main
        at org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javacjava,
Compiled Code)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java, Compiled
Code)
        at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
        at org.apache.tools.ant.Project.runTarget(Project.java, Compiled
Code)
        at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
Code)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java, Compiled
Code)
        at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
        at org.apache.tools.ant.Project.runTarget(Project.java, Compiled
Code)
        at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
Code)
        at org.apache.tools.ant.Project.executeTargets(Project.java,
Compiled Code)
        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java, Compiled Code)


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

bash-2.03$ env
PWD=/export/home/soft/JacORB-1_2_3/demo
jacorb=/export/home/pfc/epi/jacorb/jacorb
LD_LIBRARY_PATH=/opt/SUNWspro/lib:/export/home/Office50/bin:/usr/local/lib:
CLASSPATH=/usr/java/xml/jaxp.jar:/usr/java/xml/parser.jar:/usr/java/ant/ant.
jar:/export/home/soft/JacORB-1_2_3/classes
MANPATH=:/usr/local/man:
MACHTYPE=sparc-sun-solaris2.6
SHELL=/bin/sh
HOSTTYPE=sparc
OSTYPE=solaris2.6
PATH=/usr/bin:/usr/openwin/bin:/usr/local/bin:/opt/netscape:/opt/Acrobat3/bi
n:/export/home/soft/JacORB-1_2_3/bin:/usr/ant/bin
______________________________________________


Any suggestion??


Regards, Epi

___________________________________________________________
Get more from your time online. FREE MSN Explorer download :
http://explorer.msn.com


Mime
View raw message