1 Reply Latest reply: Dec 16, 2009 12:17 AM by 843802 RSS

    javabridge problem when integrating phppage with java plugin

    843802
      Dear all,
      i am using php apache and java bridge i am trying to acess java class file using java_require function getting below error please help me



      Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:JavaBridge]]->updateJarLibraryPath((o:String)[o:String], (o:String)[o:String], (o:String)[o:String], (o:String)[o:String]). Cause: java.lang.SecurityException: java_require() not availabie in this environment VM: 1.5.0_01@http://java.sun.com/" at: #-28 php.java.bridge.SimpleJavaBridgeClassLoader.updateJarLibraryPath(SimpleJavaBridgeClassLoader.java:84 ) #-27 php.java.bridge.JavaBridge.updateJarLibraryPath(JavaBridge.java:1417) #-26 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) #-25 sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) #-24 sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) #-23 java.lang.reflect.Method.invoke(Unknown Source) #-22 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1049) #-21 php.java.bridge.Request.handleRequest(Request.java:415) #-20 php.java.bridge.Request.handleRequests(Request.java:491) #-19 php.java.servlet.PhpJavaServlet.handleHttpConnection(PhpJavaServlet.java:314) #-18 php.j in http://localhost:8080/JavaBridge/java/Java.inc on line 109