because there's no official maven repo for cairo, so we must added manually
-
prerequisite :
-
add jar to intellij idea :
- menu bar : file -> project structure -> modules --> maven --> maven_main
- go to depedencies tab
- click + sign
- go to downloaded (cairo / gtk) jar directory (https://packages.debian.org/sid/all/libjava-gnome-java/filelist)
- and the run the project