Solved

java sample code to lunch crystal report by java

Posted on 2010-09-17
8
1,803 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 15

Author Comment

by:fsze88
ID: 33709854
should be cr2007
0
 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This video teaches viewers about errors in exception handling.

791 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