ignite.bat failing to start on windows10 with java 1.8 - java-8

I downloaded ignited latest binary release 2.13.0. After executing bin/ignite.bat, it gives below error:
D:\Programs\apache-ignite-2.13.0-bin\bin>ignite.bat
Unrecognized option: --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Press any key to continue . . .
D:\Programs\apache-ignite-2.13.0-bin\bin>java -version
openjdk version "1.8.0_272"
OpenJDK Runtime Environment Huawei Technologies Co., Ltd (build 1.8.0_272-Huawei_JDK_V100R001C00SPC270B002-b10)
OpenJDK 64-Bit Server VM Huawei Technologies Co., Ltd (build 25.272-b10, mixed mode)
enter image description here

Related

JFrog installation keeps failing on Windows 10

I have been setting up JFrog Artifactory (jfrog-artifactory-oss-7.21.3-windows.zip) on Windows 10 but when I execute "C:\jfrog\artifactory\app\bin\artifactory.bat", I am getting the below error message. Tried running the batch file as administrator but encountered the same issue.
Error: Cannot find module 'C:\jfrog\artifactory\app\bin\bin\server\dist\bundle.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
Output:
prompt 13:57:11.77>echo %JAVA_HOME%
C:\java-1.8.0-openjdk
prompt 13:57:17.54>echo %JFROG_HOME%
C:\jfrog
prompt 13:57:22.71>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)
Additional Info:
Tried with JDK-11 also to see if it helps, but it doesn't work either.
prompt 16:54:38.85>java -version
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
Thanks for raising this. A fix is coming in the upcoming patch.
[Edit 9th July]
Patch is now available at https://jfrog.com/download-jfrog-platform/

Error installing eclipse (jvm.dll load error) - how to fix?

I am trying to install Eclipse inside a virtual machine running Windows 7 64-bit.
When I launch eclipse-inst-win64.exe, I get the following error: Failed to load the JNI shared library "C:\Program Files\Java\jdk-12.0.2\bin\server\jvm.dll.
Both eclipse and JDK are 64-bit.
The DLL is there:
c:\>dir "c:\Program Files\Java\jdk-12.0.2\bin\server\jvm.dll"
Volume in drive C has no label.
Volume Serial Number is 8E3B-94B
Directory of c:\Program Files\Java\jdk-12.0.2\bin\server
07/27/2019 04:47 PM 11,538,912 jvm.dll
Java is 64-bit:
c:\>"c:\Program Files\Java\
jdk-12.0.2\bin\java.exe" -version
java version "12.0.2" 2019-07-16
Java(TM) SE Runtime Environment (build 12.0.2+10)
Java HotSpot(TM) 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)
No other JDK or JRE versions are installed.
Java itself works just fine - I compiled and ran few Spring samples, installed and used Maven, everything works.
Any idea what can be wrong here? Is there any way to force Eclipse to output more info about the error (e.g. the value returned by GetLastError() in the Windows API after loading the library failed).
Thanks!
I solved the problem by downloading and installing the Visual C++ 2015 runtime from Microsoft.
Apparently it's needed for that specific jvm.dll and isn't installed automatically by the JDK installer.

Why cmd give error when we open uiautomatorviewer?

When I run the following command in the command prompt that time I am getting the following error.
Command: C:\Users\ob>uiautomatorviewer
Error:
-Djava.ext.dirs=..\lib\x86_64;..\lib is not supported.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Set your all android path properly.
Add variable in system environment as mention below.
ANDROID_SWT : C:\Users\chetan\AppData\Local\Android\Sdk\tools\lib\x86_64
ANDROID_HOME : C:\Users\chetan\AppData\Local\Android\Sdk
ANDROID_PLATFORM_TOOLS : C:\Users\chetan\AppData\Local\Android\Sdk\platform-tools
Add below mention Path in Path Variable in system environment.
C:\Program Files\Java\jdk\bin;
C:\Users\chetan\AppData\Local\Android\Sdk\tools\bin;
C:\Users\chetan\AppData\Local\Android\Sdk\tools;
C:\Users\chetan\AppData\Local\Android\Sdk\platform-tools;
C:\Program Files\nodejs\node_modules\npm\bin;
C:\Users\chetan\AppData\Local\Android\Sdk;
C:\Users\chetan\AppData\Local\Android\Sdk\tools\lib\x86_64\swt.jar;
Pre-Check - Verify the java Version installed in your system.
VERIFY - java -version
java version "1.8.0_221" Java(TM) SE Runtime Environment (build
1.8.0_221-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
If this message appears that means you have JAVA 8 install and uiautomatorviewer only supports till JAVA 8.
So install JAVA 8 from here and if you already have JAVA install down grade it to JAVA 8

Installing elasticsearch, getting error

I'm trying to install elastic search. Downloaded the bat file form here:
https://www.elastic.co/downloads/elasticsearch
I'm getting following error:
D:\elasticsearch\bin>elasticsearch.bat
Error: Could not find or load main class D:\elasticsearch\lib\elasticsearch-cli
6.2.4.jar
The jar is already there under lib.
My java version is:
D:\elasticsearch\bin>java -version
java version "1.8.0_141"
Java(TM) SE Runtime Environment (build 1.8.0_141-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.141-b15, mixed mode)
Any idea why I'm getting this error?

Java3D JOGL (Win7 64) launch causes run-time native code error

I am upgrading my Java3D Win7 app to use JOGL interface, as Oracle has stopped shipping Java3D support in the 1.8.0_33 JRE. I am running Win7 SP1
under Parallels Desktop 10 for the Mac on a MacBook Pro. I am developing with the Eclipse Mars2.0 IDE (Win 64).
The compiler is happy with the build, so it must be finding all the JOGL imports. It's not complaining about any missing files. But, when I launch the app, the app window exists for a fraction of a second, then disappears.
This is the error text in the console:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fef0ea34d9, pid=5032, tid=1496
#
# JRE version: Java(TM) SE Runtime Environment (8.0_77-b03) (build 1.8.0_77-b03) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.77-b03 mixed mode windows-amd64 compressed oops) # Problematic
frame: # C [prl_gldd.dll+0x134d9] # # Failed to write core
dump. Minidumps are not enabled by default on client versions of
Windows

Resources