DSpace *requires* the full JDK7 (the JRE alone is not enough). So, if you install the Java JDK, I suspect that will solve your problem.
Good luck! - Tim On 6/17/2015 8:36 AM, Saidy Binta wrote: > The java is jre7 and maven is 3.3.3, it is the same as the one I install on > my machine as a test instance, which is working fine. Now I am installing it > on the production server but it keep given me that error. Please help. > > Regards > Binta > > -----Original Message----- > From: Tim Donohue [mailto:tdono...@duraspace.org] > Sent: 17 June 2015 13:26 > To: Saidy Binta; dspace-tech@lists.sourceforge.net > Subject: Re: [Dspace-tech] installing dspace on a production server > > Hi Binta, > > You should verify the version of Java and Maven that you are using to build > DSpace. As of DSpace 5, we require Maven 3.0.5+, and Java JDK 7 (the full > JDK and NOT the JRE). > > Based on the error, it sounds like you may be using a JRE instead of the full > JDK, or your version of Java may be outdated. > > - Tim > > On 6/17/2015 7:35 AM, Saidy Binta wrote: >> Hi, >> >> Please can someone help, am installing dspace on a server 2012 r2. But >> this is what I keep getting. I don't know what I have done wrong. >> >> Regards >> >> Binta >> >> >> ---------------------------------------------------------------------- >> -- >> >> DISCLAIMER: This message is private and confidential. If you have >> received this message in error please notify us and remove it from >> your system. Any views and opinions expressed in this message are >> those of the individual sender and do not necessarily represent the >> views and opinions of Medical Research Council Unit, The Gambia >> >> ___________________________________________________________ >> This communication is confidential and may contain privileged >> information intended solely for the named recipient(s). It may not be >> used or disclosed except for the purpose for which it has been sent. >> If you are not the intended recipient, you must not copy, distribute, >> take any action or reliance on it. If you have received this >> communication in error, do not open any attachments but please notify >> the Help Desk by e-mailing h...@mrc.gm quoting the sender details, and >> then delete this message along with any attached files. E-mail >> messages are not secure and attachments could contain software viruses >> which may damage your computer system. Whilst every reasonable >> precaution has been taken to minimise this risk, The MRC Unit The >> Gambia cannot accept any liability for any damage sustained as a >> result of these factors. You are advised to carry out your own virus checks >> before opening any attachments. >> Unless expressly stated, opinions in this message are those of the >> e-mail author and not of the Medical Research Council Unit The Gambia. >> ______________________________________________________________________ >> __ >> >> >> ---------------------------------------------------------------------- >> -------- >> >> >> >> _______________________________________________ >> DSpace-tech mailing list >> DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> List Etiquette: >> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette >> > > ________________________________ > > DISCLAIMER: This message is private and confidential. If you have received > this message in error please notify us and remove it from your system. Any > views and opinions expressed in this message are those of the individual > sender and do not necessarily represent the views and opinions of Medical > Research Council Unit, The Gambia > > ___________________________________________________________ > This communication is confidential and may contain privileged information > intended solely for the named recipient(s). It may not be used or disclosed > except for the purpose for which it has been sent. If you are not the > intended recipient, you must not copy, distribute, take any action or > reliance on it. If you have received this communication in error, do not open > any attachments but please notify the Help Desk by e-mailing h...@mrc.gm > quoting the sender details, and then delete this message along with any > attached files. E-mail messages are not secure and attachments could contain > software viruses which may damage your computer system. Whilst every > reasonable precaution has been taken to minimise this risk, The MRC Unit The > Gambia cannot accept any liability for any damage sustained as a result of > these factors. You are advised to carry out your own virus checks before > opening any attachments. Unless expressly stated, opinions in this message > are those of the e-mail author and n ot of the Medical Research Council Unit The Gambia. > ________________________________________________________________________ > ------------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette