You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Tony Chen <tc...@clinton.com> on 2002/09/27 21:10:17 UTC
help on build axis from source code 09202002 night
Hello,
I try to build axis from source code.
java org.apache.tools.ant.Main compile
I got the following error.
BUILD FAILED
file:L:/axis_rc1/09202002night/src/xml-axis/java/build.xml:79: Unable to
find a javac compiler
com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does
not point the JDK.
Any help?
Thanks!
--tony
Re: help on build axis from source code 09202002 night
Posted by Tony Chen <tc...@clinton.com>.
It says
==========
L:\axis_rc1\09202002night\src\xml-axis\java>G:\j2sdk1.4.0\bin\javac
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-O Optimize; may hinder debugging or enlarge class file
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-help Print a synopsis of standard options
L:\axis_rc1\09202002night\src\xml-axis\java>
==========
Thank you!
--tony
Matt Seibert wrote:
> Okay, good.
>
> Execute G:\j2sdk1.4.0\bin\javac and see what it says
>
> Matt Seibert mseibert@us.ibm.com
> IBM External: (512) 838-3656 Internal: 678-3656
>
>
> Tony Chen
> <tchen@clinton.co To: axis-user@xml.apache.org
> m> cc:
> Subject: Re: help on build axis from source code 09202002 night
> 09/27/2002 14:33
> Please respond to
> axis-user
>
>
> I use the following bat set up env
>
> setjavaenv.bat
> echo ant
> set JAVA_HOME=G:\j2sdk1.4.0
> set
> CLASSPATH=.;L:\axis_rc1\ant\jakarta-ant-1.5
> \lib\ant.jar;L:\axis_rc1\ant\jakarta-ant-1.5
> \lib\xml-apis.jar;L:\axis_rc1\ant\jakarta-ant-1.5
> \lib\xercesimpl.jar;L:\axis_rc1\ant\jakarta-ant-1.5\lib\optional.jar
>
> rem enline
>
> ==============
>
> Thanks!
>
> --tony
>
> Matt Seibert wrote:
>
> > What is your environtment JAVA_HOME variable set to? Is this the top
> level
> > path of a java installation? For example, does there exists a
> > JAVA_HOME/bin/ in which resides javac?
> >
> > Matt Seibert
> mseibert@us.ibm.com
> > IBM External: (512) 838-3656 Internal: 678-3656
> >
> >
> > Tony Chen
> > <tchen@clinton.co To:
> axis-user@xml.apache.org
> > m> cc:
> > Subject: help on build
> axis from source code 09202002 night
> > 09/27/2002 14:10
> > Please respond to
> > axis-user
> >
> >
> > Hello,
> >
> > I try to build axis from source code.
> > java org.apache.tools.ant.Main compile
> >
> > I got the following error.
> > BUILD FAILED
> > file:L:/axis_rc1/09202002night/src/xml-axis/java/build.xml:79: Unable to
> > find a javac compiler
> > com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does
> > not point the JDK.
> >
> > Any help?
> >
> > Thanks!
> >
> > --tony
Re: help on build axis from source code 09202002 night
Posted by Matt Seibert <ms...@us.ibm.com>.
Okay, good.
Execute G:\j2sdk1.4.0\bin\javac and see what it says
Matt Seibert mseibert@us.ibm.com
IBM External: (512) 838-3656 Internal: 678-3656
Tony Chen
<tchen@clinton.co To: axis-user@xml.apache.org
m> cc:
Subject: Re: help on build axis from source code 09202002 night
09/27/2002 14:33
Please respond to
axis-user
I use the following bat set up env
setjavaenv.bat
echo ant
set JAVA_HOME=G:\j2sdk1.4.0
set
CLASSPATH=.;L:\axis_rc1\ant\jakarta-ant-1.5
\lib\ant.jar;L:\axis_rc1\ant\jakarta-ant-1.5
\lib\xml-apis.jar;L:\axis_rc1\ant\jakarta-ant-1.5
\lib\xercesimpl.jar;L:\axis_rc1\ant\jakarta-ant-1.5\lib\optional.jar
rem enline
==============
Thanks!
--tony
Matt Seibert wrote:
> What is your environtment JAVA_HOME variable set to? Is this the top
level
> path of a java installation? For example, does there exists a
> JAVA_HOME/bin/ in which resides javac?
>
> Matt Seibert
mseibert@us.ibm.com
> IBM External: (512) 838-3656 Internal: 678-3656
>
>
> Tony Chen
> <tchen@clinton.co To:
axis-user@xml.apache.org
> m> cc:
> Subject: help on build
axis from source code 09202002 night
> 09/27/2002 14:10
> Please respond to
> axis-user
>
>
> Hello,
>
> I try to build axis from source code.
> java org.apache.tools.ant.Main compile
>
> I got the following error.
> BUILD FAILED
> file:L:/axis_rc1/09202002night/src/xml-axis/java/build.xml:79: Unable to
> find a javac compiler
> com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does
> not point the JDK.
>
> Any help?
>
> Thanks!
>
> --tony
Re: help on build axis from source code 09202002 night
Posted by Tony Chen <tc...@clinton.com>.
I use the following bat set up env
setjavaenv.bat
echo ant
set JAVA_HOME=G:\j2sdk1.4.0
set
CLASSPATH=.;L:\axis_rc1\ant\jakarta-ant-1.5\lib\ant.jar;L:\axis_rc1\ant\jakarta-ant-1.5\lib\xml-apis.jar;L:\axis_rc1\ant\jakarta-ant-1.5\lib\xercesimpl.jar;L:\axis_rc1\ant\jakarta-ant-1.5\lib\optional.jar
rem enline
==============
Thanks!
--tony
Matt Seibert wrote:
> What is your environtment JAVA_HOME variable set to? Is this the top level
> path of a java installation? For example, does there exists a
> JAVA_HOME/bin/ in which resides javac?
>
> Matt Seibert mseibert@us.ibm.com
> IBM External: (512) 838-3656 Internal: 678-3656
>
>
> Tony Chen
> <tchen@clinton.co To: axis-user@xml.apache.org
> m> cc:
> Subject: help on build axis from source code 09202002 night
> 09/27/2002 14:10
> Please respond to
> axis-user
>
>
> Hello,
>
> I try to build axis from source code.
> java org.apache.tools.ant.Main compile
>
> I got the following error.
> BUILD FAILED
> file:L:/axis_rc1/09202002night/src/xml-axis/java/build.xml:79: Unable to
> find a javac compiler
> com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does
> not point the JDK.
>
> Any help?
>
> Thanks!
>
> --tony
Re: help on build axis from source code 09202002 night
Posted by Matt Seibert <ms...@us.ibm.com>.
What is your environtment JAVA_HOME variable set to? Is this the top level
path of a java installation? For example, does there exists a
JAVA_HOME/bin/ in which resides javac?
Matt Seibert mseibert@us.ibm.com
IBM External: (512) 838-3656 Internal: 678-3656
Tony Chen
<tchen@clinton.co To: axis-user@xml.apache.org
m> cc:
Subject: help on build axis from source code 09202002 night
09/27/2002 14:10
Please respond to
axis-user
Hello,
I try to build axis from source code.
java org.apache.tools.ant.Main compile
I got the following error.
BUILD FAILED
file:L:/axis_rc1/09202002night/src/xml-axis/java/build.xml:79: Unable to
find a javac compiler
com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does
not point the JDK.
Any help?
Thanks!
--tony