Jump to content

urgent help ::::: php and java


faizulbari

Recommended Posts

i am trying to integrate java and php

so that i can call java functions from php.

i googled it and found out avout javabridge

i am using php/5.2.0 and Apache/2.0.59 & windows XP SP2

 

but i can't configure phpbridge to work correctly

 

getting the error <<Fatal error: Class 'Java' not found in E:\wamp\www\hello.php on line 3>>

 

help is urgently needed...... ???

Link to comment
Share on other sites

Okay, I think I know what may be wrong. What I did in the past was I connected my hosting company and asked them about this. They were very helpful and explained that some option wasn't enabled in the web hosting server. Try contacting them. It is possible there is something that is turned off or simply not possible to do.

Link to comment
Share on other sites

from the look of that they are running it off there flash drive or something. usually E: is a flash port. but it may be a hard drive. so its not on the internet. try looking in hello.php on line three, because its saying that the class Java does not exist. So you are trying to create a new class Java which dosnt exist.

Link to comment
Share on other sites

Javabridge links this page: http://www.dsl.uow.edu.au/~sk33/phpjava.htm for reference on setting up their "bridge" for Win32 systems.  The very first line in the to-do list reads:

 

So far, I still can't figure it out how to integrate PHP/Java Bridge with PHP 5.2.

 

Your first post states:

 

i am using php/5.2.0 and Apache/2.0.59 & windows XP SP2

 

Me thinks you should read the documentation

Link to comment
Share on other sites

  • 10 months later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.