More information are required to know what might cause the problem.
Can it view other java program? Can you provide error message from java console?