Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

executing custom java binaries with Special Command ksc_run_java

Highlighted
Cenk Oguz
Regular Collector

executing custom java binaries with Special Command ksc_run_java

Hi,

I am interested in building a custom java tool that will build up certain file output that can not be done easily in PL/SQL. Don't like to do it in standard JSP either, its not meant for that.

So I am looking into launching such a Java class with ksc_run_java, but does this command require its target class to have a special interface implemented?

I doubt it will execute a regular Main class?

BR,
Cenk
3 REPLIES
Erik Cole
Honored Contributor

Re: executing custom java binaries with Special Command ksc_run_java

Don't know, you'd have to try it. You could also use ksc_local_exec and/or call your java from within a shell script...
Cenk Oguz
Regular Collector

Re: executing custom java binaries with Special Command ksc_run_java

Well I wanted to get the J2EE context and classpaths set up automaticlly for me, that is why I looked into this.

Running a standalone java client will not give me that.
Gagan20
Acclaimed Contributor

Re: executing custom java binaries with Special Command ksc_run_java

Hello Cenk

 

I am trying to do something similar - I'm trying to execute a java class outside PPM that is being run by one of the commands in PPM using ksc_run_java
 
However, the execution of the class fails saying NoSuchMethod Main
 
Can you tell me how can I execute that class - I cant figure how is PPM able to execute it using ksc_run_java (what does ksc_run_java do under neath?)
 
Thanks.
//Add this to "OnDomLoad" event