[Solved] j2sdk-1_4_2_05-linux-i586.bin tail: cannot open `+486′ for reading: No such file or directory ERROR

Solution

1. rm the old binary installer

rm j2sdk-1_4_2_05-linux-i586.bin

2. Run this Export

export _POSIX2_VERSION=199209

3. Download installer again and execute

./j2sdk-1_4_2_05-linux-i586.bin

I was able to get it working by following above steps. Let me know how it went for you.

SOLVED: Failed to load driver ‘com.mysql.jdbc.Driver’

Easy way to solve this error is to download ConnectorJ.

1) Step 1: wget –spider “http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.0.8.zip/from/http://mysql.he.net/”

2) Step 2: unzip mysql-connector-java-5.0.8.zip

3) Step 3: Add it to your includes

References:

i) http://dev.mysql.com/doc/refman/5.1/en/connector-j.html