Solved

java sample code to lunch crystal report by java

Posted on 2010-09-17
8
1,691 Views
Last Modified: 2013-12-29
Hi,
I need actual java code how to lunch crystal report
could anyone give me short and simple java code to do it?

Thank you!
Francis SZE
0
Comment
Question by:fsze88
  • 5
  • 2
8 Comments
 
LVL 65

Assisted Solution

by:rockiroads
rockiroads earned 250 total points
ID: 33706877
Can crystal reports be run from dos/explorer? I mean is there like an exe?

if so then you could possibly use Runtime.getRuntime to execute a command

eg will execute myprog

Process p = Runtime.getRuntime().exec("myprog");


I have not tried using crystal reports before but there is a way apparently to manipulate reports from within java
http://j-integra.intrinsyc.com/support/com/doc/other_examples/Crystal_Reports.htm
0
 
LVL 15

Author Comment

by:fsze88
ID: 33706989
Hi,
I want an example about SAP Crystal Reports for Java runtime components - Java Reporting Component (JRC) on web site http://www.businessobjects.com/campaigns/forms/downloads/crystal/eclipse/datasave.asp

java api is at
http://devlibrary.businessobjects.com/businessobjectsxi/en/en/JRC_SDK/jrc_viewersjava_api_doc/doc/jrcsdk_java_viewers_apiRef/index.html
Please help.....
Thank you!
Francis SZE
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 33709820
What version of Crystal?

mlmcc
0
 
LVL 15

Author Comment

by:fsze88
ID: 33709854
should be cr2007
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 15

Author Comment

by:fsze88
ID: 33709855
should be cr2008
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 250 total points
ID: 33713538
Crystal cannot be run from DOS.

This may help

http://forums.sdn.sap.com/thread.jspa?threadID=1628896

mlmcc
0
 
LVL 15

Accepted Solution

by:
fsze88 earned 0 total points
ID: 33722094

hi mlmcc,
I reviewed you link. It have not said it can run by java and also java class is already....
What I want is java code to show me how to lunch crystal report by java

Thank you!
Francis sZE
0
 
LVL 15

Author Closing Comment

by:fsze88
ID: 34289857
still not solve
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupNoAdj 7 84
How to simplify a groovy script that reads a WS because the result being sent back is simpler 1 44
Crystal image Object type? 7 28
table example 4 20
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now