cvogt / cbt

CBT - fun, fast, intuitive, compositional, statically checked builds written in Scala
Other
488 stars 60 forks source link

Java 9 support #566

Open darthorimar opened 6 years ago

darthorimar commented 6 years ago

It looks like cbt does not support Java 9 now. When running cbt:

Improperly specified VM option 'MaxJavaStackTraceDepth=-1'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
nathanielford commented 5 years ago

Similarly for Java 11:

nford@ExpeditionaryForce:~/repos/prototype_scalatra $ cbt --help
(Note: gpg not found. In order to use publishSigned you'll need it.)
Stopping background process (nailgun) if running
Compiling cbt/nailgun_launcher
/Users/nford/repos/cbt/nailgun_launcher/src/cbt/Stage0Lib.java:9: error: package javax.xml.bind.annotation.adapters does not exist
import javax.xml.bind.annotation.adapters.HexBinaryAdapter;
                                         ^
/Users/nford/repos/cbt/nailgun_launcher/src/cbt/Stage0Lib.java:217: error: cannot find symbol
    return (new HexBinaryAdapter()).marshal(sha1.digest()).toLowerCase();
                ^
  symbol:   class HexBinaryAdapter
  location: class Stage0Lib
2 errors