473,498 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

conversion of java to php code

118 New Member
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.co.uk/node/3172


Call to undefined function java_require() in C:\wamp\www\aaaa.php on line 3
Aug 6 '08 #1
5 4661
pbmods
5,821 Recognized Expert Expert
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?
Aug 6 '08 #2
thallasridevi
27 New Member
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.


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?
Aug 11 '08 #3
pbmods
5,821 Recognized Expert Expert
Make sure you restart Apache/IIS after changing your php.ini settings.
Aug 11 '08 #4
thallasridevi
27 New Member
I have restarted the IIS. But i am unable to run the program.
Make sure you restart Apache/IIS after changing your php.ini settings.
Aug 12 '08 #5
pbmods
5,821 Recognized Expert Expert
If you do a phpinfo(), do you see Java listed anywhere?
Aug 13 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

8
38528
by: Gregory Casamento | last post by:
I am currently looking for a way to convert HTML to PDF in Java. I cannot: 1) use anything which is MS-Windows specific. 2) Use an external server which processes the HTML -> PDF. Keeping...
1
10001
by: PaullyB | last post by:
Hi, I am attempting to convert the following code written in c to equivalent java code. This is the CRC32 algorithm used by a GPS received I am interfacing with. Unfortunately, the CRC32 class...
3
2107
by: Charles | last post by:
Am looking to convert an app written in VB.NET to J2EE. Anyone know of a tool like Java Language Conversion Assistant which does this?
31
6574
by: Bjørn Augestad | last post by:
Below is a program which converts a double to an integer in two different ways, giving me two different values for the int. The basic expression is 1.0 / (1.0 * 365.0) which should be 365, but one...
0
1707
by: Charles Atwood | last post by:
I am trying to use the Java Language Conversion Assistant 2.0 with Visual Studio .NET 2003 on Windows 2000 Server SP4 and .NET framework 1.1 to convert some java files to C#. I go through all the...
0
1635
by: daniel li | last post by:
I got a runtime error for the following C# code which is converted from java to C# by .net conversion tool. Error: out of range exception "Ticks must be between DataTime.MinValue.Ticks and...
1
3215
by: vadala | last post by:
The requirement is to send start data and end date from java to UI (.net) for a functionality. We are setting the time in java (1.5) before handing it over to WebService (sending to UI ) in...
9
6329
by: =?Utf-8?B?RmxhdmVsbGUgQmFsbGVt?= | last post by:
Apparently the Java Conversion tool that used to be in Visual Studio 2005 is no longer supported in Visual Studio 2008. Anyone have any suggestions on how to convert a Java program to C# in Visual...
4
2334
by: Ty | last post by:
Hello all, I am creating a website in VS 2008 VB.net. On one of my pages I am using the Table control to make a type of calendar a IN/OUT board. The problem I found after I wrote all the code...
1
3171
oll3i
by: oll3i | last post by:
E:\ECLIPS~1\ZADANIE3\SRC\EJB>javac -Xlint:unchecked ManageDBBean.java ManageDBBean.java:34: warning: unchecked conversion found : java.util.HashMap required:...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7205
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5462
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4910
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4590
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1419
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.