Ironically, the version of java you are using does not have the getProperty() method yet. Try System.getProperties().getProperty("java.version") instead.
thank you for your reply.
That option also giving the same error.
but this is working fine when i call the executable (plsql procedure) from an anonymous block , its working fine.
very confused , why this is happening, why those System.getProperty, System.getProperties these commands are throwing this weird error, only the plsql package is executed from Concurrent program.
i even tried to catch the exact exception like
System.out.println("Inside Try block");
String str = System.getProperty("java.version");
System.out.println("Inside our Exception");
Inside Try block is getting printed , then directly the Java Exception No class def found error.
"Inside our Exception" is not getting printed.
Please help me , We are doing upgrade from 11i to R12.2.6
these codes are from 11i , but the same code is implemented in our another stream ,they use R12.2.2 - its working fine there.
Really not sure , what is failing in EBS, we had already downloaded jaf.1.1.1 and mail.jar and added in the Concurrent Class path.
Thanks .. Arun..
Hi Someone please help.
When a java source is accessed through concurrent program , will there be any access issue to execute System.getProperties etc ?
how to check that , how to fix the same. Please help.
Because the plsql package runs from the embedded java runtime that is inside the database which is very old. Those older versions of java did not have an accessor for getProperty() which was only introduced to the newer versions of java.
Hi Handat, thank you for your reply again.
From Anonymous block its Working actually, Fails only if we call from Concurrent Program.
We are woking in EBS upgrade , and taking all the code from 11i to R12.2.6. This java code is working in 11i. but when i implement the same in R12.2.6 , am getting this "Java unhandled exception no class def found error" only we execute through Concurrent program. the Java code is failing exactly at System.getProperty()/System.getProperties etc.
is this any access issue ? or some other issue please help me to figure out this
Finally the issue was , I did not give proper GRANTS for the Java programs to execute in oracle,please refer the below links.