Running a J2SE 1.5/J2SE 5.0/Java 5.0/whatever Program From Command Line Under OS X

The good news is that J2SE 1.5 is available for OS X. Last I checked it was available here. For whatever reason Apple decided to keep the default version of Java on OS X as 1.4.2. So when I try to run Java programs directly from Terminal using "Java -Jar X.Jar" the program will be run under 1.4.2. But the goodies in J2SE 1.5 (like generics and enums and iterators) are just too yummy to give up so all my Java code is in 1.5 which means it won't run on Terminal. To fix this problem I found a script (details available here). Once I downloaded the script and saved it as java_functions_bashrc, I then opened terminal, navigated to the directory with the file and executed "source java_functions_bashrc". This changes the command prompt to indicate that the file is running and I then ran "setJava 1.5". At this point any Jar files I run will be run under J2SE 1.5. I tend now to write little scripts that wrap my Jar files to load up Java 1.5.

Creating Executable Jar Files That Contain Jar Files

Naive Java user that I am when I built a Java program that contains Jar files for Xerces and MySQL and such I assumed that Eclipse would be able to create a Jar file for my program that contains these other Jar files. That part was right, Eclipse can do that, what Eclipse can't do is set up the class paths correctly so my custom generated Jar file can't find the classes it needs. Thankfully, One-Jar came to the rescue.

Continue reading Creating Executable Jar Files That Contain Jar Files

Planning To Retire – A Financial Autobiography – Step 1 – Defined Benefit Assets

Defined benefit assets are assets that pay out a fixed sum of money, typically until one dies. There are three traditional types of defined benefit assets – Social Security, Pensions and Fixed Annuities. Both Social Security and pensions are basically a form of insurance, the business model is that lots of people 'pay in' but most people die early enough to use their contributions to pay other people's benefits. Well, that was the theory, and it worked just fine until people did the really inconvenient thing and started living too long. In the case of annuities the business model is built more around offering lower than market returns. In either case Marina and I are assuming we will have no defined benefit assets available to us during retirement.

Continue reading Planning To Retire – A Financial Autobiography – Step 1 –
Defined Benefit Assets

Planning To Retire – A Financial Autobiography – Intro – The Times They Are a Changing

I'm good at obsessing. That's why it was so important for me to understand the limits of what I could know about the future. But in the same sense I also need to understand that the specific plans I make today for how to achieve our retirement will, inevitably change. Thankfully, change in the financial world doesn't come all that quickly.

Continue reading Planning To Retire – A Financial Autobiography – Intro – The
Times They Are a Changing

Planning To Retire – A Financial Autobiography – Intro – Two Words: “Financial Planner”

As I stare at the hundreds of pages of notes, several programs (including a seemingly endless series of discarded macros and source code), numerous spreadsheets, piles of academic articles, endless websites, a shelf full of finance books and of course years of effort, I can't help but think this all would have been a lot simpler if I had just hired a financial planner.

Continue reading Planning To Retire – A Financial Autobiography – Intro – Two
Words: “Financial Planner”

Planning To Retire – A Financial Autobiography – Intro – How I Learned to Stop Worrying and Love Finance

As Bernstein explains in [SWN] just about everything I need to know in order to plan for retirement isn't just unknown, it's unknowable. Geometric average stock returns? Distribution pattern for bond returns? Correlations between stocks and bonds? Nobody knows and it looks like no one actually can know. My solution to this conundrum is relatively straightforward: I guess.

Continue reading Planning To Retire – A Financial Autobiography – Intro – How
I Learned to Stop Worrying and Love Finance

Reviews of hundreds of Restaurants in Seattle and Around the World

Below are reviews of several hundred restaurants that I've eaten in during the last few years. Most of the reviews are for the Seattle area but you will also find reviews from around the world including Amsterdam, Australia, Hawaii, Las Vegas, London, etc. The reviews are ordered by country/state, restaurant rating and then restaurant name. If you don't like my ordering then you can download the Excel spreadsheet and order them yourself!

Continue reading Reviews of hundreds of Restaurants in Seattle and Around the
World

Planning To Retire – A Financial Autobiography – Intro – Recommended Reading

The "Planning To Retire" articles are not intended as an introduction to personal finance or retirement planning. Even if I were qualified to write such an introduction (and I am not), many others have gotten there before me and done, I suspect, a substantially better job than I could have. Therefore below I list specific books that I believe will prepare the reader to understand this series.

Continue reading Planning To Retire – A Financial Autobiography – Intro –
Recommended Reading

Planning to Retire – A Financial Autobiography – Introduction

Reading books, articles, etc. on retirement planning is like putting together a jigsaw puzzle with most of the pieces missing. To help me make sense of it all I started to write notes. These notes provided details on the what, the how and the why of Marina and my's retirement planning process. As I talked with my friends about the contents of those notes I found that although nobody had exactly the same financial situation as Marina and I, nevertheless, there were more than enough similarities for each of us to learn from the experiences of the other. It was this realization that inspired me to start writing a series of articles on how we have gone about our retirement planning process. This article is the introduction and outline for that series.

Continue reading Planning to Retire – A Financial Autobiography –
Introduction