Changeset 370d2555 for build.properties


Ignore:
Timestamp:
Jul 31, 2014 2:42:51 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
d3ea5d2
Parents:
5332cee
Message:

Notes and logging re: compiling with Java 8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.properties

    r5332cee r370d2555  
    4747#javac.compilerargs=-warn:-unchecked,raw,unused,serial
    4848
     49#
     50# Note to packagers, embedders, distributors:
     51#
     52# Strictly speaking, you must either use the compiler for the minimum Java version you are
     53# targeting (default 1.6, see above), or specify a bootclasspath, which means you need
     54# the JRE for the target version installed as well.
     55#
     56# However, in practice, you can compile with 1.7 and target 1.6 without specifying a bootclasspath,
     57# and it all works fine.
     58#
     59# But you cannot compile with 1.8 and target 1.6 or 1.7 without bootclasspath,
     60# or your users will get runtime errors.
     61# Below is an example of a bootclasspath that works on Ubuntu.
     62#
     63# For more info:
     64#    http://zzz.i2p/topics/1668
     65#    https://gist.github.com/AlainODea/1375759b8720a3f9f094
     66#
     67#javac.compilerargs=-bootclasspath /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/jce.jar
     68
     69
    4970### UnitTests ##
    5071# Location of the libraries required for the ScalaTest tests.
Note: See TracChangeset for help on using the changeset viewer.