[kepler-dev] Java 1.7

Christopher Brooks cxh at eecs.berkeley.edu
Sun Nov 4 10:40:38 PST 2012


To my knowledge, Ptolemy II and Kepler compile and run properly under 
Java 1.7.
The Ptolemy II nightly build runs under Java  1.7.0_03  under Red Hat.
There are no known reasons that Ptolemy II or Kepler will compile and 
run under Java 1.7.

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.

Mac OS X 10.7.5 ships with Java 1.6.0_37.

There have been some issues with Mac OS X 10.8 and Java 1.6.0_37, see
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5725

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.

So, for the near term, Ptolemy II will still compile with Java 1.6, but 
Java 1.7 will work.

_Christopher

On 11/4/12 10:07 AM, Kenneth Jones wrote:
>
>
>   Has there been any further investigation to see whether or not
>   Kepler and Ptolemy compile and run properly under Java 1.7?
>
>
>   Thanks,
>
> --Ken
>
>
>   [kepler-dev] Java 1.7
>
> *Matt Jones*jones at nceas.ucsb.edu 
> <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>
> /Tue Jul 10 15:12:35 PDT 2012/
>
>   * Previous message: [kepler-dev] Java 1.7
>     <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/020329.html>
>   * Next message: [kepler-dev] Java 1.7
>     <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/020331.html>
>   * *Messages sorted by:* [ date ]
>     <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/date.html#20330>
>     [ thread ]
>     <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/thread.html#20330>
>     [ subject ]
>     <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/subject.html#20330>
>     [ author ]
>     <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/author.html#20330>
>
> ------------------------------------------------------------------------
> 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
> <cxh at eecs.berkeley.edu  <http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev>>wrote:
>
> >/  Dear Christoph Daniel,
> />/  Ptolemy II currently requires Java 1.6.
> />/  At a minimum, $PTII/ptdb uses javax.swing.GroupLayout somewhere.
> />/
> />/  The problem with requiring Java 1.7 is that Mac OS 10.7.4 has Java 1.6
> />/  installed as the default:
> />/
> />/  bash-3.2$ java -version
> />/  java version "1.6.0_33"
> />/  Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
> />/  Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)
> />/  bash-3.2$ which java
> />/  /System/Library/Java/**JavaVirtualMachines/1.6.0.jdk/**
> />/  Contents/Home/bin/java
> />/
> />/  There is a Java 1.7 prerelease for the Mac available at:
> />/
> />/  http://jdk7.java.net/**macportpreview/<http://jdk7.java.net/macportpreview/  <http://jdk7.java.net/**macportpreview/%3Chttp://jdk7.java.net/macportpreview/>>
> />/
> />/  So, until Java 1.7 is the default under Mac OS X, then we should probably
> />/  stick to 1.6.
> />/
> />/  This could change because Apple is no longer supporting Java, so Java 1.6
> />/  is probably the last Apple Java release.
> />/
> />/  However, Java 1.7 for Mac OS X is still in pre-release, so I'd prefer not
> />/  to add another step to the installation process.
> />/
> />/  However, if Eclipse 3.8 requires Java 1.7, then we may be forced to
> />/  require Java 1.7.
> />/
> />/  Waiting until September to make a decision is probably best.
> />/
> />/  Comments?  I'm cc'ing kepler-dev, which includes many Mac users.
> />/
> />/
> />/  _Christopher
> />/
> />/
> />/
> />/  On 7/9/12 7:24 AM, Christoph Daniel Schulze wrote:
> />/
> />>/  Dear Christopher,
> />>/
> />>/  the KIELER team is currently in the process of planning the switch to
> />>/  Eclipse 3.8 and, later, Eclipse 4.2. As part of that, we're also
> />>/  reconsidering to raise our Java compliance level from 1.5 to 1.7. Of
> />>/  course, we need to be sure that this change won't break anything for our
> />>/  partners.
> />>/
> />>/  Would the Ptolemy project be fine with its KIELER components using Java
> />>/  1.7 features? This of course wouldn't become an issue until our visit in
> />>/  September, during which I plan to further improve the layout algorithms
> />>/  and its integration into Ptolemy.
> />>/
> />>/  Kind regards,
> />>/    Christoph Daniel
> />>/
> />>/
> />/  --
> />/  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
> />/
> />/
> />/
> />/  ______________________________**_________________
> />/  Kepler-dev mailing list
> />/  Kepler-dev at kepler-project.org  <http://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  <http://lists.nceas.ucsb.edu/**kepler/mailman/listinfo/**kepler-dev%3Chttp://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev>>
> />/
> /-------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20120710/50c19e31/attachment.html>
> ------------------------------------------------------------------------
>
>   * Previous message: [kepler-dev] Java 1.7
>     <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/020329.html>
>   * Next message: [kepler-dev] Java 1.7
>     <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/020331.html>
>   * *Messages sorted by:* [ date ]
>     <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/date.html#20330>
>     [ thread ]
>     <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/thread.html#20330>
>     [ subject ]
>     <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/subject.html#20330>
>     [ author ]
>     <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2012-July/author.html#20330>
>
> ------------------------------------------------------------------------
> More information about the Kepler-dev mailing list 
> <http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev>
>
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev

-- 
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20121104/3859035a/attachment-0001.html>


More information about the Kepler-dev mailing list