Unable to run iReport in Linux

View: New views
1 Messages — Rating Filter:   Alert me  

Unable to run iReport in Linux

by tan36 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am new in linux environment and begin to work with Jasper reports
I have downloaded iReport and included all the jar file to its lib.   But when I enter the command "sh iReport.sh" to run it then the shell gives
the following output:

Exception in thread "main" java.lang.NoClassDefFoundError: it/businesslogic/ireport/gui/MainFrame
Caused by: java.lang.ClassNotFoundException: it.businesslogic.ireport.gui.MainFrame
at java.net.URLClassLoader$1.run(URLClassLoader.java:221)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:209)
at java.lang.ClassLoader.loadClass(ClassLoader.java:324)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:269)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:337)
Error: Could not find the main class.
Error: A JNI error has occurred, please check your installation and try again

can u solve it?
LightInTheBox - Buy quality products at wholesale price