2 Answers
worked for me, thanks!
the relevant bit from the linked page
first run: echo ${JAVA_HOME}
this is probably talking about java 11
then run: export JAVA_HOME=$(update-alternatives –list java | tail -1 | sed -E ‘s//bin/java//’)
then run this again: echo ${JAVA_HOME}
and it should now say java 8
worked for me, thanks. Note : use JAVA_HOME not JAVAHOME 😉
I reset the JAVAHOME to JAVA 8 but still I get error
WARNING: All illegal access operations will be denied in a future release
ArgumentError: wrong number of arguments (0 for 1)
method_added at file:/home/jack/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/builtin/javasupport/core_ext/object.r
b:10
method_added at file:/home/jack/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/builtin/javasupport/core_ext/object.r
b:129
Pattern at file:/home/jack/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/builtin/java/java.util.regex.rb:2
(root) at file:/home/jack/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/builtin/java/java.util.regex.rb:1
require at org/jruby/RubyKernel.java:1062
(root) at file:/home/jack/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/builtin/java/java.util.regex.rb:42
(root) at thirdparty/hirb.rb:39
Thank you very much. It worked. For the cbt part, i get an error like ‘Getting list of instances: rpc error: code = PermissionDenied desc = Access denied. Missing IAM permission: bigtable.instances.list.’ could you please help
2020-10-04 This fix worked for me. Thanks!
Thanks for the help!
Really appreciate this answer, thank you!