How to compile JAVA code :)
Run KToolbar from J2ME Wireless Toolkit
Create project (view image)
Press Settings and configure API Selection (view image)
configure MIDlets
a) for indearcalc
b) for indearcalc_one
Copy source code to src folder of app (ex: C:\WTK21\apps\indearcalc\src)
Now you can Run app :)