Archive for the ‘Java’ Category

258

Java: SCJP certified me as Java-nese!

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! [...]

234

PowerHub: Installation Error with ‘/tmp does not have enough disk space’

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 [...]

372

JAVA: Encrypt Your Password

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; [...]

Subscribe to RSS Feed Follow me on Twitter!