473,378 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

java php integration

1
can any one help me about how to integrate java support in php
creating instances and how to override methods.

I have successfully integrated java extension in to php. But still not able to find ways to run java threads in php. Is it possible.

Is multithreading there in php ??? I dont want to use PHP process control functions neither do i wanna use declare and ticks.

:)
Jul 25 '06 #1
3 1926
vssp
268 100+
Can u please send the code?
Jul 26 '06 #2
Can u please send the code?
what PHP version and Java version are u using? You have to make the java extension exactly matches the java version.
Aug 1 '06 #3
Hi guys,

i am also facing the same problem.

i am trying to integrate the PHP and Java. Actually i am trying to create the instance of a java class in php file and use it's methods.

I have done the configuration changes in the php.ini file as below;
extension=php_java.dll
java.class.path="C:\wamp\php\ext\php_java.jar;C:\P rogram Files\Java\jdk1.5.0_06\jre\lib"
java.home="C:\Program Files\Java\jdk1.5.0_06\bin"
java.library="C:\Program Files\Java\jdk1.5.0_06\jre\bin\server\jvm.dll"
java.library.path="C:\wamp\php\ext;"


The files are in the metioned place.

But, whenever i am trying to run the php file from the browser, it returns the
"Page cannot be displayed" and in the down it shows,
"Cannot find server or DNS Error"

Before that, the Visual Studio Debugger opens and shows the exception in apache.exe
that is "Unhandled exception at 0x00f9678f in Apache.exe: 0xC0000005: Access violation writing location 0xab000201."

immediately the browser displays "the page cannot be displayed".
Dec 19 '06 #4

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

Similar topics

3
by: gohaku | last post by:
Hi everyone, I would like to know if it's possible to use python (libraries) in a Java Program. I do not want to use: Process proc = Runtime.getRuntime.exec(command) I am basically looking for...
14
by: Joachim Boomberschloss | last post by:
Hello, I am working on a project in Python, and I"m currently looking into the possibiliy of writing some of the project"s modules in Java. Given that a large part of the code is already...
9
by: CY FOK | last post by:
Hi I am planning to open a software company to develop client-server apps and web applications for my client. Now, i am in a difficult situation to determine what is the best platform i should use...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
2
by: Ad Bec | last post by:
I know that this question has probably been asked before but I am not in the mood to search the forums I am already tired of doing that. I need an answer for my What are Microsoft corp. plans...
0
by: Rithish | last post by:
OS : RHEL3 PHP version : 5.0.2 JDK version : 1.5.0.06 I have been trying to compile PHP with JAVA support for the past week, and all I have left to do is take a noose and hang myself. Of all...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
3
by: stien | last post by:
Hi, I'm looking for someon who can help me with a problem with the php/java integration...It just won't work.. Here are some data to describe the software/system I'm working with:...
3
by: Nishant | last post by:
Hi, I have to devlope a windows application with general functionality of Web Service Interaction, Office Integration and reporting. My expertise in both dot net and Java(Only Web application)....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.