Compiled Java class in jar file .how to from jr
Posted on November 7, 2013 at 8:22am
Hai all .Could you please some one guide me .I have compile java class in jar.i uploaded in to the Jasper report server.how to call in jar file contains method from Jasper report server ,I mean From JRXML File.
Joined: Oct 28 2013 - 11:43pm
Last seen: 8 years 9 months ago
Posted on November 8, 2013 at 1:50am
STEP 1: l upload you JAR to jasper server as given below:

- STEP 2: Then go to "Control & Resources" page of a report and there add the resource created in STEP 1 as given below.

- After this you can call access any java methods from JRXML file
Joined: Sep 26 2012 - 3:25am
Last seen: 7 years 4 months ago
Posted on November 11, 2013 at 11:49am
Try to recompile the java class under Java 6. If compiled under Java 7 and then executed under Java 6. There will be a "major minor" type of exception.
Joined: Jul 7 2006 - 8:54am
Last seen: 9 years 4 weeks ago
Thank you so much sambitgudu.I uploaded like that but got Errors like
1.can't call com.td.IPName class.
2.minor version 50 something like that got a error.(I Think This is Because JDK Version And JRE Version)
Suppose My Class name is IPTest and Method name is getResult().i Called IPTest.getResult().Because getResult() is Static method.one thing i have to mention ,Jasper server is installed in Another system.I Uploaded in my System.Is There any Problem?
Could you please provide proper answer.