Intro to urpmi - Mageia 4

Hello,
After some trying, I cannot understand how the dependency management works. I am trying to use a java x32 bit application on a Mageia 4 x64 bit VM. I have got it working by installing every last dependency by hand. I'd like to know how urpmi can manage this.
I am using java (jre1.7.0_75) downloaded from Oracles website and two of the main packages needed are;
* libgtk+2.0_0-2.24.22-3.mga4.i586.rpm
* libgtk+-x11-2.0_0-2.24.22-3.mga4.i586.rpm
Could someone explain the steps needed so that urpmi can install these packages as well as any dependencies?
Thanks in advance,
Kevin
After some trying, I cannot understand how the dependency management works. I am trying to use a java x32 bit application on a Mageia 4 x64 bit VM. I have got it working by installing every last dependency by hand. I'd like to know how urpmi can manage this.
I am using java (jre1.7.0_75) downloaded from Oracles website and two of the main packages needed are;
* libgtk+2.0_0-2.24.22-3.mga4.i586.rpm
* libgtk+-x11-2.0_0-2.24.22-3.mga4.i586.rpm
Could someone explain the steps needed so that urpmi can install these packages as well as any dependencies?
Thanks in advance,
Kevin