File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes Call Crystal Reports from Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Call Crystal Reports from Java" Watch "Call Crystal Reports from Java" New topic

Call Crystal Reports from Java

jeremia tirta

Joined: Apr 22, 2010
Posts: 1
can someone help me please....
iam first time to call Crystalreports from JAVA
this is part of code:

private static final String REPORT_NAME = "jeremia.rpt";

public static void launchApplication() {

try {

//Open report.
ReportClientDocument reportClientDoc = new ReportClientDocument();
if (reportClientDoc.isOpen()){
System.out.println("Sudah terbuka");
}else{, 1);

i try to debuging this code, but until code ", 1); "
i get that error :

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)

Iam using NETBEANS IDE to compile it.
What does it means, of that error?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63532

Please KeepItDown.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Call Crystal Reports from Java
It's not a secret anymore!