Entries Tagged 'Apple' ↓
September 2nd, 2008 — Apple
I have been playing around with a lot of Java tools these days! I was trying out XPlanner and when I ran the startup shell script, it spit out the infamous error!
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
I tried a couple of things, but they did not work. A bit of Google, and found an easy way.
Here are the steps!
- Open Terminal.
- First confirm you have JDK by typing “which java”. It should show something like /usr/bin/java.
- Check you have the needed version of Java, by typing “java -version”. My setup shows java version “1.5.0_13″
- JAVA_HOME is essentially the full path of the directory that contains a sub-directory named bin which in turn contains the java.
- For Mac OSX - it is /Library/Java/Home (There are other directories too, but this is the simplest!)
- Set JAVA_HOME using this command in Terminal: export JAVA_HOME=/Library/Java/Home
- echo $JAVA_HOME on Terminal to confirm the path
- You should now be able to run your application
This sets JAVA_HOME only for this session. If you want it to persist, you will have to add the command to your ~/.profile file.
For more details on this, refer to Sean Brown’s blog post.
August 22nd, 2008 — Apple
I got .bin and .cue files from a friend. And was wondering how to use them on my Mac.
What are .bin and .cue files?
They are essentially CD/DVD image files. The .BIN / .CUE CD image format was made popular by the CDRWin software. Afterwards many programs have started supporting or partially supporting it, including: Nero, Blindwrite, CloneCD, FireBurner. The .CUE file contains the track layout information, while the .BIN file holds the actual data.
.ISO is also a CD image format, but is sometimes used for 'ISO9660 format' (standard, recognized by all applications) and sometimes for unique Easy CD ISO format.
So how can you open them on a Mac OS X?
Apple's DiskUtility does not support these formats. Roxio Toast or other CD burning software can open and burn from .bin+.cue files. But if you don't want to do all that, there is an easy way!
Use the bchunker command line program! You can download a Mac compiled version from James Sears' site and run a command like this to get an ISO file. This ISO file can now be easily mounted by DiskUtility.
CODE:
-
bchunk myinputfile.bin myinputfile.cue myoutputfile
Resources:
August 21st, 2008 — Apple, Technology
Are you building an iPhone app? Or have an idea? Do you want to mock it up quickly? The iPhone UI PicKit can help you!
This is a kit of widget images that you can use in your image editing software. This way you can easily create prototypes of different screens and share them with others. There is also a layered PSD available.

iPhone UI PicKit
No need for the iPhone SDK! No need to learn Interface Builder! Just grab the screens and mock your iPhone idea! Thanks Daniel!
(BTW, if you are through with the idea, let us know if you want to develop it. We do iPhone development!)
June 18th, 2008 — Apple, Business, Recommended Reading
What do you attribute Apple's success to? Steve Jobs? Usability? Cutting edge technology? Innovation? Or their extra ordinary marketing skills?
I think much of Apple's success is because of their marketing focus. The customer experience focus comes from marketing focus.
Steve Chazin, an Apple veteran, has written an insightful eBook - Marketing Apple. The eBook uncovers the secret of marketing that Apple uses. The principles are very smart and I believe if you use them, you would be successful too!
This is a must read for anyone interested in Apple or Marketing.
June 10th, 2008 — Apple, Mobile
Update: iPhone 3G was launched in India. But with exorbitant price tags. 31K and 36K are just too much for this phone. I don't suggest buying it at this price. Wait a few more months! The price will come down!

(Photo Credit: James Martin/CNET News.com)
The latest version of the iPhone will be launched around 11 July. And it will be available in India. The price will be $199 for the 8GB model, and $299 for the 16GB one. It will have 3G, GPS and much more!
Things look very exciting for the iPhone now! At the same time, Samsung is launching a competitor!
Time to dump Reliance? 