X-Received: by 10.182.104.200 with SMTP id gg8mr924885obb.45.1384297558742; Tue, 12 Nov 2013 15:05:58 -0800 (PST) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!o2no31760458qas.0!news-out.google.com!9ni25536qaf.0!nntp.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 12 Nov 2013 17:05:58 -0600 From: John Holt Newsgroups: comp.sys.mac.programmer.misc Date: Tue, 12 Nov 2013 18:05:58 -0500 Message-ID: <2013111218055816708-me@foonet> References: <2013111015574330105-me@foonet> MIME-Version: 1.0 Subject: Re: Mac OS X 10.9 and Java development User-Agent: Unison/1.8.1 Lines: 43 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 69.81.85.45 X-Trace: sv3-IeG9Nsf8XpU7gsSmTDkep7gsM87OASKKMoKoZH9DqnKkGfYa4Y1X0wB/TvXy9anj0zbKCgM7y55G97T!ehBwRjqvxkgzUAibN5ZCa8/KLs4ewrWuktrhLiAgWEIA6oO8ydmuRAzp2XtZ9QkEpfx3MucVdzp2!CPyDBOAs X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2071 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Received-Bytes: 2374 Xref: csiph.com comp.sys.mac.programmer.misc:76 On 2013-11-10 20:57:43 +0000, John Holt said: > > > I don't do a lot of Java development on Mac OS X, so I am not sure the > last version where everything worked. > > I recently installed 10.9, and the X Code 5, and the X Code command > line tools; AND Oracle Java JDK 7. > > The java executable says version 1.7. The problem is in the javac > program. It will not take a target past 1.4 and it complains that the > class library is version 51 and version 48 is expected. > > I have run javac with the full path of the Oracle JDK, but get the same result. > > Any clues would be appreciated. > > > Thanks, I removed the Oracle 1.7 (move the folder to the trash and deleted the preference pane short cut), and reinstalled the Java for OS X 2013-005 and the Java Developer Package for OS X 2013-005. I can build again. I am using Java 1.6, but have no immediate need to use the 1.7 version. Still, it would be nice to know if anyone is building with the 1.7 version from Oracle. Thanks, -- John Holt