From: Rony G. F. <Ron...@wu...> - 2022-01-25 13:14:44
|
One maybe helpful pointer: here are the slides for my lecture "Business Programming 2 (BP2)" at a Business university for students who may not have had any programming skills when they started with BP1. BP2 is about using and taking advantage of Java (without a need to learn Java programming at all!) using the programming language ooRexx with the external function package BSF4ooRexx which bridges ooRexx and Java. Here are the slides: <https://wi.wu.ac.at/rgf/wu/lehre/autojava/material/foils/>, which usually also teach the principles that get exploited (like socket programming, GUI programming, XML parsing etc.). The slides in "AutoJava-BSF4ooRexx-08-Environment.pdf" got created to teach and to document how to create "manually" a Java runtime/development environment that also includes JavaFX and any other Java modules, no matter where they come from. The examples for adding the JavaFX modules manually are given for Windows and Unix step by step. However, having installation packages for OpenJDK and OpenJDK+FX, I would suggest to download OpenJDK+FX which also signals to the distributors the need for these four modules. HTH, ---rony On 25.01.2022 13:27, Rony G. Flatscher wrote: > > Hi, > > with Java 11 the four JavaFX modules got removed from the standard OpenJDK installation package. > > However, as OpenJDK built on the same source allows for different companies and people to create > their own distributions, there are plenty of possibilities to download "Java-Full" or "Java FX" > installation packages. Just watch out for the package that includes JavaFX. > > Some links: > > Liberica: <https://bell-sw.com/pages/downloads/#mn>, pick "Package" and choice either "Full > JDK" or "Full JRE" > > Zulu: <https://www.azul.com/downloads/?package=jdk>, pick "Java Package" and choice either > "JDK FX" or "JRE FX" > > where "JDK" stands for "Java development kit" and "JRE" stands for "Java runtime environment". I > would advise to pick the JDK versions with FX as in today's client world there is enough space > available. > > BTW, be careful about Oracle's version as Oracle has changed their license (they own all rights on > Java and can therefore assign any license to their distribution) such that commercial use is not > free. The OpenJDK distributions (same code base) however are free and use the license "GPL with > classpath exception". > > There are other OpenJDK distributors including Amazon, IBM, (believe it or not) Microsoft, SAP, > and many more. > > HTH, > > ---rony > > > On 25.01.2022 09:34, René Jansen wrote: >> Hi Terry, >> >> This is correct and expected. JavaFX is not part of any standard Java install, so you will need >> to download this before this example runs correctly. I will make a note of that and document that >> in the next release. >> The JavaFX toolkit is to be gotten at https://openjfx.io <https://openjfx.io> - did not try this >> yet myself. >> >> Best regards, >> >> René. >> >> >> >>> On 25 Jan 2022, at 08:38, Terry Fuller <ta...@pg... <mailto:ta...@pg...>> wrote: >>> >>> Hello René, >>> >>> Trying out netrexx 4.02: >>> >>> * on Linux Mint 20.2 (debian distro) >>> * with java 11 (!) [openjdk 11.0.13 2021-10-19 >>> OpenJDK Runtime Environment (build 11.0.13+8-Ubuntu- 0ubuntu1.20.04) >>> OpenJDK 64-Bit Server VM (build 11.0.13+8-Ubuntu-0ubuntu1.20.04, >>> mixed mode, sharing)} >>> >>> I got thru the basic install checks. Now I'm working my way thru the examples, I was able to >>> compile and run rexxcps and testdate. But when I try to compile TreeViewSampleNRX I get the >>> following: >>> >>> NetRexx portable processor 4.02-GA build 55-20220124-1319 Copyright (c) RexxLA, 2011,2022. All >>> rights reserved. Parts Copyright (c) IBM Corporation, 1995,2008. Program TreeViewSampleNRX.nrx >>> 10 +++ import javafx.collections. +++ ^^^^^^ +++ Warning: No classes found for import from >>> package 'javafx.collections.' 16 +++ class TreeViewSampleNRX extends Application +++ ^^^^^^^^^^^ >>> +++ Error: The class 'Application' cannot be found Compilation of 'TreeViewSampleNRX.nrx' failed >>> [one error, one warning] >>> >>> I've installed both the OpenJava JDK and javafx (tho' I don't know how to verify that). In the >>> olden days I used to be able to use the javadoc documentation to root around in the classes, but >>> I cannot seem to find that now (after lots of googling/duckduckgo'ing). If you've got a pointer >>> to javadoc for version 11, I might be able to limp along a little further 😉 >>> >>> On 2022-01-24 03:50, René Jansen wrote: >>>> Dear developers, >>>> >>>> I am releasing 4.02 today as an (not marked as such) release candidate. This because there is some work to be done that will disrupt the opportunity to release 4.02 with a limited change set. >>>> It contains the improvements as signalled in the release notes: >>>> >>>> NetRexx 4.02 GA [Januari 24, 2022] >>>> >>>> - for building NetRexx 4.0.2, Java 8 is now the lowest supported version >>>> - tested and buildable from Java 8 up to and including Java 19ea >>>> - including a fix for building on Java >=18 >>>> - NetRexx option (no)annotate to turn off pass through annotations >>>> - NetRexxC.jar and NetRexxF.jar now contain the ANT task for NetRexx >>>> - The ANT task is modified for the new -annotations option >>>> - The ANT task is modified for the new -address option >>>> - ANT in the source code repository upgraded to 1.10 for building NetRexx >>>> - a new chapter in the Programming Guide documenting two ANT scenarios >>>> - new special word asknoecho to request console input without echo, e.g. for passwords >>>> - NetRexx option MOD for generation of tailored source representations (Jason Martin) >>>> - documentation additions and corrections (numerous) >>>> - the base font for all documents is now an open source version of Times, due to font copyright issues >>>> >>>> Pipeline additions, improvements: >>>> - fix for arguments on command stage >>>> - DIGEST stage (SHA1, SHA256, SHA512, MD2, MD5 and more). >>>> - a small CMS-compatibility improvement for stage LITERAL (Jeff Hennick) >>>> - a new pipr script that is guaranteed to work in a Docker container (Marc Remes) >>>> >>>> Releasing it as a RC first leaves us with the option of recalling it when accidents happen, or do nothing when it is fine. It does not seem to contain high-risk issues like 4.01 - and that was very successful. >>>> It will hit the website sometimes later today CET. >>>> >>>> For NetRexx 5 I would like to focus on: >>>> >>>> - solving the issue with output handles and multithreading that inhibits a well working JSR223 interface (René/Marc) >>>> - a Streams implementation (closely related with the previous issue at the core, but also delivering a Classic Rexx compatible I/O model) (René/Marc) >>>> - address enhancements (address with etc, integration with the OS Address package, outtrap): (Marc/René) >>>> - CMS compatibility enhancements (if necessary; up to Jeff) >>>> - command line versus .njp versus conformity (René) >>>> - Android introduction, builds and examples (a lot, if not most work already done by Jason) >>>> - fixing an issue with Annotations that is there but nobody noticed >>>> >>>> I announced the move to Github at the 2021 Symposium, but it is not so bad as it sounds: the main repo will be at SourceForge for the time being, but I will maintain a shadow repo at Github. The issue list, however, will be at Github (we never got around to use the one at SourceForge, so I will use all the project/issue/kanban/discussion fora infra at Github. Thanks to Jason we have the complete list of open issues from when we needed to move away from project Kenai. >>>> >>>> Please let me know your Github userid if I don’t know them yet. The ownership of the Github repo is with the RexxLA user, but I will mostly use my personal userid to do the work. If you are reading this list and are a ‘management/continuity’-user of the SF NetRexx repository, please be in touch to continue in this role, if you still want to do that. >>>> >>>> Best regards, >>>> >>>> René. >>>> |