1) Download Java 6 2014 from Apple:
http://support.apple.com/kb/DL1572
2) Install Oracle JDK 7
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Troubleshooting
Missing libserver.dylib?. If you follow the above instructions you should not have this problem.
Other:
Installing Oracle JDK 7 by itself is almost good but not good enough for Apple OSX. Most apps do not complain.
Enjoy:
http://stackoverflow.com/questions/19563766/eclipse-kepler-for-os-x-mavericks-request-java-se-6
Low level shell commands replacement:
cp Info.plist Info.plist.backup
sudo emacs Info.plist
new file:
...
< <key>JVMCapabilities</key>
< <array>
< <string>JNI</string>
< <string>BundledApp</string>
< <string>WebStart</string>
< <string>Applets</string>
< <string>CommandLine</string>
< </array>
...
old file:
...
> <key>JVMCapabilities</key>
> <array>
> <string>CommandLine</string>
> </array>
...
Tuesday, June 3, 2014
Monday, March 17, 2014
Emacs insert new line in minimized CSV
Minimized CSV file content:
"2013-01-12","test", "123","2013-01-12","test", "123","2013-01-12","test", "123"
to convert to CSV (new line at each "yyyy-mm-dd", "test" tuple):
M-x replace-regexp
\("[0-9]+",\)
replace with: (new line insert)
\1<C-q C-j>n
Done
"2013-01-12","test", "123","2013-01-12","test", "123","2013-01-12","test", "123"
to convert to CSV (new line at each "yyyy-mm-dd", "test" tuple):
M-x replace-regexp
\("[0-9]+",\)
replace with: (new line insert)
\1<C-q C-j>n
Done
Hadoop on OSX
To get Hadoop 2.+ working on OSX, not using brew, just a pure installation from Hadoop homepage follow this tutorial:
- http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/
- Seeing 'Unable to load realm mapping info from SCDynamicStore' use this step - You might have better luck with this setting, however my setup still complains about this.
Thank you for making these articles available for free. Click on some ads while you are there :)
Subscribe to:
Posts (Atom)