Install jdk 7 on Solaris x86 64bits

1) download jdk download *.tar.gz from Oracle Java site, this version can be unpacked at local location, don’t need to uninstall current default jdk on system. jdk-7u-linux-i586.tar.gz JDK 7 jdk-7u-linux-x64.tar.gz JRE 7 64 bits 2) unzip jdk cd /usr/jdk/ gunzip *.tar.gz|tar xvf – /usr/jdk/jdk-1.7.0_21 // new jdk 7 3) remove …

bash profile setup for openSUSE and Solaris 11

The global setting change can be added to /etc/profile, this will be refreshed on next user login; or /etc/bash.bashrc(openSUSE) or /etc/bash/bashrc, this will be refreshed on next bash shell started. I prefer use bash profile. openSUSE setup add change at end of /etc/bash.bashrc Solaris 11 x86 add change at end …

Cannot reset password for newuser

For new user need to reset password for first time login but always failed on passwd command: root # passwd testuser Enter testuser’s password: New Password: Re-enter new Password: Permission denied 1) truss on passwd truss -eaf -rall -wall -vall -o /var/tmp/passwd222.truss passwd testuser 17206:  putmsg(8, 0xFFBFA2B8, 0xFFBFA2AC, 0)            = …

Install jython on Solaris

ftp jython-2.1.class to server install without GUI java jython_21 -o /home/dev/jython demo lib source add path to $HOME/.cshrc setenv PATH ${PATH}:/home/dev/jython setenv CLASSPATH .:/home/dev/jython/jython.jar first time run jython *sys-package-mgr*: processing new jar, ‘/home/dev/jython/jython.jar’ *sys-package-mgr*: processing new jar, ‘/usr/j2se/jre/lib/rt.jar’ *sys-package-mgr*: processing new jar, ‘/usr/j2se/jre/lib/sunrsasign.jar’ *sys-package-mgr*: processing new jar, ‘/usr/j2se/jre/lib/jsse.jar’ *sys-package-mgr*: processing …