Solved

java sample code to lunch crystal report by java

Posted on 2010-09-17
8
1,647 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
Comment Utility
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
Comment Utility
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
Comment Utility
What version of Crystal?

mlmcc
0
 
LVL 15

Author Comment

by:fsze88
Comment Utility
should be cr2007
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 15

Author Comment

by:fsze88
Comment Utility
should be cr2008
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 250 total points
Comment Utility
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
Comment Utility

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
Comment Utility
still not solve
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
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 will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to implement Singleton Design Pattern in Java.

763 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

9 Experts available now in Live!

Get 1:1 Help Now