Dspace 7 Installation On Windows 10 -

The default configuration assumes Unix paths. You need to edit several files.

After installing Java, you must configure Windows environment variables.

  • Edit the Path variable → Add: %JAVA_HOME%\bin
  • Similarly, later you will add MAVEN_HOME and point to your Maven folder.
  • To verify, open a new Command Prompt and run:
    java -version
    mvn -version  (after installing Maven)
    
  • Tip: After any environment change, restart your command prompt or PowerShell.


    The DSpace Angular UI requires Node.js.


    First, copy the PostgreSQL JDBC driver into DSpace lib (required for database initialization).

    Download postgresql-42.6.0.jar from Maven Central and place it in C:\dspace\lib.

    Then run:

    cd C:\dspace\bin
    dspace database migrate
    

    You should see:

    INFO: Database is up to date (version 7.6)
    

    If you see errors, check that your local.cfg database credentials are correct.

    Now create the administrator account:

    dspace create-administrator
    

    Enter email (e.g., admin@myuniversity.edu), first/last name, and password (e.g., admin).


    DSpace 7 requires Java 11 (not 17+).

    After all steps, you have:

    To stop:


  • Test:
    mvn -version
    
    You should see Java version and Maven version.