Hi,

On 16/05/15 05:07, Vimal Kumar V. wrote:
> Dear Friends,
> I got following error in the final step of Dspace installation.
> You got such errors before?
> root@user1:/build/dspace-5.1-src-release/dspace/target/dspace-installer# 
> sudo ant fresh_install
>
> Unable to locate tools.jar. Expected to find it in 
> /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar
> Buildfile: 
> /build/dspace-5.1-src-release/dspace/target/dspace-installer/build.xml
>
> init_installation:
>
> init_configs:
>      [copy] Copying 41 files to /dspace/config
>      [copy] Copying 1 file to /dspace/config
>
> test_database:
>      [java] Exception in thread "main" 
> java.lang.UnsupportedClassVersionError: 
> org/dspace/storage/rdbms/DatabaseUtils : Unsupported major.minor 
> version 51.0

That looks to me like you are running a JRE, not a JDK, and of a too old 
Java version. DSpace 5.x needs a JDK of Java 7 or newer: 
https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-OracleJavaJDK7orOpenJDK7

cheers,
Andrae

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to