复制Java.inc放到网站目录里面调用就OK了 /usr/local/php/lib/php/extensions/no-debug-zts-20100525/java/Java.inc 修改: define ("JAVA_HOSTS", "127.0.0.1:8080"); // define ("JAVA_PERSISTENT_SERVLET_CONNECTIONS", true); // define ("JAVA_PREFER_VALUES", 1); define ("JAVA_DEBUG", false); define ("JAVA_PIPE_DIR", "/data/test/java-tmp"); //这个是缓存文件地址
2. [代码][PHP]代码
// http://c.3viso.cn/java.php 这是一个测试小程序 #!/usr/bin/php getProperty("java.version")." "; $str=new Java("java.lang.String"); echo $str;

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Dreamweaver Mac version
Visual web development tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.
