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

Nasty warnings on make #18

Open
bholtdwyer opened this issue Dec 2, 2022 · 1 comment
Open

Nasty warnings on make #18

bholtdwyer opened this issue Dec 2, 2022 · 1 comment

Comments

@bholtdwyer
Copy link

bholtdwyer commented Dec 2, 2022

Hi! When I tried to make the jar, it gave me some warnings about "illegal" operations that "will be denied in a future release". Just FYI.

git clone https://github.com/tberg12/ocular.git
cd ocular
./make_jar.sh
Cloning into 'ocular'...
remote: Enumerating objects: 7062, done.
remote: Total 7062 (delta 0), reused 0 (delta 0), pack-reused 7062
Receiving objects: 100% (7062/7062), 239.38 MiB | 3.95 MiB/s, done.
Resolving deltas: 100% (3000/3000), done.
cp: lib/JCuda-All-0.6.0-bin-linux-x86_64/*: No such file or directory
cp: lib/JCuda-All-0.6.0-bin-apple-x86_64/*: No such file or directory
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
Getting org.scala-sbt sbt 0.13.8 ...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.ivy.util.url.IvyAuthenticator (file:/Users/holtdwyer/Dropbox/india_dams/code/ocular/sbt-launch-0.13.8.jar) to field java.net.Authenticator.theAuthenticator
WARNING: Please consider reporting this to the maintainers of org.apache.ivy.util.url.IvyAuthenticator
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

I then get a fatal error:

[error] scala.reflect.internal.MissingRequirementError: object java.lang.Object in compiler mirror not found.
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? 
error: error while loading package, Missing dependency 'object java.lang.Object in compiler mirror', required by /Users/holtdwyer/.sbt/boot/scala-2.10.4/lib/scala-library.jar(scala/package.class)
error: error while loading package, Missing dependency 'object java.lang.Object in compiler mirror', required by /Users/holtdwyer/.sbt/boot/scala-2.10.4/lib/scala-library.jar(scala/runtime/package.class)
scala.reflect.internal.MissingRequirementError: object java.lang.Object in compiler mirror not found.
	at scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:16)
	at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:17)
	at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:48)
	at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:40)
@taineleau
Copy link

Use an older version of javasdk (say java 8) will resolve it.

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