All Questions
Tagged with php-java-bridge java
105 questions
0
votes
0
answers
44
views
How do I place files of JavaBridge for my PHP Project?
I'm here trying to deal with how to place the JavaBridge package that I downloaded, into my PHP project to start using its classes contained (for example to require into my php file the java.inc class)...
1
vote
1
answer
297
views
failed to open stream: HTTP request failed using phpjavabridge
i have problem when i use php java bridge i got error like this
Warning: require_once(http://localhost:8080/JavaBridge/java/Java.inc): failed to open stream: HTTP request failed! in /Library/WebServer/...
1
vote
0
answers
429
views
require_once(): Failed opening required on javabridge
I have question.
I have setup my java and my java bridge. I have run and open port at 8080 but when I run my php code I got error here:
Warning: require_once(http://localhost:8080/JavaBridge/java/Java....
0
votes
0
answers
135
views
how to fix operator + undefined for the arguments type(s) int, object
i have source code call as PhpArray Class from JavaBridge
public final class PhpArray extends AbstractMap
{
private TreeMap t;
private HashMap m;
public PhpArray() {
this.t = ...
0
votes
0
answers
45
views
how to fix evaluation of for looping
I have code of javabridge but when I want to rebuild this code, I got an error in this code:
code witch call the code error is here
private <T> SoftReference getReference(final ...
0
votes
1
answer
170
views
how to set java bridge http local as static port?
I have a question about php/java bridge. I have run it and I got prompt like this one
I want to set this for only run in http_local port 8080 and not show again the prompt choice?
I have a search in ...
1
vote
0
answers
264
views
how to call javaBridge Main from java application
i have question about this
this is my main class
this is mycode
import dxtr.mtapi.mt4.data.QuoteClient;
import php.java.bridge.JavaBridge;
public class Main {
public ...
0
votes
0
answers
551
views
How to run JAR file using php script?
I tried JAVA bridge to get output from my jar file followed this https://stackoverflow.com/a/10253798/1870048, I am using XAMP Server and from that Apache and Tomcat server is been used
...
1
vote
0
answers
572
views
Unable to run the java class from php using PHP-Java Bridge
I am calling a java class from PHP program using Php-Java Bridge and I am using the Tomcat server.
Where I have created a Jar file of my java program and put it in C:\Tomcat 8.5\webapps\JavaBridge\WEB-...
1
vote
0
answers
241
views
Unable to run java file in PHP using PHP Java Bridge
I am executing a Java class in PHP using PHP-Java Bridge following Official documentation.
I have moved NewFile.jar in lib folder in web apps/WEB-INF folder of tomcat
I am creating a file in java then ...
2
votes
0
answers
1k
views
How to show Jasper Reports in web browser using PHP/Java Bridge?
I successfully integrated PHP/Java Bridge, and am able to show a Jasper report through Jasper Viewer which is a Swing application component. I just want to show it in a web browser using PHP/Java ...
1
vote
1
answer
214
views
PHP Java Bridge syntax for creating object with static field?
I would like to implement this PDFBox example in PHP Java Bridge but I'm stuck on the PDType1Font.HELVETICA_BOLD field:
How to create this in PHP Java Bridge:
PDFont font = PDType1Font....
0
votes
1
answer
281
views
sometimes I unable to connect to connect to socket using php java bridge
we are using java bridge from PHP application to connect to java application.
But at times, connection get failed to connect. Below is the fucntion used to connect. I am not getting what the issue is. ...
0
votes
0
answers
208
views
Running php script in jsp page
Fatal Error: Failed to start PHP ["php-cgi", "-v"], reason:
java.io.IOException: Cannot run program ""php-cgi"" (in directory
"C:\Users\user"): CreateProcess error=2, Impossibile trovare il file
...
-1
votes
1
answer
48
views
why getting inside PHPdebugger?
Problem started from here.
page1.php code snippet:
<a href=page2.php?subid=1>xyz</a>
Nothing related gets logged in php error log. Tried try.. catch block and this seems page1.php works ...