im new in java, im developing a program that produce a document in pdf format and to generate it im using abcPDF4.
Can anyone advise whether abcPDF4 is compatible with java??

I would say it is your job to find out if you can use the application that you selected together with Java! Just quick look on their website reveale that NOT. This is technology to be used with .NET development. If you want to convert documents you may consider for example iText or any other if you do your search