Loading ...
Sorry, an error occurred while loading the content.

problem in including a file in php

Expand Messages
  • Vishwanath B
    hi..all i am getting the following error if i try to include..a java file in php.... can anybody help me...in this.... or what is function used to include a
    Message 1 of 6 , Mar 13, 2007
    • 0 Attachment
      hi..all
      i am getting the following error if i try to include..a java file in php....
      can anybody help me...in this....

      or what is function used to include a java file in php ...

      Fatal error: Call to undefined function: java_require()

      thanks...

      vishwanath...





      ____________________________________________________________________________________
      Looking for earth-friendly autos?
      Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
      http://autos.yahoo.com/green_center/

      [Non-text portions of this message have been removed]
    • Vinu Thomas
      It looks like you don t have the PHP-Java Bridge installed or configured on your server. The following link may be useful for you: http://in2.php.net/java
      Message 2 of 6 , Mar 13, 2007
      • 0 Attachment
        It looks like you don't have the PHP-Java Bridge installed or
        configured on your server. The following link may be useful for you:
        http://in2.php.net/java

        Regards,
        Vinu

        On 3/13/07, Vishwanath B <vishwanath_cse@...> wrote:
        >
        >
        >
        >
        >
        >
        > hi..all
        > i am getting the following error if i try to include..a java file in php....
        > can anybody help me...in this....
        >
        > or what is function used to include a java file in php ...
        >
        > Fatal error: Call to undefined function: java_require()
        >
        > thanks...
        >
        > vishwanath...
        >
        >
      • Vishwanath B
        hi... yes..i have read the information in the following link http://in2.php. net/java i am able to execute the example program here ..but i am using php4.3.9
        Message 3 of 6 , Mar 13, 2007
        • 0 Attachment
          hi...
          yes..i have read the information in the following link http://in2.php net/java

          i am able to execute the example program here ..but i am using php4.3.9 ..
          so in order to install PHP-Java bridge in this version...wat i have to do...
          can u plz send me a link...regarding this PHP-Java bridge download..
          but in my case i am trying to inlude hello.java file in hello.php file..in the following manner..
          java_require("hello.java"); and also i tried with hello.jar fille.in place of hello.java ..but also i am getting the same error..

          thanks....
          vishwanath

          ----- Original Message ----
          From: Vinu Thomas <vinuthomas@...>
          To: bang-phpug@yahoogroups.com
          Sent: Tuesday, March 13, 2007 2:26:15 PM
          Subject: Re: [bang-phpug] problem in including a file in php













          It looks like you don't have the PHP-Java Bridge installed or

          configured on your server. The following link may be useful for you:

          http://in2.php net/java



          Regards,

          Vinu



          On 3/13/07, Vishwanath B <vishwanath_cse@ yahoo.com> wrote:

          >

          >

          >

          >

          >

          >

          > hi..all

          > i am getting the following error if i try to include..a java file in php....

          > can anybody help me...in this....

          >

          > or what is function used to include a java file in php ...

          >

          > Fatal error: Call to undefined function: java_require( )

          >

          > thanks...

          >

          > vishwanath.. .

          >

          >












          <!--

          #ygrp-mlmsg {font-size:13px;font-family:arial,helvetica,clean,sans-serif;}
          #ygrp-mlmsg table {font-size:inherit;font:100%;}
          #ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}
          #ygrp-mlmsg pre, code {font:115% monospace;}
          #ygrp-mlmsg * {line-height:1.22em;}
          #ygrp-text{
          font-family:Georgia;
          }
          #ygrp-text p{
          margin:0 0 1em 0;
          }
          #ygrp-tpmsgs{
          font-family:Arial;
          clear:both;
          }
          #ygrp-vitnav{
          padding-top:10px;
          font-family:Verdana;
          font-size:77%;
          margin:0;
          }
          #ygrp-vitnav a{
          padding:0 1px;
          }
          #ygrp-actbar{
          clear:both;
          margin:25px 0;
          white-space:nowrap;
          color:#666;
          text-align:right;
          }
          #ygrp-actbar .left{
          float:left;
          white-space:nowrap;
          }
          .bld{font-weight:bold;}
          #ygrp-grft{
          font-family:Verdana;
          font-size:77%;
          padding:15px 0;
          }
          #ygrp-ft{
          font-family:verdana;
          font-size:77%;
          border-top:1px solid #666;
          padding:5px 0;
          }
          #ygrp-mlmsg #logo{
          padding-bottom:10px;
          }

          #ygrp-vital{
          background-color:#e0ecee;
          margin-bottom:20px;
          padding:2px 0 8px 8px;
          }
          #ygrp-vital #vithd{
          font-size:77%;
          font-family:Verdana;
          font-weight:bold;
          color:#333;
          text-transform:uppercase;
          }
          #ygrp-vital ul{
          padding:0;
          margin:2px 0;
          }
          #ygrp-vital ul li{
          list-style-type:none;
          clear:both;
          border:1px solid #e0ecee;
          }
          #ygrp-vital ul li .ct{
          font-weight:bold;
          color:#ff7900;
          float:right;
          width:2em;
          text-align:right;
          padding-right:.5em;
          }
          #ygrp-vital ul li .cat{
          font-weight:bold;
          }
          #ygrp-vital a {
          text-decoration:none;
          }

          #ygrp-vital a:hover{
          text-decoration:underline;
          }

          #ygrp-sponsor #hd{
          color:#999;
          font-size:77%;
          }
          #ygrp-sponsor #ov{
          padding:6px 13px;
          background-color:#e0ecee;
          margin-bottom:20px;
          }
          #ygrp-sponsor #ov ul{
          padding:0 0 0 8px;
          margin:0;
          }
          #ygrp-sponsor #ov li{
          list-style-type:square;
          padding:6px 0;
          font-size:77%;
          }
          #ygrp-sponsor #ov li a{
          text-decoration:none;
          font-size:130%;
          }
          #ygrp-sponsor #nc {
          background-color:#eee;
          margin-bottom:20px;
          padding:0 8px;
          }
          #ygrp-sponsor .ad{
          padding:8px 0;
          }
          #ygrp-sponsor .ad #hd1{
          font-family:Arial;
          font-weight:bold;
          color:#628c2a;
          font-size:100%;
          line-height:122%;
          }
          #ygrp-sponsor .ad a{
          text-decoration:none;
          }
          #ygrp-sponsor .ad a:hover{
          text-decoration:underline;
          }
          #ygrp-sponsor .ad p{
          margin:0;
          }
          o {font-size:0;}
          .MsoNormal {
          margin:0 0 0 0;
          }
          #ygrp-text tt{
          font-size:120%;
          }
          blockquote{margin:0 0 0 4px;}
          .replbq {margin:4;}
          -->









          ____________________________________________________________________________________
          The fish are biting.
          Get more visitors on your site using Yahoo! Search Marketing.
          http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

          [Non-text portions of this message have been removed]
        • Vinu Thomas
          Hi, Here are a few links to get you started. You didn t mention you OS, so I ve included links for linux and windows: http://www.hiveminds.co.uk/node/3172
          Message 4 of 6 , Mar 13, 2007
          • 0 Attachment
            Hi,
            Here are a few links to get you started. You didn't mention you OS, so
            I've included links for linux and windows:
            http://www.hiveminds.co.uk/node/3172
            http://wiki.indivohealth.org/index.php/Setting_Up_Your_UI_Server
            http://gentoo-wiki.com/HOWTO_PHP-Java_Bridge

            Regards,
            Vinu
            -------------------------------------
            http://blogs.vinuthomas.com

            On 13 Mar 2007 06:36:37 -0700, Vishwanath B <vishwanath_cse@...> wrote:

            >
            > hi...
            > yes..i have read the information in the following link http://in2.php net/java
            >
            > i am able to execute the example program here ..but i am using php4.3.9 ..
            > so in order to install PHP-Java bridge in this version...wat i have to do...
            > can u plz send me a link...regarding this PHP-Java bridge download..
            > but in my case i am trying to inlude hello.java file in hello.php file..in the following manner..
            > java_require("hello.java"); and also i tried with hello.jar fille.in place of hello.java ..but also i am getting the same error..
            >
            > thanks....
            > vishwanath
            >
          • Vishwanath B
            hi.. i came to know the problem now..but i am not getting any exact link where i can download php-java bridge 3.0.7 according to the information displayed in
            Message 5 of 6 , Mar 13, 2007
            • 0 Attachment
              hi..
              i came to know the problem now..but i am not getting any exact link where i can download
              php-java bridge 3.0.7 according to the information displayed in the following link.

              http://wiki.indivohealth.org/index.php/Setting_Up_Your_UI_Server#Windows
              and i got the php-java-bridge 4.0.1_j2ee ..in this just i am having lib folder
              and i dont have WEB-INF/cgi/java-x86-windows.dll
              this dll file..and
              C:\php\log\java-bridge.logthis log file..so can u plz send me the exact link where i can download php-java bridge 3.0.7 and instructions how to configure exactly...

              my operation system--windows XP,
              php version-4.4.4

              and my php.ini file is in the following manner..

              extension_dir= "C:\php\extensions"
              extension=php_java.dll[Java]
              java.java = "C:\Program Files\Java\j2re1.4.2_13\bin\javaw"
              java.java_home = "C:\Program Files\Java\j2re1.4.2_13"
              java.log_level = 2
              java.log_file = "C:\php\log\java-bridge.log"

              and here i dont have log\java-bridge.log
              and i restarted ther server after thse changes also
              and tell me are there any other changes also

              thanks....for ur information..it will be more helpful...for me if u sovle this problem..

              vishwanath...

              ----- Original Message ----
              From: Vinu Thomas <vinuthomas@...>
              To: bang-phpug@yahoogroups.com
              Sent: Tuesday, March 13, 2007 7:14:45 PM
              Subject: Re: [bang-phpug] problem in including a file in php













              Hi,

              Here are a few links to get you started. You didn't mention you OS, so

              I've included links for linux and windows:

              http://www.hivemind s.co.uk/node/ 3172

              http://wiki. indivohealth. org/index. php/Setting_ Up_Your_UI_ Server

              http://gentoo- wiki.com/ HOWTO_PHP- Java_Bridge



              Regards,

              Vinu

              ------------ --------- --------- -------

              http://blogs. vinuthomas. com



              On 13 Mar 2007 06:36:37 -0700, Vishwanath B <vishwanath_cse@ yahoo.com> wrote:



              >

              > hi...

              > yes..i have read the information in the following link http://in2.php. net/java

              >

              > i am able to execute the example program here ..but i am using php4.3.9 ..

              > so in order to install PHP-Java bridge in this version...wat i have to do...

              > can u plz send me a link...regarding this PHP-Java bridge download..

              > but in my case i am trying to inlude hello.java file in hello.php file..in the following manner..

              > java_require( "hello.java" ); and also i tried with hello.jar fille.in place of hello.java ..but also i am getting the same error..

              >

              > thanks....

              > vishwanath

              >












              <!--

              #ygrp-mlmsg {font-size:13px;font-family:arial,helvetica,clean,sans-serif;}
              #ygrp-mlmsg table {font-size:inherit;font:100%;}
              #ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}
              #ygrp-mlmsg pre, code {font:115% monospace;}
              #ygrp-mlmsg * {line-height:1.22em;}
              #ygrp-text{
              font-family:Georgia;
              }
              #ygrp-text p{
              margin:0 0 1em 0;
              }
              #ygrp-tpmsgs{
              font-family:Arial;
              clear:both;
              }
              #ygrp-vitnav{
              padding-top:10px;
              font-family:Verdana;
              font-size:77%;
              margin:0;
              }
              #ygrp-vitnav a{
              padding:0 1px;
              }
              #ygrp-actbar{
              clear:both;
              margin:25px 0;
              white-space:nowrap;
              color:#666;
              text-align:right;
              }
              #ygrp-actbar .left{
              float:left;
              white-space:nowrap;
              }
              .bld{font-weight:bold;}
              #ygrp-grft{
              font-family:Verdana;
              font-size:77%;
              padding:15px 0;
              }
              #ygrp-ft{
              font-family:verdana;
              font-size:77%;
              border-top:1px solid #666;
              padding:5px 0;
              }
              #ygrp-mlmsg #logo{
              padding-bottom:10px;
              }

              #ygrp-vital{
              background-color:#e0ecee;
              margin-bottom:20px;
              padding:2px 0 8px 8px;
              }
              #ygrp-vital #vithd{
              font-size:77%;
              font-family:Verdana;
              font-weight:bold;
              color:#333;
              text-transform:uppercase;
              }
              #ygrp-vital ul{
              padding:0;
              margin:2px 0;
              }
              #ygrp-vital ul li{
              list-style-type:none;
              clear:both;
              border:1px solid #e0ecee;
              }
              #ygrp-vital ul li .ct{
              font-weight:bold;
              color:#ff7900;
              float:right;
              width:2em;
              text-align:right;
              padding-right:.5em;
              }
              #ygrp-vital ul li .cat{
              font-weight:bold;
              }
              #ygrp-vital a {
              text-decoration:none;
              }

              #ygrp-vital a:hover{
              text-decoration:underline;
              }

              #ygrp-sponsor #hd{
              color:#999;
              font-size:77%;
              }
              #ygrp-sponsor #ov{
              padding:6px 13px;
              background-color:#e0ecee;
              margin-bottom:20px;
              }
              #ygrp-sponsor #ov ul{
              padding:0 0 0 8px;
              margin:0;
              }
              #ygrp-sponsor #ov li{
              list-style-type:square;
              padding:6px 0;
              font-size:77%;
              }
              #ygrp-sponsor #ov li a{
              text-decoration:none;
              font-size:130%;
              }
              #ygrp-sponsor #nc {
              background-color:#eee;
              margin-bottom:20px;
              padding:0 8px;
              }
              #ygrp-sponsor .ad{
              padding:8px 0;
              }
              #ygrp-sponsor .ad #hd1{
              font-family:Arial;
              font-weight:bold;
              color:#628c2a;
              font-size:100%;
              line-height:122%;
              }
              #ygrp-sponsor .ad a{
              text-decoration:none;
              }
              #ygrp-sponsor .ad a:hover{
              text-decoration:underline;
              }
              #ygrp-sponsor .ad p{
              margin:0;
              }
              o {font-size:0;}
              .MsoNormal {
              margin:0 0 0 0;
              }
              #ygrp-text tt{
              font-size:120%;
              }
              blockquote{margin:0 0 0 4px;}
              .replbq {margin:4;}
              -->









              ____________________________________________________________________________________
              Sucker-punch spam with award-winning protection.
              Try the free Yahoo! Mail Beta.
              http://advision.webevents.yahoo.com/mailbeta/features_spam.html

              [Non-text portions of this message have been removed]
            • Vinu Thomas
              Did you google it? http://www.google.co.in/search?q=download+php-java+bridge Regards, Vinu
              Message 6 of 6 , Mar 14, 2007
              • 0 Attachment
                Did you google it?
                http://www.google.co.in/search?q=download+php-java+bridge

                Regards,
                Vinu


                On 3/14/07, Vishwanath B <vishwanath_cse@...> wrote:

                >
                > hi..
                > i came to know the problem now..but i am not getting any exact link where i can download
                > php-java bridge 3.0.7 according to the information displayed in the following link.
                >
                > http://wiki.indivohealth.org/index.php/Setting_Up_Your_UI_Server#Windows
                > and i got the php-java-bridge 4.0.1_j2ee ..in this just i am having lib folder
                > and i dont have WEB-INF/cgi/java-x86-windows.dll
                > this dll file..and
                > C:\php\log\java-bridge.logthis log file..so can u plz send me the exact link where i can download php-java bridge 3.0.7 and instructions how to configure exactly...
                >
                > my operation system--windows XP,
                > php version-4.4.4
                >
                > and my php.ini file is in the following manner..
                >
                > extension_dir= "C:\php\extensions"
                > extension=php_java.dll[Java]
                > java.java = "C:\Program Files\Java\j2re1.4.2_13\bin\javaw"
                > java.java_home = "C:\Program Files\Java\j2re1.4.2_13"
                > java.log_level = 2
                > java.log_file = "C:\php\log\java-bridge.log"
                >
                > and here i dont have log\java-bridge.log
                > and i restarted ther server after thse changes also
                > and tell me are there any other changes also
                >
                > thanks....for ur information..it will be more helpful...for me if u sovle this problem..
                >
                > vishwanath...
              Your message has been successfully submitted and would be delivered to recipients shortly.