<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
To my knowledge, Ptolemy II and Kepler compile and run properly
under Java 1.7.<br>
The Ptolemy II nightly build runs under Java 1.7.0_03 under Red
Hat.<br>
There are no known reasons that Ptolemy II or Kepler will compile
and run under Java 1.7.<br>
<br>
The issue below is that the core of Ptolemy II and Kepler probably
should not require Java 1.7 until such time as Mac OS X ships with
Java 1.7. <br>
<br>
Mac OS X 10.7.5 ships with Java 1.6.0_37.<br>
<br>
There have been some issues with Mac OS X 10.8 and Java 1.6.0_37,
see<br>
<a class="moz-txt-link-freetext" href="http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5725">http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5725</a><br>
<br>
It looks like Oracle's Java 1.7 for Mac is out of prerelease.
However, if Ptolemy II and/or Kepler use features that require Java
1.7, then installing Ptolemy and/or Kepler on the Mac will also
require installing Java 1.7 which seems like a rather high barrier
of entry that is likely to cause some users not to install Ptolemy
and/or Kepler.<br>
<br>
So, for the near term, Ptolemy II will still compile with Java 1.6,
but Java 1.7 will work.<br>
<br>
_Christopher<br>
<br>
<div class="moz-cite-prefix">On 11/4/12 10:07 AM, Kenneth Jones
wrote:<br>
</div>
<blockquote
cite="mid:CA+WYzd8nv1NiFXtqM7-p1Bh9bmvzEQ3_+BeD4eK05jy4NvUdLQ@mail.gmail.com"
type="cite">
<h1 style="color:rgb(0,0,0);font-family:'Times New Roman'"><font
style="font-weight:normal">Has there been any further
investigation to see whether or not Kepler and Ptolemy compile
and run properly under Java 1.7?</font></h1>
<h1 style="color:rgb(0,0,0)"><font style="font-weight:normal"
face="arial, helvetica, sans-serif">Thanks,</font></h1>
<div><font face="arial, helvetica, sans-serif">--Ken</font></div>
<h1 style="color:rgb(0,0,0);font-family:'Times New Roman'">
[kepler-dev] Java 1.7</h1>
<b style="color:rgb(0,0,0);font-family:'Times New
Roman';font-size:medium">Matt Jones</b><span
style="color:rgb(0,0,0);font-family:'Times New
Roman';font-size:medium"> </span><a moz-do-not-send="true"
href="mailto:kepler-dev%40kepler-project.org?Subject=Re%3A%20%5Bkepler-dev%5D%20Java%201.7&In-Reply-To=%3CCABHpJO3R16-8SV7U%3DJOcjmqJntkA1xjA75iTiok79fMe9OZjfA%40mail.gmail.com%3E"
title="[kepler-dev] Java 1.7" style="font-family:'Times New
Roman';font-size:medium">jones at nceas.ucsb.edu </a><br
style="color:rgb(0,0,0);font-family:'Times New
Roman';font-size:medium">
<i style="color:rgb(0,0,0);font-family:'Times New
Roman';font-size:medium">Tue Jul 10 15:12:35 PDT 2012</i><span
style="color:rgb(0,0,0);font-family:'Times New
Roman';font-size:medium"></span>
<p style="color:rgb(0,0,0);font-family:'Times New
Roman';font-size:medium">
</p>
<ul style="color:rgb(0,0,0);font-family:'Times New
Roman';font-size:medium">
<li>Previous message: <a moz-do-not-send="true"
href="http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/020329.html">[kepler-dev]
Java 1.7</a></li>
<li>Next message: <a moz-do-not-send="true"
href="http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/020331.html">[kepler-dev]
Java 1.7</a></li>
<li><b>Messages sorted by:</b> <a moz-do-not-send="true"
href="http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/date.html#20330">[
date ]</a> <a moz-do-not-send="true"
href="http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/thread.html#20330">[
thread ]</a> <a moz-do-not-send="true"
href="http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/subject.html#20330">[
subject ]</a> <a moz-do-not-send="true"
href="http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/author.html#20330">[
author ]</a></li>
</ul>
<hr style="color:rgb(0,0,0);font-family:'Times New
Roman';font-size:medium">
<pre style="white-space:pre-wrap;color:rgb(0,0,0)">I think your logic is sound. We need to stick with 1.6 until 1.7 is
mainstream on the platforms we support, including Macs. Its worthwhile to
be sure Kepler and Ptolemy II both compile and run properly under 1.7 now,
so that if people want to use it, they can. But lets not require it at
this point.
Matt
On Tue, Jul 10, 2012 at 1:27 PM, Christopher Brooks
<<a moz-do-not-send="true" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev">cxh at eecs.berkeley.edu</a>>wrote:
><i> Dear Christoph Daniel,
</i>><i> Ptolemy II currently requires Java 1.6.
</i>><i> At a minimum, $PTII/ptdb uses javax.swing.GroupLayout somewhere.
</i>><i>
</i>><i> The problem with requiring Java 1.7 is that Mac OS 10.7.4 has Java 1.6
</i>><i> installed as the default:
</i>><i>
</i>><i> bash-3.2$ java -version
</i>><i> java version "1.6.0_33"
</i>><i> Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
</i>><i> Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)
</i>><i> bash-3.2$ which java
</i>><i> /System/Library/Java/**JavaVirtualMachines/1.6.0.jdk/**
</i>><i> Contents/Home/bin/java
</i>><i>
</i>><i> There is a Java 1.7 prerelease for the Mac available at:
</i>><i>
</i>><i> <a moz-do-not-send="true" href="http://jdk7.java.net/**macportpreview/%3Chttp://jdk7.java.net/macportpreview/">http://jdk7.java.net/**macportpreview/<http://jdk7.java.net/macportpreview/</a>>
</i>><i>
</i>><i> So, until Java 1.7 is the default under Mac OS X, then we should probably
</i>><i> stick to 1.6.
</i>><i>
</i>><i> This could change because Apple is no longer supporting Java, so Java 1.6
</i>><i> is probably the last Apple Java release.
</i>><i>
</i>><i> However, Java 1.7 for Mac OS X is still in pre-release, so I'd prefer not
</i>><i> to add another step to the installation process.
</i>><i>
</i>><i> However, if Eclipse 3.8 requires Java 1.7, then we may be forced to
</i>><i> require Java 1.7.
</i>><i>
</i>><i> Waiting until September to make a decision is probably best.
</i>><i>
</i>><i> Comments? I'm cc'ing kepler-dev, which includes many Mac users.
</i>><i>
</i>><i>
</i>><i> _Christopher
</i>><i>
</i>><i>
</i>><i>
</i>><i> On 7/9/12 7:24 AM, Christoph Daniel Schulze wrote:
</i>><i>
</i>>><i> Dear Christopher,
</i>>><i>
</i>>><i> the KIELER team is currently in the process of planning the switch to
</i>>><i> Eclipse 3.8 and, later, Eclipse 4.2. As part of that, we're also
</i>>><i> reconsidering to raise our Java compliance level from 1.5 to 1.7. Of
</i>>><i> course, we need to be sure that this change won't break anything for our
</i>>><i> partners.
</i>>><i>
</i>>><i> Would the Ptolemy project be fine with its KIELER components using Java
</i>>><i> 1.7 features? This of course wouldn't become an issue until our visit in
</i>>><i> September, during which I plan to further improve the layout algorithms
</i>>><i> and its integration into Ptolemy.
</i>>><i>
</i>>><i> Kind regards,
</i>>><i> Christoph Daniel
</i>>><i>
</i>>><i>
</i>><i> --
</i>><i> Christopher Brooks, PMP University of California
</i>><i> CHESS Executive Director US Mail: 337 Cory Hall
</i>><i> Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
</i>><i> ph: 510.643.9841 (Office: 545Q Cory)
</i>><i> home: (F-Tu) 707.665.0131 cell: 707.332.0670
</i>><i>
</i>><i>
</i>><i>
</i>><i> ______________________________**_________________
</i>><i> Kepler-dev mailing list
</i>><i> <a moz-do-not-send="true" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev">Kepler-dev at kepler-project.org</a>
</i>><i> <a moz-do-not-send="true" href="http://lists.nceas.ucsb.edu/**kepler/mailman/listinfo/**kepler-dev%3Chttp://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev">http://lists.nceas.ucsb.edu/**kepler/mailman/listinfo/**kepler-dev<http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a>>
</i>><i>
</i>-------------- next part --------------
An HTML attachment was scrubbed...
URL: <<a moz-do-not-send="true" href="http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20120710/50c19e31/attachment.html">http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20120710/50c19e31/attachment.html</a>>
</pre>
<hr style="color:rgb(0,0,0);font-family:'Times New
Roman';font-size:medium">
<ul style="color:rgb(0,0,0);font-family:'Times New
Roman';font-size:medium">
<li>Previous message: <a moz-do-not-send="true"
href="http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/020329.html">[kepler-dev]
Java 1.7</a></li>
<li>Next message: <a moz-do-not-send="true"
href="http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/020331.html">[kepler-dev]
Java 1.7</a></li>
<li><b>Messages sorted by:</b> <a moz-do-not-send="true"
href="http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/date.html#20330">[
date ]</a> <a moz-do-not-send="true"
href="http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/thread.html#20330">[
thread ]</a> <a moz-do-not-send="true"
href="http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/subject.html#20330">[
subject ]</a> <a moz-do-not-send="true"
href="http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/author.html#20330">[
author ]</a></li>
</ul>
<hr style="color:rgb(0,0,0);font-family:'Times New
Roman';font-size:medium"><a moz-do-not-send="true"
href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev"
style="font-family:'Times New Roman';font-size:medium">More
information about the Kepler-dev mailing list</a><br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kepler-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-dev@kepler-project.org">Kepler-dev@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Christopher Brooks, PMP University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: 510.643.9841 (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670 </pre>
</body>
</html>