Jump to content
Changes to the Jaspersoft community edition download ×

Setup and Run


2004 IR Help

Recommended Posts

By: CFBMoo1 - cfbmoo1

Setup and Run

2004-06-07 12:25

I untared the package to my home directory went in and executed the iReport.sh script in the packages install directory. It gave me:

 

[sdarrenkamp@abel iReport-0.3.1]$ sh iReport.

iReport.: iReport.: No such file or directory

 

Going in to the ./bin directory of the iReports 0.3.1 install I got this when executing the startup.sh:

 

[sdarrenkamp@abel bin]$ ./startup.sh

: bad interpreter: No such file or directory

 

and I did an sh on it to execute and got:

 

[sdarrenkamp@abel bin]$ sh startup.sh

: command not found

'tartup.sh: line 8: syntax error near unexpected token `do

'tartup.sh: line 8: `do

 

I'm a little confused as to why out of the tar file this isn't working. Java is definatly in my class path because I can call java and javac from the command line. I can also fire up applications like jEdit and Squirrel. Also I'm using the 1.4.2 jdk. Any ideas? For now I wrote my own shell script to run iReports but I get an exception that follows:

 

java.io.FileNotFoundException: file:/home/sdarrenkamp/iReport-0.3.1/lib/iReport.jar!/scriptlet_template.jav (No such file or directory)

at java.io.FileInputStream.open(Native Method)

at java.io.FileInputStream.<init>(FileInputStream.java:106)

at java.io.FileInputStream.<init>(FileInputStream.java:66)

at java.io.FileReader.<init>(FileReader.java:41)

at it.businesslogic.ireport.ScriptletCode.<init>(ScriptletCode.java:109)

at it.businesslogic.ireport.Report.<init>(Report.java:193)

at it.businesslogic.ireport.Report.<init>(Report.java:202)

...

 

Infact that repeats as I open up other files. I'm running under Redhat Linux 9.0 and my JDK is 1.4.2_04

 

 

 

 

By: CFBMoo1 - cfbmoo1

RE: Setup and Run

2004-06-07 12:27

That other files in the last section is when I open up JasperReport XML files.

 

 

 

 

By: Giulio Toffoli - gt78

RE: Setup and Run

2004-06-08 15:16

This problem is now fixed in the CVS repository.

This happen because iReport tries to load the file from file system and not from the jar.

 

Giulio

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...