![]() It is also the wrong way to treat the user by ignoring his configured Java version.Īnd it's also the wrong way (yet) to force the user to install Java 8 (via package dependency). I agree that users should not be encouraged to change the default Java for all applications. I think it's the wrong way to treat the user to change the default Java for ALL of his Java applications. On the other hand a Java application can explicitly require a Java version (package dependency). Using /usr/lib/jvm/java-8-openjdk-i386/bin/java to execute josm-latest.Īs far as I understand Java alternatives is for applications which don't care about the java version. usr/lib/jvm/java-9-openjdk-i386/bin/javaĪfter the first loop (with if & then) returns the correct usr/lib/jvm/java-7-openjdk-i386/bin/java usr/lib/jvm/java-8-openjdk-i386/bin/java I just update Java 7 and JOSM on my Ubuntu system.īut I try to analyse the start script and I don't understad it compleatly:ĪLTERNATIVE_JDK contains /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java I'm sure there are even more stuff I did not see yet :) new javascript engine for better performance.HTTP URL Permissions: may be useful to enforce imagery blacklist.Optional parameters: may simplify null-handling.String joining: may replace Utils.join().new Date/Time API: simplify all date-related stuff.Base64: may replace our own Base64 class.Predicate, Function: may replace/simplify our own Predicate and Function classes.Stream API: more compact code for iterations.Lambdas, method references, default and static interface methods: powerful new syntaxes allowing to write more compact code.Java 8 is a major release, there are a lot of good new stuff we can use: ![]() Regarding the need for a switch - Is there anything where we say: "We want this" like it was for Java 7, which had a lot of useful new stuff? I totally forgot that, but I see the bug is fixed, so that's not a problem anymore.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |