Solved

java sample code to lunch crystal report by java

Posted on 2010-09-17
8
2,023 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 101

Expert Comment

by:mlmcc
ID: 33709820
What version of Crystal?

mlmcc
0
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 
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 101

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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

691 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