It’s been quite some time since I haven’t updated my blog. I need to prepare myself for my SCJP Exam Test. After months of studying, I finally passed the SJCP exam test. Now, with the Java Certification in my hand, I’m officially javanese that not only speak Java natively but also do Java programming! Yiihaa! [...]
Archive for the ‘Java’ Category
258 234PowerHub: Installation Error with ‘/tmp does not have enough disk space’
May 18th, 2009
No Comments
When I’m installing PowerHub, I encounter the error message: WARNING: /tmp does not have enough disk space! Attempting to use /glb/home/s_peam01 for install base and tmp dir. Extracting the JRE from the installer archive… The included VM could not be extracted. Please try to download the installer again and make sure that you download using [...]
JAVA: Encrypt Your Password
May 18th, 2009
No Comments
I’ve been dealing with some java application that connect to multiple databases. All the database information are stored in properties file. This includes the password as well. I stumbled upon the Cryptix. I’m able to encrypt and decrypt using several lines of code as follow: byte[] bytes = passwordString.getBytes(i); Security.addProvider(new Cryptix()); RawSecretKey key = null; [...]


