Great Gary! It works. I really was executing the create_administrator
directly inside the folder "bin". The command has to be executed from the
root of the installation, as you explained.

Once more, thanks a lot.

On Wed, May 4, 2011 at 19:54, Gary Browne <[email protected]> wrote:

>  Hi Diogo,
>
>
>
> As far as I know, the command to create an administrator has always been:
>
>
>
> [dspace]/bin/create-administrator
>
>
>
> But 1.4 was a long time ago now, and my memory ain’t that great. It looks
> like you are running:
>
>
>
> ??/create_administrator
>
>
>
> Also ensure that your dspace files are owned by the dspace user.
>
>
>
> Hope this helps,
>
> Gary
>
>
>
> *GARY BROWNE* | Development Programmer
> Library IT Services | University Library
>
> *THE UNIVERSITY OF SYDNEY*
> Level 1, Fisher Library F03 | The University of Sydney | NSW | 2006*
> T* +61 2 9351 5946  | *F* +61 2 9036 0000
> *E* *[email protected]* <[email protected]>  | *W* *
> http://sydney.edu.au* <http://sydney.edu.au/>* *
>
>
> Sent from my plain old desktop computer.
>
>
> CRICOS 00026A
> This email plus any attachments to it are confidential. Any unauthorised
> use is strictly prohibited. If you receive this email in error, please
> delete it and any attachments.
>
> Please think of our environment and only print this e-mail if necessary.
>
>
>
> *From:* Diogo Moreira [mailto:[email protected]]
> *Sent:* Thursday, 5 May 2011 12:19 AM
> *To:* [email protected]
> *Subject:* [Dspace-tech] Error on create_administrator script
>
>
>
> Hi,
>
>
>
> I'm trying to execute the "create_administrator" script, but I'm getting
> this error message:
>
>
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/dspace/administer/CreateAdministrator
>
> Caused by: java.lang.ClassNotFoundException:
> org.dspace.administer.CreateAdministrator
>
>           at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>
>           at java.security.AccessController.doPrivileged(Native Method)
>
>           at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>
>           at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
>
>           at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
>
>           at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
>
> Could not find the main class: org.dspace.administer.CreateAdministrator.
> Program will exit.
>
>
>
> What could be? I'm using DSpace 1.4 on an enviroment JDK 1.6 and Tomcat 6.
>
>
>
> Thanks a lot for the help.
>
>
> --
> Diogo Moreira
> WEB Project Leader
> DBA MySQL
> [email protected]
> http://www.dm3ti.com.br/Portfolio/
> http://www.linkedin.com/in/akedsi
>
> http://akedsi.blogspot.com
>
>
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>


-- 
Diogo Moreira
Líder de Projetos WEB
DBA MySQL
[email protected]
http://www.dm3ti.com.br/Portfolio/
http://www.linkedin.com/in/akedsi
http://akedsi.blogspot.com
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to