Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 9 support #566

Open
darthorimar opened this issue Nov 16, 2017 · 1 comment
Open

Java 9 support #566

darthorimar opened this issue Nov 16, 2017 · 1 comment

Comments

@darthorimar
Copy link
Contributor

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants