trigger a java class using php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • watusiboy
    New Member
    • Jan 2008
    • 14

    trigger a java class using php

    is it possible to trigger a java class stored in my local server through php?
    thanks
  • dlite922
    Recognized Expert Top Contributor
    • Dec 2007
    • 1586

    #2
    All you need to know:



    If you want to instantiate the class within PHP, I believe that's impossible.

    I do believe you can call a java app from PHP. Again, the manual has the last say.


    -Dan

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      You could just start the class by running the java command on it.
      i.e
      Code:
      java className

      Comment

      Working...