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

Can't compile with java 8 #28

Open
cking opened this issue Oct 1, 2015 · 0 comments
Open

Can't compile with java 8 #28

cking opened this issue Oct 1, 2015 · 0 comments

Comments

@cking
Copy link

cking commented Oct 1, 2015

./bin/build returns the following lines when my java version is set to oracle-java8 on ubuntu,

$ ./bin/build.sh
unzipping JARs...
making cached JAR....
compiling...
compiling with 'scalac'...
compiling common...
warning: [options] bootstrap class path not set in conjunction with -source 1.5
warning: [options] source value 1.5 is obsolete and will be removed in a future release
warning: [options] target value 1.5 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
Note: net.appjet.common/util/HttpServletRequestFactory.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: net.appjet.common/util/HttpServletRequestFactory.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 warnings
error: error while loading AnnotatedElement, class file '/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.                                                                                                                                         class)' is broken
(bad constant pool tag 18 at byte 76)
error: error while loading CharSequence, class file '/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar(java/lang/CharSequence.class)' is broke                                                                                                                                         n
(bad constant pool tag 18 at byte 10)
two errors found
cp: cannot stat ‘/opt/hackpad/infrastructure/build/appjet.jar’: No such file or directory
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

1 participant