Failed to load the JNI shared library " C:\Program Files\Java\jdk\bin....\server\jvm.dll
I thought it may be some java path problem and hence I checked all my java home path and other environment variables. But they were pointing to correct directory. I did some surfing and found the similar error occurs for eclipse. The reason behind it was the 64-bit and 32-bit mismatch. The solution for that is having Java, Eclipse of 64 bit if you have 64 bit machine. My laptop was 64-bit one. I confirmed my Java was also of 64 bit. So, it should work, but it wasn't.
On searching on appcelerator website, I found the solution which was just the opposite of above. To solve the above error in titanium, we need to have 32-bit Java installed. Further we need to modify TitaniumStudio.ini to add the below statement:
C:\Program Files (x86)\Java\jre7\bin\javaw.exe
Please note, if you are using Program Files(x86), it means you are referring to 32-bit versions. I added the above lines, and tried again. This time, my titanium studio started. :)
I just hope, now my eclipse should not give me the above error... :)