Hello if some one now Good Java on NetBeans

I have a code made on NetBeans that is use to Call Reports from iReports (jasper) but only works on my Dev Pc and no on the server.

i like to share this code to help to User a Reports on Web app.
i call the Reports Like

Dim f As Integer
dim vendedor as string
dim shost as string


It Works Perfect on the Dev Pc but no On the Server that run my App

I need some Help