Monday, May 23, 2011

Workaround to Run SPSS 17 on Snow Leopard

You have to installed Leopard version of  JRE 1.5, like I post in previous blog post before doing these steps. After installing SPSS 17 and JRE 1.5 on Snow Leopard, open edit 2 files system:

1.  /Applications/SPSSInc/Statistics17/SPSSStatistics17.0.app/Contents/bin/jvmcfg.ini
# vim /Applications/SPSSInc/Statistics17/SPSSStatistics17.0.app/Contents/bin/jvmcfg.ini
Comment this line (put semicolon in front of this line):
jvm_lib_path1=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Libraries/
and add this line (to change the previous commented line):
jvm_lib_path1=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Libraries/
2. /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist


# sudo vim  /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist
Find this line:
"com.spss.SPSSStatistics.17.0"
"17.1"
and change 17.1 to 17.0
That's all you need to do.  This workaround makes me run SPSS 17 smoothly on my MacBook Pro :)

Sunday, May 22, 2011

Installing JRE1.5 on Snow Leopard

This JRE workaround was I did to make SPSS 17 runs well on Snow Leopard, in order to make things clearer, I divide those 2 things and put each of them on separate blog post. So let's get started! :)


Just follow this simple steps, and in the end you'll get JRE1.5 installed. Please keep in mind that this steps will not remove JRE1.6, but add the option to choose with JRE you'd like to use. First you can go to Finder -> Utilities -> Java Preferences, and check to make sure you only have Java SE 6 there (32-bit and 64-bit version). If you already have J2SE 5.0 (32-bit and 64-bit), just move 32-bit version to top of the list and you're done. No need to follow these steps below :D


1. Check your current version of JRE installed:
# java -version
2. change directory to home directory
# cd ~/
3. retrieve JRE version for Leopard (OS X 10.5.x)
# curl -o java.1.5.0-leopard.tar.gz http://www.cs.washington.edu/homes/isdal/snow_leopard_workaround/java.1.5.0-leopard.tar.gz
4. extract the file you just downloaded

# tar -xvzf java.1.5.0-leopard.tar.gz
5. remove existing 1.5 version file on Snow Leopard

# sudo rm /System/Library/Frameworks/JavaVM.framework/Versions/1.5
6. remove existing 1.5.0 version file on Snow Leopard

# sudo rm /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0
7. move current extracted JRE1.5 for Leopard to existing System directory

# sudo mv 1.5.0 /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0-leopard
8. make link from currently moved folder to previously removed file

# sudo ln -s /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0-leopard /System/Library/Frameworks/JavaVM.framework/Versions/1.5
9. same usage as no. 8
# sudo ln -s /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0-leopard /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0
And after you done with all 9 steps above, just go to Finder -> Utilities -> Java Preferences.



There you'll see additional J2SE 5.0 (32-bit and 64-bit), move J2SE 5.0 32-bit version to top of the list, close the preferences, then go back to Terminal apps to execute this command:
# java -version
Notice the differences? You'll now get the "java version 1.5.0_19" (in my MacBook Pro). And you're done :)

Saturday, May 21, 2011

Huawei Aviator Hands-On

A few photograph taken when I had a chance to glance at Huawei Aviator :)







Friday, May 20, 2011

Jailbreaking FU iOS Device

I put the title, so I am aware that what I'm about to write here works on almost any iOS device (which I already tried the same way for iPhone 3G/s and 1st generation of iPad). After reading on several blogs, and tried it on my iOS device myself, I choose the method using redsn0w. All you need to do first is make sure that newest update iOS version already been able to jailbreak, and all requirement files are downloaded and ready to use.

Actually you only need 2 files, redsn0w (mac and/or windows) and .ipsw files according to which version of iOS device you want to jailbreak. After you get those two files, execute redsn0w, choose the .ipsw files, check only at "Install Cydia", then just follow onscreen instruction at redsn0w window. That's it! :) And after rebooted, you'll find Cydia icon in your launcher.

Here are some of the snapshot I took, when jailbreak iPhone 3G: