It was always possible of course to install several Java versions on the same system, but switching from one to another has always been a bit of a nuisance. In Windows I started using batch files that I wrote specifically for the purpose of setting PATH and JAVA_HOME variables while for
But I just found out that newer Java versions actually support switching versions directly from the command line:
java -version:1.5+ ...
java -version:1.6* ...
> java -version:1.4* -version
Unable to locate JRE meeting specification "1.4*"
No comments:
Post a Comment