Tuesday, 21 December 2010

Japan










Firefox Flash player Ubuntu 10.10 LTS 64bit

In order to get the Flash player for Firefox under Ubuntu 10.10 64bit, it can easily be installed at the command prompt, typing:
sudo add-apt-repository ppa:sevenmachines/flash && sudo apt-get update && sudo apt-get install flashplugin64-installer.
You can refer to https://help.ubuntu.com/community/RestrictedFormats/Flash#installation for more detailed information.

Thursday, 2 December 2010

Installing Apache Tomcat on Windows7

- Installing tomcat on Windows 7
- Download Apache Tomcat from the website http://tomcat.apache.org/index.html
- Unzip it
- Place the folder in a directory suitable for your system
e.g. C:\Program Files\Whatever
- If the classpath is correctly set, at the command prompt, navigate to the \bin folder of your apache-tomcat- (If not there's a previous post that will tell you how to do that).
- run startup.bat to start it up
- shutdown.bat to stop the server
- check with your browser if the server is correctly running, by typing in the address bar, http://localhost:8080
- Apache's Tomcat web page should load with no problem
- Now you're ready to develop your best web apps.

Photobucket

How to set the Java Classpath

In Windows 7:
Control Panel->System->advanced system settings->environment variables->system variables:
Create new variables:
->click new
variable name: CLASSPATH, variable value: C:\Program Files\Java\jdk1.6.0_22
variable name: JAVA_HOME, variable value: C:\Program Files\Java\jdk1.6.0_22
variable name: Path, variable value: ...;...;C:\Program Files\Java\jdk1.6.0_22\bin; (append it to the existing path, don't forget the semi-columns(;))