Rlocation, LAUNCHER ERROR while doing bazel run command - java

Im getting the following error while doing bazel run command.
LAUNCHER ERROR: Rlocation failed on external\local_jdk\bin\java.exe, path doesn't exist in MANIFEST file
Bazel build seems to work fine but the run commands throws this error.
I do have java installed with version
Java(TM) SE Runtime Environment (build 18.0.1.1+2-6)
Java HotSpot(TM) 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing)
Bazel build command returns successful message - bazel build scalaBinaryName
Appreciate any help or hint on this issue. Im searching in the dark here.

Follow the installation guide here. You need to install MSYS2 x86_64 as described in the install manual.

Related

Could not start Burp: java.lang.UnsatisfiedLinkError: no splashscreen in java.library.path

When trying to run BurpSuite on linux manjaro the following error occurs: "Could not start Burp: java.lang.UnsatisfiedLinkError: no splashscreen in java.library.path"
java -version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
Had the same error. Fixed it 2 minutes ago with:
sudo apt-get install openjdk-14-jre
Then just re-run burpsuite, and it will launch.
Recently encountered the same error message on Ubuntu.
I Fixed It uninstalling JDK and running burp installer again.(Burp installer includes OpenJDK 12 which is used by BurpSuite.)
Finally I ran BurpSuiteCommunity from terminal instead of burpsuite_community.jar. Hopefully that fixes the problem.
This happened for me because i have updated Java.
Then to solve I just uninstalled the JAVA update
and fixed(changed) environment variables respectively.
Now Burp suite works as it was working before!

elasticsearch install plugin: Could not reserve enough space for object heap

I am trying to install the elasticsearch plugin with the command: ./plugin install license which I found on this tut: link
But I get the error message:
Error occurred during initialization of VM
Could not reserve enough
space for object heap Error: Could not create the Java Virtual
Machine. Error: A fatal exception has occurred. Program will exit.
After that even if I run java -version I get the same error! Before I run ./plugin install license java -version worked fine and printed:
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.14.04.1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
Does anybody know whats my problem here? Its a fresh install of Ubuntu 14.04.4 LTS and I installed elasticsearch 2.2.3
Installation for ElasticSearch
1) Comment entry in C:\\elasticsearch-5.4.0\elasticsearch-5.4.0\config\jvm.options
#-Xms2g
#-Xmx2g
2) set ES_JAVA_OPTS as below in elasticsearch.bat
set ES_JAVA_OPTS = "-Xms512m -Xmx512m"

A working Java 8 is required to run Solr?

solr version is 6.0.0
When I run
>bin/solr -e example
error with
Java not found, or an error was encountered when running java.
A working Java 8 is required to run Solr!
Please install Java 8 or fix JAVA_HOME before running this script.
Command that we tried: 'java -version'
Active Path:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
my java version is
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
and my PATH is
/opt/java/bin:/opt/java/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
I edit the bin/solr
116 JAVA=java
to
116 JAVA=/opt/java/bin/java
then it works!
Ran into a similar issue on 5.5, this link helped me: https://www.garysieling.com/blog/install-solr-ubuntu

Ionic on Ubuntu get java error when run "ionic emulate android" command

I cannot run the "ionic emulate android" command.
I keep getting following error message:
I have already installed the java,
when I run "java -version", i got this
java version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.14.04.2)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
when I run "which java", I got this
/usr/bin/java
Is anyone, have an idea why am I getting this error?
I'm using Ubuntu 14.04.
Thanks in advance!
Ionic can't find your Java executable.
Try to make it accessible in your PATH:
export JAVA_HOME="your/path/to/jdk"
You can also try to put this line in /etc/environment and load it with:
source /etc/environment
as it is suggested in this post:
How to set JAVA_HOME for Java?

Android Studio Crash on Fedora 22

I'm trying to run Android Studio in my Fedora22 machine. I've followed the instructions in the site, downloaded the zip, extracted it and ran studio.sh file.
It opens the Android Studio correctly, but after the download of components starts, it just closes without showing any dialogbox with the error.
As I'm running through the terminal, I saw the following error before the program gets closed:
/home/mlima/android-studio/bin/studio.sh: line 188: 30819 Aborted
(core dumped) LD_LIBRARY_PATH="$IDE_BIN_HOME:$LD_LIBRARY_PATH"
"$JDK/bin/java" $AGENT "-Xbootclasspath/a:$IDE_HOME/lib/boot.jar"
-classpath "$CLASSPATH" $VM_OPTIONS "-Djb.vmOptionsFile=$VM_OPTIONS_FILES_USED"
"-XX:ErrorFile=$HOME/java_error_in_STUDIO_%p.log" -Djb.restart.code=88
-Didea.paths.selector=AndroidStudio1.4 $IDE_PROPERTIES_PROPERTY $IDE_JVM_ARGS $REQUIRED_JVM_ARGS $MAIN_CLASS_NAME "$#"
My javac -version: javac 1.8.0_60-debug
Thanks
Try to reinstall javac java -version is:
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
And it work.
If this doesn't resolve the problem you have to find the way to set your environment HomePath variable points the current java sdk path.
Hope this can help, bye

Categories