Sunday, September 6, 2009

Ubuntu-Setting the PATH variable for Java






:~$ sudo gedit /etc/profile
[sudo] password for Admin: // enter admin password

Then Gedit will open with something like

# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
# $$$$$$$$$$$$$$$ copy to here $$$$$$$$$$$$$


Append this to end of the file


PATH=/*$$$$full path to bin here (eg:/home/srinath/myJava/jdk1.6.0_03/bin)$$$$$*/ :${PATH}
export PATH
JAVA_HOME=/*$$$$full path to bin here (eg:/home/srinath/myJava/jdk1.6.0_03/bin)$$$$$*/
export JAVA_HOME



Finally it will look like this.

# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi

if [ "$PS1" ]; then
if [ "$BASH" ]; then
PS1='\u@\h:\w\$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi


PATH=/home/srinath/myJava/jdk1.6.0_03/bin:${PATH}
export PATH
JAVA_HOME=/home/srinath/myJava/jdk1.6.0_03/bin
export JAVA_HOME


umask 022



Now save.This is global, and affect all users.
Logout & Login, then try java -version

Share Article : Ubuntu-Setting the PATH variable for Java
Share/Save/Bookmark

Sunday, August 30, 2009

WOW,1 MONTH AND 2,365 USERS


Lol, developped and added "PDF Converter" to Blogger gadgets and iGoogle Gadgets in July 28th and now as at Aug 28th it has added to 2,365 blogs.

Some users...
thamizhoviya.blogspot.com
eaazi.blogspot.com
ganchilloydosagujaspatterns.blogspot.com
naturistlibrary.blogspot.com blogger.com
blogoficialdoconcurseiro.blogspot.com
valpaiyan.blogspot.com
cleidecallheiross2009.blogspot.com
anjaan1.blogspot.com
asmventures.blogspot.com
paolofranceschetti.blogspot.com
elojodelarazon.blogspot.com
agenciaplacar.blogspot.com
knitalittlemore.blogspot.com
hokkaidotraveltw.blogspot.com
diabeticoluta.blogspot.com

  • 197,494 total page views, open for advertising

Share Article : WOW,1 MONTH AND 2,365 USERS
Share/Save/Bookmark

Wednesday, August 26, 2009

Free PHP hosting(NO restrictions to Curl,mail,fopen)



Support PHP and MySQL with no restrictions. You get full access to the latest version of PHP and MySQL. The following PHP features are fully supported:LOL
  • PHP mail() function and Sendmail
  • Curl, GD2 library, XML, Zend, .htaccess support
  • fopen() and PHP sockets
  • safe_mode is OFF, file uploads are ON
  • Zend Optimizer support, Ioncube loader.
  • *** 1500 MB of disk space
    *** 100 GB of data transfer
    *** PHP and MySQL support with no restrictions
    *** cPanel control panel
    *** Website Builder
    *** Absolutely no advertising!

  • Free Website Hosting

    Register now

Share Article : Free PHP hosting(NO restrictions to Curl,mail,fopen)
Share/Save/Bookmark

Monday, August 24, 2009

Java EE 6,Free Webinar (register before Aug 26)


Topics.......

  • Java EE evolution
  • Java EE 6 features overview
  • GlassFish v3 features
  • Getting started with Java EE 6


DATE : Wednesday, August 26, 2009
TIME : 10.30 PM (LOCAL TIME)
REGISTER HERE
(then u'll get a participation link by email)

Share Article : Java EE 6,Free Webinar (register before Aug 26)
Share/Save/Bookmark