Mac OS X 10.6 (Snow Leopard) comes with Java 6. And only Java 6. Want Java 5? Not possible as far as Apple's Java team is concerned, although there are backdoor methods.
This is mostly a good thing. Java 6 is better than Java 5. It runs faster. It starts up faster. Garbage collection is better. It has new APIs and new methods in existing APIs.
But it's not all good. Java 6 does not exist for PPC Macs. Some of my Poker Copilot customers are still using Tiger and Leopard on PPC-based Macs. So Poker Copilot must run on Java 5 as well as Java 6.
This makes things somewhat complex. I use Snow Leopard as my main development operating system. I can ensure that I compile in a format usable by Java 5 by using the "-target 1.5" parameter when compiling. But I also have to make sure I don't use Java 6 APIs or methods.
The solution I have found to this problem is this: to have an automatic build process running on a second-hand PPC Mac Mini running Mac OS X 10.4 (Tiger). When I make changes to Poker Copilot's source code, I commit them into my Subversion source control repository. TeamCity, an automatic build system, detects the commit, gets the latest source, and tries to build Poker Copilot on Mac OS X 10.4 (Tiger) on a PPC machine. If it works there it will work for all my customers. If it doesn't work TeamCity notifies of the problem and I can fix it immediately.
This problem must be faced by Objective-C programmers too, because Apple introduces new Cocoa APIs with each OS X upgrade.
The Poker Copilot Blog
Tracking the development of Poker Copilot, Mac OS X software for poker analysis and statistics.
Monday, 18 January 2010
Coping with Apple's Java Policy
Subscribe to:
Post Comments (Atom)
Poker Copilot Translation Project
Want to use Poker Copilot in your language? Then help with the Poker Copilot Translation Project.
About This Blog
In May 2008 I started working on Poker Copilot, initially as a product to help me with my own poker playing. Soon I joined a "30-day Challenge", where the participants each aimed to launch a software product in 30 days. As a result of this challenge, Poker Copilot version 1.0 was launched in July 2008.
This blog tracks the ongoing development of Poker Copilot. Who would find this blog interesting? People interested in 1-person software development, in Poker, or in both.
Contact me via email at steve at pokercopilot dot com.
This blog tracks the ongoing development of Poker Copilot. Who would find this blog interesting? People interested in 1-person software development, in Poker, or in both.
Contact me via email at steve at pokercopilot dot com.
Blog Archive
-
►
2012
(31)
-
►
January
(29)
- Coming in the Next Update: Ignore Old Hand History...
- Coming in the Next Update: Poker Copilot can forma...
- From the "It's About Time, Too" Department
- Poker Copilot Business Cards
- Playing on Entraction Network?
- Unofficial Update for Ongame Players
- One Person with Two Accounts Playing on Ongame?
- Small Tweaks in Poker Copilot Preferences
- Ongame Network and Poker Copilot
- Buy Poker Copilot via Bank Transfer
- Improvement to Appearance of HUD Popup
- Improvement for Poker Copilot Translators
- Coming in the Next Update: HUD Layout has an extra...
- Unofficial Poker Copilot Update for Ongame Network...
- Poker Copilot Demo Video in French
- Reason I Like My Mac #17,823
- Updated Poker Copilot Demo Video
- Poker Copilot 3 Coming...
- News for Poker Copilot Translators
- Updated Poker Copilot Translations
- New Poker Copilot Screenshots Reveal How Version 2...
- Poker Copilot Translation Project: Update
- PokerStars now has built-in Auto-Hotkeys
- Reflection on the PokerStars Update that Broke Pok...
- Poker Copilot 2.101 Now Available
- Poker Copilot Website in French
- Spanish Website Translation
- Poker Copilot Website in Spanish
- Update for PokerStars Denmark Users (PokerStarsDK)...
-
►
January
(29)
-
►
2011
(154)
-
►
December
(10)
- New Unofficial Update
- Poker Copilot Discussion Forum in French
- Coming in the next update: multiple HUD layouts
- Poker Copilot Fact of the Day
- Unofficial Poker Copilot Update for the Brave
- Coming in the next update: All-in Equity in $ or B...
- Who uses BarrierePoker.fr?
- Coming in the next update: Filter tournaments by t...
- Help Wanted: BlazingStars or AHK for Merge Network...
- Coming in the next update: choose a language for P...
-
►
November
(13)
- MacKeeper's "Real-time protection" breaks Poker Co...
- PokerStars Playing History Audit CSV Problems with...
- Poker Copilot 2.99 Now Available
- HUD not working on PokerStars in update 2.98?
- PartyPoker support in Poker Copilot
- End of a Troublesome Week
- Poker Copilot 2.97 Problem Fixed?
- Desperately Seeking Help to Solve the Crashing Pro...
- Is Poker Copilot 2.97 Crashing For You?
-
►
December
(10)
-
▼
2010
(247)
-
▼
January
(35)
- Poker Copilot vs Poker Tracker
- So _THIS_ is why I can't advertise on Google or Ya...
- Rush Poker "HUD" Available
- 16 Days to First Page of Google Results
- Cool Animation from Google Analytics
- Rush Poker HUD is Almost Here
- Poker Copilot 2.29 Now Official Release
- Rush Poker HUD Mockup
- PokerStars Update Breaks Poker Copilot: Fix is Rea...
- Yahoo Doesn't Like MacPokerSoftware.com
- A Breakthrough in Poker Copilot Performance
- Modified HUD for Full Tilt Rush Tables?
- Why No Absolute Poker Tournament Support in Poker ...
- Another Experimental Poker Copilot Release
- Update on "Mac Poker Software" experiment
- Thought of the Day
- Not a Poker Copilot Update
- Sentence of the Day
- The Next Poker Copilot Update will be Faster
- Outsourcing Testing
- "Rush Poker" on Full Tilt
- Amsterdam, Documentation, and Mac Poker Software
- Coping with Apple's Java Policy
- Poker Copilot Database Improvements
- Paid Search Listings?
- Mac Poker Software
- If All Support Emails Could Be Like This
- Starring Hands for Later Review
- 92.2% Borrowed Code
- Amazon Mystery of the Day
- Write the Poker Copilot Docs - for $$?
- Poker Copilot Roadmap for 2010
- Poker Copilot 2009: The Year in Review
- Poker Copilot 2.23 Ready to Download
- Improved Handling of PokerStars Tournament Rebuys ...
-
▼
January
(35)


1 comments:
Thank you for not giving up on PPC support! I hope to get a couple more years of use out of my quad-G5.
Post a Comment