stribor40 Posted December 3, 2013 Share Posted December 3, 2013 I have directory "myJavaDirectory" which is inside directory where my php file is. I am trying to create object something like this SomeClass s = new someClass("......."); Then use couple functions provided by this object. SomeClass.class is inside MyJavaDirectory. Is there any way i can do this? Perhaps using exec() or any other way. Any suggestion would be appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/284492-executing-java-statements-from-php/ Share on other sites More sharing options...
Joshua F Posted December 3, 2013 Share Posted December 3, 2013 This might be what you're looking for. Quote Link to comment https://forums.phpfreaks.com/topic/284492-executing-java-statements-from-php/#findComment-1461136 Share on other sites More sharing options...
Irate Posted December 3, 2013 Share Posted December 3, 2013 You could try using .jsp files for that purpose, no dire need to do it with PHP, I reckon. Besides, PHP provides a lot of handy OOP stuff, so why not use it? Quote Link to comment https://forums.phpfreaks.com/topic/284492-executing-java-statements-from-php/#findComment-1461143 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.