The mentioned Java version 1.6 is from 2006. Support (i.e. public available installers) ended 2013.
If someone is interested in a new version of IzPack, will he still be forced upon using 1.6?
And 1.6 was neither open source at that time, nor is it clear if Oracle even permits using it this way.
The current LTE Version is Java 11 which works pretty well even with ancient Java code.
If someone sticks on i.e. Java 8 he should really think about upgrading his Java version first.
Dieter.
--
You received this message because you are subscribed to the Google Groups "izpack-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to izpack-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/izpack-dev/19b19867-a034-4c14-99eb-1422ce2b04dcn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/izpack-dev/CAFKSXJZSwWrMg4gx%2BFzNhNrDO5r%3DUOdNf8qB0bRJvuLbyPtXLA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/izpack-dev/CAFKSXJZSwWrMg4gx%2BFzNhNrDO5r%3DUOdNf8qB0bRJvuLbyPtXLA%40mail.gmail.com.
Hello
I do not quite understand why the minimum requirement for building IzPack has been raised to JDK 8. When one specifies an specific version of the JDK, is it because one is using specific features of the Java language at the level specified. For example, using lambda expression requires the JDK 1.8. But in case of IzPack, there is no such code even the features of 1.7 are not used. Thus all IzPack code can be compiled using the source level of 1.6.
We are working for the AS400 system and some OS version supports only the 1.6 JDK. Thus could you reconsider the required level of the source language be the 1.6 instead of 1.8, hence not requiring a 1.8 JDK?
Regards
To view this discussion on the web visit https://groups.google.com/d/msgid/izpack-dev/CAFKSXJZSwWrMg4gx%2BFzNhNrDO5r%3DUOdNf8qB0bRJvuLbyPtXLA%40mail.gmail.com.
-- Francis ANDRE R&D Metrixware Systemobjects SAS SPACES Le Belvédère 1-7, cours Valmy 92923 Paris La Defense Cedex, France
The mentioned Java version 1.6 is from 2006. Support (i.e. public available installers) ended 2013.
--
You received this message because you are subscribed to the Google Groups "izpack-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to izpack-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/izpack-dev/19b19867-a034-4c14-99eb-1422ce2b04dcn%40googlegroups.com.
-- Francis ANDRE R&D Metrixware Systemobjects SAS SPACES Le Belvédère 1-7, cours Valmy 92923 Paris La Defense Cedex, France
To view this discussion on the web visit https://groups.google.com/d/msgid/izpack-dev/3b1acd8b-8da2-8ab1-2713-daf3793e4c18%40metrixware.com.
I understand that there are situations in which there is no way to upgrade, but in this situation up to version 4.1.3 can be used in that case.
As the izPack project is done in the open, we do not have any resources to compile and test with older Java Versions on the used open build platforms and therefore moved to 1.8 (and will be moving forward as soon those options are no longer available)
But why??? There is no need to build & test IzPack with the JDK 8 since it's base code is using only the 1.6 java language specification. You can use a JDK 1.8 on the build platform of your choice, but stay in 1.6 with the -source/-target options as
jdk1.8/bin/javac ...-source=1.6 -target=1.6 and the generated classes with run using a jre 1.6, a jre 1.7 and a jre 1.8
Joined 2 builds log of IzPack, one with
<source>1.6</source><target>1.6</target>
and the second with
<source>1.8</source><target>1.8</target>.
Both are equal except all timestamp.
To view this discussion on the web visit https://groups.google.com/d/msgid/izpack-dev/79399BED-1A76-4493-94D7-BB5A99133016%40gmail.com.
Le 25/10/2020 à 20:08, Patrick Reinhart a écrit :
I understand that there are situations in which there is no way to upgrade, but in this situation up to version 4.1.3 can be used in that case.
As the izPack project is done in the open, we do not have any resources to compile and test with older Java Versions on the used open build platforms and therefore moved to 1.8 (and will be moving forward as soon those options are no longer available)But why??? There is no need to build & test IzPack with the JDK 8 since it's base code is using only the 1.6 java language specification. You can use a JDK 1.8 on the build platform of your choice, but stay in 1.6 with the -source/-target options as
jdk1.8/bin/javac ...-source=1.6 -target=1.6 and the generated classes with run using a jre 1.6, a jre 1.7 and a jre 1.8
Joined 2 builds log of IzPack, one with <source>1.6</source><target>1.6</target> and the second with <source>1.8</source><target>1.8</target>. Both are equal except all timestamp.
I know that up to JDK 11 a target version of 1.6 is supported,
but any JDK following (15 at the time of writing) will only
support 1.7. Also we need to support newer JDK Platforms in the
future and already had to do significant changes to support those,
just in order to be executable in there. If izPack want to stay
relevant as an installer platform also for newer projects, we need
to move on, as sadly it is for those who need to support and use
older versions of a JDK though. For the moment I could set the
minimum source level back, but this would only be for a couple
more months maybe the next release and I consider it not to be
worth while as I would like to extend the tests and energy to
newer JDKs.
Patrick
Am 26.10.20 um 08:16 schrieb Francis ANDRE:
You are totally right, the current code works perfectly with 1.6. But I think you want to profit from nice new features and bug fixes, or why are you expecting a new release? But, this has to be realized by the izpack developer(s). May be some developers are still using a handaxe, but we have lasers today. So even if it seems possible to do so, it prevents us from a rapid and modern development.But why??? There is no need to...
Dieter
In order to support 1.6 to save the life of some AS400 system for the next century, we may think of a fork some day. It may still receive backports for serious bug fixes, but does not inhibit us from any further development. And if I have a look into the source code I got the impression: renovations and refactorings are badly necessary....
This is a huge effort... but unless you want to refactor using lamdba, there is no real need to go to Java 8
And gooing to JavaSE > 9 is another story from my point of view
Anyway, I am fine with your proposal to make a specific
branch/fork for staying on the "1.6" code base one day
Francis
Dieter.
--
You received this message because you are subscribed to the Google Groups "izpack-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to izpack-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/izpack-dev/5f6a43c3-e24a-4512-a7a8-e23e3e04c694n%40googlegroups.com.
This is a huge effort... but unless you want to refactor using lamdba, there is no real need to go to Java 8
And gooing to JavaSE > 9 is another story from my point of view
Dieter
OK, if you aim to preserve IzPack as it is, there is no need to change anything ever.I am developing a huge legacy desktop application since about 20 years. I always jumped to the next Java version available.It took me about two years to understand the relevance of lambda expressions. Meanwhile I consider them to be essential.But that is my personal opinion ...
Why is JavaSE > 9 is another story to you?
Because if one wants to benefit of the new features of Java 9 -- the modularization -- applied to IzPack, on should repackage all IzPack submodules into module of Java 9 and this could be also a costly experience.
From my point of view, the minimum refactoring to apply to IzPack would be to refactor all parametrized type with their effective parameter types and change the afferent code avoiding useless casts and better use generic loops.
Francis
-
When mentioning java>9 I did not intend to use its language features by now. This is very long term road to take.Instead I had a look at the -release option of Java 9. This gives you a safe way to generate java 6 code without relaying an old JDK.If this works, the build server can safely be driven by Java11 and still produces Java-6 output.
You are right, there are tons of possible refactoring aspects even with java 6 (i.e. generics) before considering lambdas and more.
Before using full fledged modularization, I suggest using the ServiceLoader (since 1.6!).
Managing submodules using a ServiceLoader is a first and important step to separate dependencies.Initially you are not even forced to use separate jars, but if prepared well, it is possible any time and it opens the door to future modularization.
I just realize:
If IzPack is able to load extensions via a ServiceLoader, it's no problem, to develop future extensions using Java11 while the core remains on Java6.
Dieter
franci...@metrixware.com schrieb am Mittwoch, 28. Oktober 2020 um 10:32:22 UTC+1:
Dieter
Le 27/10/2020 à 23:08, 'Dieter Stüken' via izpack-dev a écrit :
OK, if you aim to preserve IzPack as it is, there is no need to change anything ever.I am developing a huge legacy desktop application since about 20 years. I always jumped to the next Java version available.It took me about two years to understand the relevance of lambda expressions. Meanwhile I consider them to be essential.But that is my personal opinion ...
Why is JavaSE > 9 is another story to you?Because if one wants to benefit of the new features of Java 9 -- the modularization -- applied to IzPack, on should repackage all IzPack submodules into module of Java 9 and this could be also a costly experience.
From my point of view, the minimum refactoring to apply to IzPack would be to refactor all parametrized type with their effective parameter types and change the afferent code avoiding useless casts and better use generic loops.
Francis
-
Francis ANDRE R&D Metrixware Systemobjects SAS SPACES Le Belvédère 1-7, cours Valmy 92923 Paris La Defense Cedex, France
--
You received this message because you are subscribed to the Google Groups "izpack-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to izpack-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/izpack-dev/76beacaa-a496-424e-a818-8dc72e3a63e5n%40googlegroups.com.
-- Francis ANDRE R&D Metrixware Systemobjects SAS SPACES Le Belvédère 1-7, cours Valmy 92923 Paris La Defense Cedex, France
To view this discussion on the web visit https://groups.google.com/d/msgid/izpack-dev/415afb14-d153-4776-a661-112731b2f029n%40googlegroups.com.