<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Note To Self &#187; jdbc</title>
	<atom:link href="http://www.hawksley.net/tag/jdbc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hawksley.net</link>
	<description>John Hawksley &#124; www.hawksley.net</description>
	<lastBuildDate>Sun, 30 May 2010 14:13:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Mac OS X Snow Leopard Has No Java 5 &#8211; Warning!</title>
		<link>http://www.hawksley.net/2009/09/mac-os-x-snow-leopard-has-no-java-5-warning/</link>
		<comments>http://www.hawksley.net/2009/09/mac-os-x-snow-leopard-has-no-java-5-warning/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 07:59:24 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Software Engineering]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jdbc]]></category>

		<guid isPermaLink="false">http://www.hawksley.net/?p=149</guid>
		<description><![CDATA[Here&#8217;s one I spent a day learning: OS X 10.6 &#8220;Snow Leopard&#8221; has no Java 5 installed, despite appearances to the contrary. The Java 1.5 installation is actually a symbolic link to the Java 1.6 installation. There is a fix available, which essentially entails copying the Java 1.5 installation from a Leopard install, and fixing [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s one I spent a day learning:  OS X 10.6 &#8220;Snow Leopard&#8221; has <em>no</em> Java 5 installed, despite appearances to the contrary.</p>
<p>The Java 1.5 installation is actually a symbolic link to the Java 1.6 installation.  There is a fix available, which essentially entails copying the Java 1.5 installation from a Leopard install, and fixing up the symlinks.  It&#8217;s available <a href="http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard">here</a>.</p>
<p>I found this because we have a product which must be linked against Java 1.5, or rather, the JDBC version 3 specification.  We don&#8217;t yet support all the extended functionality of JDBC 4.</p>
<p>In Eclipse, I had selected Java 5 (= JDBC 3) as the JRE, but was still getting lots of &#8220;method unimplemented&#8221; errors for JDBC 4 (= Java 6) signatures.  These aren&#8217;t present in Java 5, so they should not have appeared.</p>
<p>After unfolding the JRE Library node in the Eclipse Package Explorer, it was clear that, although the JRE was reporting itself as Java 5, the jars within were clearly coming from Java 6.</p>
<p>I applied the <a href="http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard">fix</a> and the compiler errors disappeared &#8211; Java 5/JDBC 3 was in use again.</p>
<p>For (my) future reference, here are the JDK / JDBC versions:</p>
<ul>
<li>JDK 1.1 → JDBC 1.2</li>
<li>JDK 1.2 → JDBC 2.1</li>
<li>JDK 1.4 → JDBC 3</li>
<li>JDK 1.5 → JDBC 3</li>
<li>JDK 1.6 → JDBC 4</li>
</ul>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.hawksley.net/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.hawksley.net/2009/09/mac-os-x-snow-leopard-has-no-java-5-warning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
