conversion of java to php code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swethak
    New Member
    • May 2008
    • 118

    conversion of java to php code

    hi,

    i want to convert the java code to php code .If any idea plz help me. I have one reference website is there to convert java to php code.But i run like that i got the below error.plz see once whats the mistake in that.

    http://www.hiveminds.c o.uk/node/3172


    Call to undefined function java_require() in C:\wamp\www\aaa a.php on line 3
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, Swethak.

    Do you want to convert the Java code to PHP or to write PHP code to communicate with a Java app?

    If java_require() is undefined, you don't have PHP/Java Bridge installed properly. Did you restart Apache after installing it?

    Comment

    • thallasridevi
      New Member
      • Dec 2007
      • 27

      #3
      I too got the same problem.
      I have installed php/java brodge and made changes to php/ini file. I am using IIS on windows XP.

      But i could not be able to run the program(php) which contains the creation of java object

      Please suggest a solution.


      Originally posted by pbmods
      Heya, Swethak.

      Do you want to convert the Java code to PHP or to write PHP code to communicate with a Java app?

      If java_require() is undefined, you don't have PHP/Java Bridge installed properly. Did you restart Apache after installing it?

      Comment

      • pbmods
        Recognized Expert Expert
        • Apr 2007
        • 5821

        #4
        Make sure you restart Apache/IIS after changing your php.ini settings.

        Comment

        • thallasridevi
          New Member
          • Dec 2007
          • 27

          #5
          I have restarted the IIS. But i am unable to run the program.
          Originally posted by pbmods
          Make sure you restart Apache/IIS after changing your php.ini settings.

          Comment

          • pbmods
            Recognized Expert Expert
            • Apr 2007
            • 5821

            #6
            If you do a phpinfo(), do you see Java listed anywhere?

            Comment

            Working...