Aspose.Cells for Php via Java

I am trying to run Aspose.Cells for Php via Java on windows 10 but not able to run it.

@dev12scube,

Please see the document on how to use Aspose.Cells for Java in PHP for your reference.

Moreover, we have a separate PHP Excel Spreadsheet API, i.e., Aspose.Cells for PHP to perform spreadsheet manipulation tasks as well as export Excel files to multiple formats seamlessly.

Not able to create java php bridge.

@dev12scube
Please refer to the latest installation guidelines: Setup and Installation Guidelines|Documentation

%JAVA_HOME%/bin/java -Djava.ext.dirs=lib -jar JavaBridge.jar executed as follows

C:\Program Files\aspose.cells>%JAVA_HOME%/bin -Djava.ext.dirs=lib -jar JavaBridge.jar
‘C:\Program’ is not recognized as an internal or external command,
operable program or batch file.

Not working

I am getting below error after calling >php example.php

Fatal error: Uncaught [[o:Exception]:“java.lang.Exception: CreateInstance failed: new com.aspose.cells.License. Cause: java.lang.ClassNotFoundException: com.aspose.cells.License VM: 1.8.0_172@Oracle Java Technologies | Oracle at:
#-16 java.net.URLClassLoader.findClass(Unknown Source)
#-15 java.lang.ClassLoader.loadClass(Unknown Source)
#-14 sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
#-13 java.lang.ClassLoader.loadClass(Unknown Source)
#-12 java.lang.Class.forName0(Native Method)
#-11 java.lang.Class.forName(Unknown Source)
#-10 php.java.bridge.Util.classForName(Util.java:783)
#-9 php.java.bridge.JavaBridge.CreateObject(JavaBridge.java:469)
#-8 php.java.bridge.parser.Request.handleRequest(Request.java:467)
#-7 php.java.bridge.parser.Request.handleRequests(Request.java:509)
#-6 php.java.bridge.JavaBridge.handleRequests(JavaBridge.java:173)
#-5 php.java.bridge.http.JavaBridgeRunner.doPut(JavaBridgeRunner.java:203)
#-4 php.java.bridge.http.HttpServer.service(HttpServer.java:289)
#-3 php.java.bridge.http.HttpServer$Runn in C:\Program Files\aspose.cells\Java.inc on line 223

Please help.

@dev12scube,

The issue is more related to configuration on your end. It looks like your application could not access the Aspose library in the folder, e.g., WEB-INF/lib folder. Please make sure you have given proper permissions for the Aspose.Cells for PHP via Java .jar files on the web server.