bq: Why didn't the update work ? The update worked just fine, but you already know that ;).
You can have multiple java versions on your machine, thus JAVA_HOME is used when compiling; that gives you the flexibility. FWIW, Erick P.S. Meant to send out the other e-mail this morning, kind of irrelevant now though. On Sat, Mar 21, 2015 at 7:39 PM, Erick Erickson <[email protected]> wrote: > What's JAVA_HOME? And what commands are you running to build Solr? > From what directory? > > If you're in an IDE somehow, you may have to set the language level. > > Let's see the full command you use to try the build, and the error > that's output. Perhaps > there's something else that's happening that somehow looks like the > wrong Java version. > > Also, how are you getting the code? > > There are some helpful comments here, but I suspect you've seen them already: > > http://wiki.apache.org/solr/HowToContribute > > Good Luck! > Erick > > On Sat, Mar 21, 2015 at 9:41 AM, siddharth gupta > <[email protected]> wrote: >> Thanks for replying. >> >> Output: >> java version "1.8.0_40" >> Java(TM) SE Runtime Environment (build 1.8.0_40-b26) >> Java HotSpot(TM) Client VM (build 25.40-b25, mixed mode) >> >> Regards, >> Siddharth Gupta. >> >> >> On 21 March 2015 at 21:52, Anshum Gupta <[email protected]> wrote: >>> >>> How did you check the version? Your JAVA_HOME needs to point to Java 8 if >>> you're building off trunk. >>> It would help if you copy + paste the output of : >>> >>> 1. echo $JAVA_HOME >>> 2. java -version >>> >>> >>> On Sat, Mar 21, 2015 at 9:17 AM, siddharth gupta >>> <[email protected]> wrote: >>>> >>>> hello, >>>> >>>> I am a newbie in contributing to open source projects. >>>> >>>> Can anyone help me how to build the project ? when i do the same using >>>> ant, it says java 1.8 or higher required. Although when i checked java >>>> version it was already 1.8. >>>> >>>> Thanks & Regards, >>>> Siddharth Gupta. >>>> >>> >>> >>> >>> -- >>> Anshum Gupta >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
