Create a folder on your C:\ drive (or another drive) named dspace-install. Inside, place the following installers (download them first):
Important: DSpace 7 requires Java 11 (Java 17 works in later point releases, but 11 is safest for 7.6). Do not use Java 8.
For persistent use, install Tomcat as a Windows service using tomcat9.exe //IS//Tomcat9 (from the Tomcat bin folder). Similarly, you can run the Angular UI as a service using pm2 (Node process manager). dspace 7 installation on windows 10
Install PM2:
npm install -g pm2
cd C:\dspace-angular
pm2 start "ng serve" --name dspace-ui
pm2 save
pm2 startup
This will auto-start the UI when Windows boots. Create a folder on your C:\ drive (or
Install the following software:
| Software | Version | Notes |
|----------|---------|-------|
| Java JDK | 11 (LTS) | Set JAVA_HOME |
| Node.js | 16.x or 18.x | Includes npm |
| Angular CLI | Latest | npm install -g @angular/cli |
| PostgreSQL | 13, 14, or 15 | With pgAdmin (optional) |
| Apache Maven | 3.6+ | Set MAVEN_HOME |
| Git | Latest | Optional but useful |
| Solr | 8.11+ (included in DSpace) | Not a separate install | Important : DSpace 7 requires Java 11 (Java
dspace index-discovery
dspace index-authority
Create C:\dspace-src\local.cfg to override default settings. Minimal content:
# Database
db.url = jdbc:postgresql://localhost:5432/dspace
db.driver = org.postgresql.Driver
db.username = dspace
db.password = dspace
| Problem | Likely Fix |
|---------|-------------|
| mvn not found | Add Maven bin to Path + restart cmd |
| node version wrong | Use Node 16 exactly. Use nvm-windows if needed. |
| Tomcat fails to start | Check logs/catalina.out. Increase memory: set CATALINA_OPTS=-Xmx1024m |
| Database connection refused | PostgreSQL service must be running + port 5432 |
| dspace command not found | Run from C:\dspace\bin or add to Path |
| Build fails – max file path length | Move DSpace source to C:\dspace-src (not deep in Desktop/OneDrive) |
×