Monthly Archives: May 2017

PHP Java Bridge

———- DOWNLOAD ———–
1. Download tomcat 7.077
2. Download EasyPHP / Xampp / Wampp
3. Download JavaBridge and unpack the files / download JavaBridge.war file and save it in any folder.


4. Install EasyPHP and test the runable.

5. Edit php.ini ,turn on setting -> allow_url_include = On;

6. Configure the environment variable under “PATH” by placing the setup location i.e. “C:\Program Files (x86)\EasyPHP5.2.10\php”

7. To check the PATH variable ifworking correctly run the “command prompt” (cmd) and type this

c:\ php-cgi -v

C:\>php-cgi -v
PHP 5.2.10 (cgi-fcgi) (built: Jun 17 2009 16:16:54)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

Should appear

——- INSTALL TOMCAT 7.077 ——————

8. Install Tomcat 7.077
– configure the tocat user on “tomcat-users.xml” file look for it under the “apache-tomcat-7.0.77\conf” folder.

<role rolename=”manager-gui”/>
<role rolename=”admin-gui”/>
<role rolename=”manager-script”/>
<user username=”tomcat” password=”tomcat” roles=”manager-gui,admin-gui,manager-script”/>
<user username=”both” password=”tomcat” roles=”tomcat,role1″/>
<user username=”role1″ password=”tomcat” roles=”role1″/>

9. Run localhost:8080

10. While the tomcat is running..
go to “apache-tomcat-7.0.77\webapps” and copy paste the “JavaBridge.war” file into it.

11 . Refresh thhe tomcat / restart the tomcat server.

12. Go to localhost:8080/JavaBridge and you should be able to see the screen as shown.

13. Test php with new project and index.php file by including the following code.
$System = java(“java.lang.System”);
echo $System->getProperties();



Training with Mr Krishnan VSK in UPM 19/05/2017

How to permanently enable Cookies in Lynx text browser – Disable accept cookies prompt in lynx console browser

To enable the persistent cookies in lynx, one needs to edit lynx.cfg on different GNU / Linux and BSD* distributions lynx.cfg is located in different directory.

Most of the lynx.cfg usual locations are /etc/lynx/lynx.cfg or /etc/lynx.cfg as of time of writting this post in Debian Squeeze GNU / Linux the lynx.cfg is located in /etc/lynx-cur/lynx.cfg, whether for FreeBSD / NetBSD / OpenBSD users the file is located in /usr/local/etc/lynx.cfg

What I did to allow all cookies is open lynx.cfg in vim edit and change the following lines:







uncomment it to:


c) next, change



Onwards opening any website with lynx auto-accepts the cookies.