<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-7">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have found the answer to the problem below.
Although I have installed jdk6 I hadn't updated my PATH</FONT></DIV>
<DIV><FONT face=Arial size=2>environment varibale nor the alternatives system,
which used the 1.4 JRE installed at another time, which does not
have</FONT></DIV>
<DIV><FONT face=Arial size=2>the method getCanonicalName because it was defined
in JRE 1.5 and above.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I followed the easy way to correct this, by
updating my PATH to include the bin subdir of my jdk6 and later on I'll update
my alternatives</FONT></DIV>
<DIV><FONT face=Arial size=2>package as well.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-Fk</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>-- <BR>Filippos Kolovos<BR>Software Systems Analyst & Engineer<BR>M.Sc.
(Eng.) in Data Communications</DIV>
<DIV> </DIV>
<DIV>Automation & Networking Department<BR>University of Macedonia
Library<BR>Egnatia 156, P.O.Box 1591<BR>540 06 Thessaloniki, Greece</DIV>
<DIV> </DIV>
<DIV>E-Mail: <A
href="mailto:f.kolovos@ieee.org">f.kolovos@ieee.org</A>,<BR>
<A href="mailto:filippos@uom.gr">filippos@uom.gr</A><BR>Profile: <A
href="http://www.linkedin.com/in/filipposkolovos">http://www.linkedin.com/in/filipposkolovos</A><BR>-----------------------------------------------------------------------</DIV>
<DIV> </DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=filippos@uom.gr href="mailto:filippos@uom.gr">Filippos Kolovos</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=dspace-general@mit.edu
href="mailto:dspace-general@mit.edu">Dspace-general-list</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=dspace-tech@lists.sourceforge.net
href="mailto:dspace-tech@lists.sourceforge.net">Dspace-Tech-List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, April 28, 2009 1:14
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Generate Sitemaps script
problem</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Dear all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am using JDK 6 update 13, correctly have set my
JAVA_HOME environment variable</FONT></DIV>
<DIV><FONT face=Arial size=2>but when I execute the
[dspace]/bin/generate-sitemaps script it fails with the error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Exception in thread "main"
java.lang.NoSuchMethodError: method java.lang.Class.getCanonicalName with
signature ()Ljava.lang.String; was not found.<BR> at
org.dspace.app.sitemap.GenerateSitemaps.main(GenerateSitemaps.java:82)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am deploying Dspace 1.5.2. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for any help provided.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-Fk</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-- <BR>Filippos Kolovos<BR>Software Systems
Analyst & Engineer<BR>M.Sc. (Eng.) in Data Communications</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Automation & Networking
Department<BR>University of Macedonia Library<BR>Egnatia 156, P.O.Box
1591<BR>540 06 Thessaloniki, Greece</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>E-Mail: <A
href="mailto:f.kolovos@ieee.org">f.kolovos@ieee.org</A>,<BR>
<A href="mailto:filippos@uom.gr">filippos@uom.gr</A><BR>Profile: <A
href="http://www.linkedin.com/in/filipposkolovos">http://www.linkedin.com/in/filipposkolovos</A><BR>Phone:
+30-2310-891-826<BR>-----------------------------------------------------------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BLOCKQUOTE></BODY></HTML>