Hi Lijian,I understand what you mean. Using jar files may be a bit complicated. Please have a look at this, think should be easier than using jar files https://chinese.stackexchange.com/questions/21035/api-for-transliterating-a-traditional-character-writing-the-pinyinI'll try to provide you a sample using Glosbe mentioned in the url above. Two other ways that you can explore are as seen in the url above1) It might be easier just to download CC-CEDICT in its entirety and look up your character in it. You can turn this into an API with very little effort.2) The python module mentioned in the url.
For best results, use the Firefox browser..