Free download generator report for java

Hi, I need generator report for my program.I want that this generator report will get a query and build me a report.I'll be happy for a good link :)Yael
[181 byte] By [yael800a] at [2007-11-26 17:15:02]
# 1
http://www.jaspersoft.com/JasperSoft_JasperReports.html?utm_medium=JasperReportsSearch&utm_content=DLJasperReports&gclid=CLrrhOTmlIoCFQ6kWAoddmxjmw%
duffymoa at 2007-7-8 23:43:01 > top of Java-index,Java Essentials,Java Programming...
# 2
Thanks, what I have to download there?JasperSoft VMware?I can't found the jar...
yael800a at 2007-7-8 23:43:01 > top of Java-index,Java Essentials,Java Programming...
# 3
they do make it hard to find the free version (probably deliberately)... http://www.jasperforge.org/
jwentinga at 2007-7-8 23:43:01 > top of Java-index,Java Essentials,Java Programming...
# 4
There have alot of links............Am I need to download all af them? http://www.jasperforge.org/index.php?option=com_content&task=section&id=16&Itemid=277
yael800a at 2007-7-8 23:43:01 > top of Java-index,Java Essentials,Java Programming...
# 5
They do have product-specific forums there...
kirillga at 2007-7-8 23:43:01 > top of Java-index,Java Essentials,Java Programming...
# 6

Thanks,

Maybe you could help me: ( I asked ther to tis question)

I was download iReport & JasperForge.

My goal now is to print all names in a report from java.

What I need for this?

I tried to write this code, but I don't understand why all the examples used whit jasper file, or jrxml file.

I have to create this file?

I just coppy past a few examples and tried to understood them...

Thank you :)

public class laporan {

public laporan() {

}

public void geraRelatorio() throws JRException, Exception, SQLException {

// design

JasperDesign design = JRXmlLoader.load("hello.jrxml");

// report

JasperReport report = JasperCompileManager.compileReport(design); // THIS

// LINE

// CRASH

// request

Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");

Connection conn = DriverManager

.getConnection(

"jdbc:sqlserver://matarotsrv:1433;databaseName=qm6",

"sa", "sa");

Statement stm = conn.createStatement();

String query = "SELECT contacts.first_name FROM contacts";

Statement stmt = conn.createStatement();

ResultSet rs = stmt.executeQuery(query);

// JRdataSource

JRDataSource dataSource = new JRResultSetDataSource(rs);

Map params = new HashMap();

// print

JasperPrint print = JasperFillManager.fillReport(report, params,

dataSource);

// exports

JasperExportManager.exportReportToHtmlFile(print, "hello.html");

}

public static void main(String[] args) throws JRException, SQLException,

Exception {

laporan report = new laporan();

report.geraRelatorio();

}

}

yael800a at 2007-7-8 23:43:01 > top of Java-index,Java Essentials,Java Programming...
# 7
its easier you you compile the iReport generated jrxml to .jasper file, and you just have to send the connection, parameters to the complied .jasper file.
dfkljadkfljdfla at 2007-7-8 23:43:01 > top of Java-index,Java Essentials,Java Programming...