To run this sample:
git clone git://github.com/soywiz/phpJavaVM.git
cd phpJavaVM
# It will run sample/bin/Test.class with the phpJavaVM
php java.php
# You can run it too using your installed java VM to compare results
cd sample/bin
java Test
Java Virtual Machine implemented on PHP. [DEPRECATED] Please, check jtransc instead: https://github.com/jtransc/jtransc
PHP
To run this sample:
git clone git://github.com/soywiz/phpJavaVM.git
cd phpJavaVM
# It will run sample/bin/Test.class with the phpJavaVM
php java.php
# You can run it too using your installed java VM to compare results
cd sample/bin
java Test