Home » Applications » Oracle Fusion Apps & E-Business Suite » Problem running a java concurrent program !
Problem running a java concurrent program ! [message #95924] Fri, 25 June 2004 05:25
Prem Khanna J
Messages: 3
Registered: May 2004
Junior Member
Hi All, 

------------ SmileObject.java   -----------------

public class SmileObject {
 public static void main(String args[[]]) {
  HappyObject h = new HappyObject();
  h.laugh();
 }
}

------------- HappyObject.java -------------

public class HappyObject {
 protected String getMood() {
  return "happy";
 }
 
 public void laugh() {
  System.out.println("Ha ha ha.");
 }
}
------------------------------------------------

i have made the HappyObject.class as Happy.jar and placed in $JAVA_TOP and placed SmileObject.class in $JAVA_TOP too. When i register this SmileObject as a java concurrent program and  place a request for it , i get ClassNotFoundException.

i am able to run this SmileObject in command line.

So in what all config files i should mention this Happy.jar file ?

I tried in jserv.properties files . but still the error persists ?

can someone guide me ?

 

 
Previous Topic: java concurrent program example for 11i
Next Topic: Oracle Financials & Manufacturing 11i Training
Goto Forum:
  


Current Time: Wed May 12 10:46:06 CDT 2021