Tuesday, December 11, 2012

Steps for installation of fonts on Windows 2008 Server and Tomcat Application Sever.



Windows 2008 Server
1.       Look for the folder named “Fonts” in your windows folder. Most probable it will be “C:\Windows\Fonts\”. Fonts folder can also be find using by running the command “%windir%/fonts”.
2.       Copy the required font in the above mention “Fonts” folder.
Tomcat Application Sever
1.       Copy the required fonts on tomcat’s JRE inside {JRE_HOME}/lib/fonts/.
Step for finding Tomcat JRE Path
1.       Go to the apache home directory (Apache Software Foundation\Tomcat 6.0\logs\service-install.log). it’s can also be find search this file service-install.log in c drive.
2.       Then open the file and check jvm path just like (bin\Tomcat5.exe" --Jvm "C:\Program Files\Java\jre7\bin\client\jvm.dll"). this is your java home directory “C:\Program Files\Java\jre7\
3.       Find path like C:\Program Files\Java\jre7\lib\fonts
4.       Copy the required font in the above mention “Fonts” folder.
5.       Then restart tomcat server.
Another way to finding All JRE path.
Step 1: Go to start menu, type java in run and select java.

Step 2: Go to java tab.

 

 Step 3: Click on View button.



 Step 4:  Finding tomcat jre path {JRE_HOME}/lib/fonts/. 

Step 6: Copy the required font in the above mention “Fonts” folder.

 






How to Calculate the Future Investment Value of Investment.

Below java program for calculate future investment value. Here calculate s using the formula futureInvestmentValue =investmentAmount x (...