?
Solved

java sample code to lunch crystal report by java

Posted on 2010-09-17
8
Medium Priority
?
2,166 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 1000 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

765 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