draw.io is a web-based diagramming and whiteboard application. This rewrite keeps the source choices while adding official download links and separating Tomcat, draw.io, and the optional root-path steps.

Download and prepare Java
- Download
OpenJDK
,
Apache Tomcat 10
, and the latest
draw.warfrom draw.io releases . - Extract the OpenJDK ZIP archive.
- Copy the extracted folder to
C:\Program Files\OpenJDK. - Open Start and go to Control Panel > System > Advanced System Settings.
- Click Environment Variables. Under System Variables, click New.
- Set Variable Name to
JAVA_HOMEand Variable Value toC:\Program Files\OpenJDK, then click OK to close the dialogs.
Install Apache Tomcat
- Run the Apache Tomcat installer.
- Click Next, then I Agree.
- On Choose Components, clear everything except Core, Service Startup, and Native, then click Next.
- Set port
8000and the Service Name, then click Next. - At the Java Virtual Machine screen, select
C:\Program Files\OpenJDK. - Confirm the install location, click Install, then Finish.
- Open
http://DNSorIP:8000. The Tomcat splash page should show the running version.
Install draw.io
- Copy
draw.warinto Apache Tomcat'swebappsdirectory. - Wait for Tomcat to extract it into a
drawdirectory. If it does not, openservices.mscand restart the Apache Tomcat service. - Open
http://DNSorIP:8000/drawto test draw.io.
Remove /draw from the URL (optional)
- Open the
webappsfolder in File Explorer. - Delete
ROOTif it exists. - Rename
drawtoROOT. - Open
http://DNS-or-IP:8000/to reach draw.io at the root path.
Check the Tomcat service write permissions and back up webapps before renaming directories.
Sources and video
- Original tutorial: i12bretro 0950
- Original video: Host draw.io on Windows with Apache Tomcat


Góp Ý / Bình Luận / Đánh giá