Re: Java port maintainers: What should be installed on the buildbot workers?

2018-02-28 Thread Aaron Madlon-Kay
> You had mentioned Java 9 introducing changes that were not backward > compatible. Does that only apply to the JDK, and not the JRE? Should the Java > 9 JRE be able to run stuff made with any earlier Java version? Compared to previous updates, Java 9 breaks a lot of things and no, a lot of

Re: Java port maintainers: What should be installed on the buildbot workers?

2018-02-28 Thread Ryan Schmidt
On Feb 28, 2018, at 08:08, Aaron Madlon-Kay wrote: >> Ok. Then my plan is to install the Apple Java 6 JDK and the Oracle Java 7, 8 >> and maybe 9 JDK, and the Oracle Java 8 JRE. Does that cover all the bases >> for now? > > The JDKs will install the JRE automatically, and since I don’t think

Re: Java port maintainers: What should be installed on the buildbot workers?

2018-02-28 Thread Aaron Madlon-Kay
> Ok. Then my plan is to install the Apple Java 6 JDK and the Oracle Java 7, 8 > and maybe 9 JDK, and the Oracle Java 8 JRE. Does that cover all the bases for > now? The JDKs will install the JRE automatically, and since I don’t think it ever downgrades, you will end up with the Java 9 JRE

Re: Java port maintainers: What should be installed on the buildbot workers?

2018-02-28 Thread Ryan Schmidt
On Feb 26, 2018, at 23:55, Aaron Madlon-Kay wrote: >> Thanks, you've cleared up another misconception I had. I had read that Java >> 7 installations were being automatically upgraded to Java 8, so I thought >> there was no point to trying to install Java 7. > > The system-default Java will

Re: Java port maintainers: What should be installed on the buildbot workers?

2018-02-26 Thread Aaron Madlon-Kay
> Thanks, you've cleared up another misconception I had. I had read that Java 7 installations were being automatically upgraded to Java 8, so I thought there was no point to trying to install Java 7. The system-default Java will prompt for updates, but I don't think I've seen it replace an

Re: Java port maintainers: What should be installed on the buildbot workers?

2018-02-26 Thread Ryan Schmidt
On Feb 26, 2018, at 02:04, Aaron Madlon-Kay wrote: >> Do you think there is any value to installing Apple Java 6 first, then >> installing Oracle Java 8, so that both JDKs are there? I'm just thinking of >> ancient ports that might be hardcoded to look for the old version that used >> to be

Re: Java port maintainers: What should be installed on the buildbot workers?

2018-02-26 Thread Michael
On 2018-02-24, at 5:57 AM, Clemens Lang wrote: > Overall, I think we should install JDK 8 where possible. If we need > compatibility with older versions, we should make sure to pass -target > 1.7 when compiling. And -target 1.5 or 1.5 machines :-). (seriously, I have to bring

Re: Java port maintainers: What should be installed on the buildbot workers?

2018-02-26 Thread Aaron Madlon-Kay
> Do you think there is any value to installing Apple Java 6 first, then installing Oracle Java 8, so that both JDKs are there? I'm just thinking of ancient ports that might be hardcoded to look for the old version that used to be bundled with macOS. The order of installation doesn't really

Re: Java port maintainers: What should be installed on the buildbot workers?

2018-02-25 Thread Ryan Schmidt
On Feb 25, 2018, at 06:58, Aaron Madlon-Kay wrote: >> Huh. The system requirements linked from the download page say "Intel-based >> Mac running Mac OS X 10.7.3 (Lion) or later.” > > Very interesting. I was able to install JDK 8u161 in my OS X 10.7.5 VM. > Apparently Oracle has had

Re: Java port maintainers: What should be installed on the buildbot workers?

2018-02-25 Thread Aaron Madlon-Kay
> Huh. The system requirements linked from the download page say "Intel-based > Mac running Mac OS X 10.7.3 (Lion) or later.” Very interesting. I was able to install JDK 8u161 in my OS X 10.7.5 VM. Apparently Oracle has had contradictory advice about this for a long time, and they never

Re: Java port maintainers: What should be installed on the buildbot workers?

2018-02-24 Thread Ryan Schmidt
On Feb 24, 2018, at 06:17, Aaron Madlon-Kay wrote: >> Oracle Java 7 and 8 are compatible with Lion and later. > > Java 8 requires Mountain Lion: > http://www.oracle.com/technetwork/java/javase/certconfig-2095354.html Huh. The system requirements linked from the download page say "Intel-based

Re: Java port maintainers: What should be installed on the buildbot workers?

2018-02-24 Thread Aaron Madlon-Kay
> I'm not very familiar with Java open source project best practices, but > maybe it is common practice to specify the -source and -target options > anyway, so that our choice of JDK version wouldn't matter? This is what I was talking about being “frowned upon”. Even if you specify -source and

Re: Java port maintainers: What should be installed on the buildbot workers?

2018-02-24 Thread Clemens Lang
On Fri, Feb 23, 2018 at 06:43:27PM -0600, Ryan Schmidt wrote: > I think I should probably install Oracle's latest Java 8 on the Lion > and later buildbot workers. Does that seem reasonable? I don't know if > our java portgroup is compatible with that. The java portgroup uses

Re: Java port maintainers: What should be installed on the buildbot workers?

2018-02-24 Thread Aaron Madlon-Kay
> Oracle Java 7 and 8 are compatible with Lion and later. Java 8 requires Mountain Lion: http://www.oracle.com/technetwork/java/javase/certconfig-2095354.html > My understanding is that one must choose either Apple's Java 6 or Oracle's > Java 7 or 8; they can't coexist. I’m not aware of any