Hi Anupam ..
If u r trying to run the same code on Series 60 and UIQ , ofcourse there might be errors ...U have to check for the classes specific to series 60 or UIQ as the case may be.
As stenlik said it wud be better to give the description of error ...
Basically Symbian OS is the base and Series 60 and UIQ are just the different GUI systems.
From your query , i can make out that u r new into this field ..
First understand the Symbian OS...
It is just an operating system.
Now u can write programs in different languages which can run on this operating system ..Java and C++ being popular among that...
UIQ,Series 60,Series 90 etc are the GUI systems when u program in Symbian C++.
i.e. If u r developing for Symbian opeating system using Symbian C++ , u can select the target platform (Series 60,Series 90 or UIQ) ...
The SDK which u install( either for Series 60 or UIQ) will help u compile and build programs written using Series 60 or UIQ libraries ( as the case may be ).
If u want to develop something in Java(Say Hello World Program) ,
then u have to develop it using Java only( J2ME in this case) and u need a compiler for that ( which is not the Series 60 SDK or UIQ SDK ).
Wireless Toolkit from SUN is good for J2ME development ...
Now the last thing .. how r u compiling the code ...?? I think through Command Line only ....then go to the UIQ SDK documentation .It has got the detailed process of how to compile and Build the code for UIQ.
If u r using some IDE , then it becomes even more easy ...
I hope it answers ur questions .. If u still have any doubts .. u can always post them here ....