Archive for September, 2013

How to attach Java src jar’s to Eclipse Go to: cd /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home Find the src.jar there: find /Library/Java -name ‘src.jar’ And link whatever you will find in current directory $ sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_51-b11-457.jdk/Contents/Home/src.jar .

Sep 5th, 2013 | Filed under java, mac

Sooner or later when doing some bigger system or just by messing with os you will meet that error: Too many open files You can solve it quickly by: vi /etc/sysctl.conf Append a config directive as follows: fs.file-max = 200000 Save and close the file. Users need to log out and log back in again […]

Sep 5th, 2013 | Filed under gentoo