Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "MemoryAnalyzer/WSL"
m |
m |
||
Line 29: | Line 29: | ||
Download Memory Analyzer zip | Download Memory Analyzer zip | ||
− | unzip MemoryAnalyzer-1.12.0.20210602-linux.gtk.x86_64. | + | <nowiki>unzip MemoryAnalyzer-1.12.0.20210602-linux.gtk.x86_64.zip</nowiki> |
+ | |||
<nowiki> | <nowiki> | ||
cd mat | cd mat | ||
export DISPLAY=:0 | export DISPLAY=:0 | ||
− | ./MemoryAnalyzer | + | ./MemoryAnalyzer</nowiki> |
− | </nowiki> | + |
Revision as of 10:16, 17 February 2022
Windows Subsystem for Linux
it is possible to test Linux builds on a Windows 10 (or 11) machine using Windows Subsystem for Linux.
Install WSL2 with for example Ubuntu or Ubuntu 20
Install Cygwin and X-Server
Install the appropriate graphics driver: [Microsoft WSL GUI apps](https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps)
Install unzip
sudo apt install unzip
Install GTK:
sudo apt-get install libswt-gtk-4-jni libswt-gtk-4-java
Install Java 11 or later
sudo apt install openjdk-11-jre-headless
From Cygwin64 command prompt. xhost should have the IP address of the WSL2 system as seen from Windows / Cygwin
startxwin -- -listen tcp xhost + #Add the appropriate IP address
Download Memory Analyzer zip
unzip MemoryAnalyzer-1.12.0.20210602-linux.gtk.x86_64.zip
cd mat export DISPLAY=:0 ./MemoryAnalyzer