Hi, Haelwenn (lanodan) Monnier wrote: > +all: javaversion.class > + $(JAVAC) -d . -target 1.1 javaversion.java
Thanks for trying. But the problem is that 1) As noted in javaversion.java: * This program _must_ be compiled with * javac -d . -target 1.1 javaversion.java * since its purpose is to show the version of _any_ Java implementation. 2) Current Java compilers don't support '-target 1.1' any more: $ javac -d . -target 1.1 javaversion.java warning: target release 1.1 conflicts with default source release 21 $ javac -d . -target 1.1 -source 1.1 javaversion.java error: invalid source release: 1.1 Usage: javac <options> <source files> use --help for a list of possible options $ javac -d . -target 1.1 -source 1.2 javaversion.java warning: [options] bootstrap class path not set in conjunction with -source 1.2 error: Source option 1.2 is no longer supported. Use 8 or later. error: Target option 1.1 is no longer supported. Use 8 or later. $ javac -d . -target 1.1 -source 8 javaversion.java warning: source release 8 requires target release 8 Bruno
