You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in a MacOS Big Sur 11.5.2, jruby 9.3.3.0, trying t compile the jruby-openssl locally via rake jar.
I switch my local java to 1.8, as it's now required by the above:
> /usr/libexec/java_home -V
Matching Java Virtual Machines (2):
14.0.1 (x86_64) "Oracle Corporation" - "Java SE 14.0.1" /Library/Java/JavaVirtualMachines/jdk-14.0.1.jdk/Contents/Home
1.8.321.07 (x86_64) "Oracle Corporation" - "Java" /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
/Library/Java/JavaVirtualMachines/jdk-14.0.1.jdk/Contents/Home
> java -version
java version "1.8.0_321"
Java(TM) SE Runtime Environment (build 1.8.0_321-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.321-b07, mixed mode)
when I run rake jar (alias of ./mvnw prepare-package -Dmaven.test.skip=true), it breaks with the following statement:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.800 s
[INFO] Finished at: 2022-02-14T20:14:59Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:2.0.1:initialize (default-initialize) on project jruby-openssl: Execution default-initialize of goal de.saumya.mojo:gem-maven-plugin:2.0.1:in
itialize failed: Plugin de.saumya.mojo:gem-maven-plugin:2.0.1 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.8.0 at specified path /Library/Internet Plug-Ins
/JavaAppletPlugin.plugin/Contents/Home/../lib/tools.jar -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal de.saumya.mojo:gem-maven-plugin:2.0.1:initialize (default-initialize) on project jruby-openssl: Execution default-initialize
of goal de.saumya.mojo:gem-maven-plugin:2.0.1:initialize failed: Plugin de.saumya.mojo:gem-maven-plugin:2.0.1 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.
8.0 at specified path /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/../lib/tools.jar
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
After some googling, I find out that tools.jar was abandoned in java 11. However, as shown above, I'm pretty much updated, right?
I've also update maven to 3.8.4. So I singled it out to maven_gem, which might still need to adapt smth?
The text was updated successfully, but these errors were encountered:
I'm in a MacOS Big Sur 11.5.2, jruby 9.3.3.0, trying t compile the
jruby-openssl
locally viarake jar
.I switch my local java to 1.8, as it's now required by the above:
when I run
rake jar
(alias of./mvnw prepare-package -Dmaven.test.skip=true
), it breaks with the following statement:After some googling, I find out that
tools.jar
was abandoned in java 11. However, as shown above, I'm pretty much updated, right?I've also update maven to 3.8.4. So I singled it out to
maven_gem
, which might still need to adapt smth?The text was updated successfully, but these errors were encountered: