Hi, I meet some problems when I try to build tomcat on ubuntu 16.04 locally.

*compile:
*
*    [javac] Compiling 1577 source files to
/home/mikelinf/tomcat/output/classes         *
*    [javac] javac: invalid target release:
1.8                                          *
*    [javac] Usage: javac <options> <source
files>                                       *
*    [javac] use -help for a list of possible
options                                    *


*BUILD
FAILED
*
*/home/mikelinf/tomcat/build.xml:643: Compile failed; see the compiler
error output for details.*

But both my java -v and javac -v are 1.7.0

*mikelinf@mikeling-pc:~/tomcat$ java -version*
*java version "1.7.0_80"*
*Java(TM) SE Runtime Environment (build 1.7.0_80-b15)*
*Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)*
*mikelinf@mikeling-pc:~/tomcat$ javac -version*
*javac 1.7.0_80*

And I had add $JAVA_HOME and $ANT_HOME in the $PATH


*# Java environment variable*
*export JAVA_HOME=/usr/lib/jvm/java-7-oracle/*

*# Apache environment variable*
*export ANT_HOME=/home/mikelinf/apache/ant*
*export PATH=$ANT_HOME/bin:$PATH*

What should I do next? How could I fix this issue and make the building
depend on 1.7.0?

Thank you very much!
MikeLing

2016-09-21 2:06 GMT+08:00 Martin Grigorov <mgrigo...@apache.org>:

> Hi,
>
> On Tue, Sep 20, 2016 at 5:50 PM, Tiramisu Ling <saberge...@gmail.com>
> wrote:
>
> > How could I take it if I do interest in that bug and want to work on it?
> I
> > see those bugs been assigned to mail list already.
> >
>
> You can add a comment that you are working on it.
> If you have any questions about the functionality you can ask them here
> (dev@) or at us...@tomcat.apache.org if the answer could be known by a
> non-committer, e.g. related to configuration, deployment, etc.
>
> If you plan to hang around for longer time I'd recommend to read
> https://wiki.apache.org/tomcat/FAQ/Tomcat_User too.
>
> Have fun!
>
> Martin
>
>
> >
> > > 在 2016年9月20日,下午11:22,Mark Thomas <ma...@apache.org> 写道:
> > >
> > >> On 20/09/2016 15:40, Tiramisu Ling wrote:
> > >> Hey Mark, thank you for your help :) Do you mean
> > >> https://bz.apache.org/bugzilla/show_bug.cgi?id=60008 above instead of
> > bug
> > >> 6008? Because it tells me bug id is unavailable for
> > https://bz.apache.org/
> > >> bugzilla/show_bug.cgi?id=6008.
> > >
> > > Sorry, I meant
> > > https://bz.apache.org/bugzilla/show_bug.cgi?id=60087
> > >
> > > The last digit was lost in the copy/paste.
> > >
> > > Mark
> > >
> > >
> > >>
> > >> 2016-09-20 21:06 GMT+08:00 Mark Thomas <ma...@apache.org>:
> > >>
> > >>>> On 20/09/2016 13:28, Tiramisu Ling wrote:
> > >>>> hello everyone,
> > >>>>
> > >>>> I'm a newbie in tomcat and I would like to get involved into it.
> Could
> > >>> you
> > >>>> tell me where to start with it? How could I find something like
> 'good
> > >>> first
> > >>>> bug'? Thank you very much :)
> > >>>
> > >>> A good bug to get started on is usually one that you care about
> and/or
> > >>> are interested in so you are motivated to fix it.
> > >>>
> > >>> Some possibilities:
> > >>> https://bz.apache.org/bugzilla/show_bug.cgi?id=55969
> > >>> I'd recommend starting with item 3, then 2 and finally 1.
> > >>>
> > >>> https://bz.apache.org/bugzilla/show_bug.cgi?id=6008
> > >>> Not sure how complex fixing this would be. Just having a clear
> > >>> explanation of what is going on would be useful.
> > >>>
> > >>> Other than that, take a look at the open bugs and pick one you think
> is
> > >>> interesting. Even if you can't fix it, if you can put together a
> patch
> > >>> that adds a test case that demonstrates it that would be a huge help.
> > >>>
> > >>> Mark
> > >>>
> > >>>
> > >>> ------------------------------------------------------------
> ---------
> > >>> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> > >>> For additional commands, e-mail: dev-h...@tomcat.apache.org
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> > > For additional commands, e-mail: dev-h...@tomcat.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: dev-h...@tomcat.apache.org
> >
> >
>

Reply via email to