• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

Load JVM Library Failed

DMiller

Well Known Member
Hello JDELISTers –
I can’t find any ideas on how to fix this on the Oracle website so I’m reaching out to you guys for the fix.

I installed a Windows Server 2016 VM with a PY fat client 9.2. Everything (Oracle DBs, JDKs, WebLogic, etc) was loaded on the C drive except I put E920 on the D: drive.

When I attempt to log in, I am getting the following errors in the JDE.LOG:

4112/796 MAIN_THREAD Tue Mar 24 09:41:44.737026 jdb_ctl.c4281
Starting OneWorld

4112/796 MAIN_THREAD Tue Mar 24 09:41:48.730001 jdejvm.cpp2090
JDEJVM0000012 - Load JVM library failed.

4112/796 MAIN_THREAD Tue Mar 24 09:41:48.734001 jdejvm.cpp2163
JDEJVM000001p - JdeJvmException exception thrown - Error - Unable to load JVM library.

4112/796 MAIN_THREAD Tue Mar 24 09:41:48.741001 jdejvm.cpp2239
JDEJVM0000030 - JdeJvmException exception thrown - Error - Unable to load JVM library.. JVM cannot be created!!

4112/796 MAIN_THREAD Tue Mar 24 09:41:48.755003 jdejvm.cpp155
JDEJVM0000002 - Attempting to load the JVM more than once. This will likely fail.

4112/796 MAIN_THREAD Tue Mar 24 09:41:48.772001 jdejvm.cpp2090
JDEJVM0000012 - Load JVM library failed.

4112/796 MAIN_THREAD Tue Mar 24 09:41:48.776001 jdejvm.cpp2163
JDEJVM000001p - JdeJvmException exception thrown - Error - Unable to load JVM library.

4112/796 MAIN_THREAD Tue Mar 24 09:41:48.779001 jdejvm.cpp2239
JDEJVM0000030 - JdeJvmException exception thrown - Error - Unable to load JVM library.. JVM cannot be created!!


DEBUG is showing:

Mar 24 09:41:48.719000 - 4112/796 MAIN_THREAD No options defined in jde.ini for section [JDE JVM] and key, DefaultOptions.
Mar 24 09:41:48.722000 - 4112/796 MAIN_THREAD JDEJVM0000020 - No JVM is loaded. New JVM will be created.
Mar 24 09:41:48.722001 - 4112/796 MAIN_THREAD JDEJVM0000001 - Start creating JVM.
Mar 24 09:41:48.722002 - 4112/796 MAIN_THREAD JDEJVM - Will first add the class path defined by the jde.ini setting, CLASSPATH, in the section JDE_CG. (If any..)
Mar 24 09:41:48.722003 - 4112/796 MAIN_THREAD JDEJVM0000004 - jde.ini directory location is C:\Windows.
Mar 24 09:41:48.722004 - 4112/796 MAIN_THREAD JdeJvm::addJdbjPathToClassPath() - JDBj config directory is D:\E920\system\JAS\EA_JAS_80.ear\webclient.war\WEB-INF\classes.
Mar 24 09:41:48.726000 - 4112/796 MAIN_THREAD JDEJVM - Will add all .jar files from the directory, D:\E920\system\classes\, to the class path.
Mar 24 09:41:48.727000 - 4112/796 MAIN_THREAD NonSTLString::reallocString() - realloc string from 4096 to 6169
Mar 24 09:41:48.728000 - 4112/796 MAIN_THREAD Endorsed dir loaded in system classses: 0
Mar 24 09:41:48.728001 - 4112/796 MAIN_THREAD JDEJVM0000008 - Jde process Id is 4112.
Mar 24 09:41:48.728002 - 4112/796 MAIN_THREAD JDEJVM0000009 - JDE platform is JDENV_PC_CLIENT.
Mar 24 09:41:48.728003 - 4112/796 MAIN_THREAD JDEJVM0000010 - JVM remote debug port: -1
Mar 24 09:41:48.729000 - 4112/796 MAIN_THREAD JDEJVM0000017 - VM Diagnostics flag: 0
Mar 24 09:41:48.729001 - 4112/796 MAIN_THREAD JVM Options: -Djava.class.path=D:\E920\system\classes\javax.activation_1.1.jar;D:\E920\system\classes\javax.xml.s
oap_1.3.1.0.jar;D:\E920\system\classes\javax.xml.stream_1.1.1.0.jar;D:\E920\system\classes\javax.jws
_2.0.jar;D:\E920\system\classes\glassfish.jaxb.xjc_1.2.0.0_2-1-7.jar;D:\E920\system\classes\javax.xm
l.bind_2.1.1.jar;D:\E920\system\classes\oracle.webservices.standalone.client.jar;D:\E920\system\clas
ses\search_adminapi_wsclient.jar;D:\E920\system\classes\xerces.jar;D:\E920\system\classes\kernel.jar
;D:\E920\system\classes\XTS.jar;C:\Windows;D:\E920\system\classes\;D:\E920\system\JAS\EA_JAS_80.ear\
webclient.war\WEB-INF\classes;D:\E920\system\classes\activation.jar;D:\E920\system\classes\aolj.jar;
D:\E920\system\classes\ApplicationAPIs_JAR.jar;D:\E920\system\classes\ApplicationLogic_JAR.jar;D:\E9
20\system\classes\Base_JAR.jar;D:\E920\system\classes\BIPProxy_JAR.jar;D:\E920\system\classes\BizLog
icContainerClient_JAR.jar;D:\E920\system\classes\BizLogicContainer_JAR.jar;D:\E920\system\classes\Bu
sinessLogicServices_JAR.jar;D:\E920\system\classes\castor.jar;D:\E920\system\classes\collections.jar
;D:\E920\system\classes\commons-codec.jar;D:\E920\system\classes\commons-lang.jar;D:\E920\system\cla
sses\commons-logging.jar;D:\E920\system\classes\Connector.jar;D:\E920\system\classes\convtops.jar;D:
\E920\system\classes\dvt-jclient.jar;D:\E920\system\classes\dvt-utils.jar;D:\E920\system\classes\E1B
rokerConnector_JAR.jar;D:\E920\system\classes\E1BrokerUtil_JAR.jar;D:\E920\system\classes\E1Broker_J
AR.jar;D:\E920\system\classes\E1BSSVAuthenticator.jar;D:\E920\system\classes\E1BSSVAuthenticatorV2.j
ar;D:\E920\system\classes\EventProcessor_EJB.jar;D:\E920\system\classes\EventProcessor_JAR.jar;D:\E9
20\system\classes\Generator_JAR.jar;D:\E920\system\classes\glassfish.jaxb.xjc_1.2.0.0_2-1-7.jar;D:\E
920\system\classes\httpclient.jar;D:\E920\system\classes\httpcore.jar;D:\E920\system\classes\httpmim
e.jar;D:\E920\system\classes\i18nAPI_v3.jar;D:\E920\system\classes\j2ee1_3.jar;D:\E920\system\classe
s\jakarta-oro-2.0.8.jar;D:\E920\system\classes\javamail.jar;D:\E920\system\classes\javax.activation_
1.1.jar;D:\E920\system\classes\javax.jws_2.0.jar;D:\E920\system\classes\javax.xml.bind_2.1.1.jar;D:\
E920\system\classes\javax.xml.soap_1.3.1.0.jar;D:\E920\system\classes\javax.xml.stream_1.1.1.0.jar;D
:\E920\system\classes\JdbjBase_JAR.jar;D:\E920\system\classes\JdbjCopyTableXML_JAR.jar;D:\E920\syste
m\classes\JdbjInterfaces_JAR.jar;D:\E920\system\classes\JDBjTextSearch_JAR.jar;D:\E920\system\classe
s\JdbSes_JAR.jar;D:\E920\system\classes\JdeNet_JAR.jar;D:\E920\system\classes\jewt-core-jewt4.jar;D:
\E920\system\classes\jmxremote.jar;D:\E920\system\classes\jmxremote_optional.jar;D:\E920\system\clas
ses\jmxri.jar;D:\E920\system\classes\jsch-0.1.51.jar;D:\E920\system\classes\jsr173_api.jar;D:\E920\s
ystem\classes\Maf2Base_JAR.jar;D:\E920\system\classes\Maf2Extensions_JAR.jar;D:\E920\system\classes\
Maf2Interfaces_JAR.jar;D:\E920\system\classes\mafsecurity.jar;D:\E920\system\classes\Maf_JAR.jar;D:\
E920\system\classes\mail.jar;D:\E920\system\classes\ManagementAgent_JAR.jar;D:\E920\system\classes\M
ergeTools_JAR.jar;D:\E920\system\classes\Metadata.jar;D:\E920\system\classes\MetadataInterface.jar;D
:\E920\system\classes\nlspdk.jar;D:\E920\system\classes\ojdl.jar;D:\E920\system\classes\OMWBase_JAR.
jar;D:\E920\system\classes\omwscm.jar;D:\E920\system\classes\oracle.e1.ide.sbfextension.SBF.10.1.3.j
ar;D:\E920\system\classes\oracle.e1.ide.sbfextension.SBF.11.1.1.jar;D:\E920\system\classes\oracle.e1
.ide.sbfextension.SBF.12.1.2.jar;D:\E920\system\classes\oracle.webservices.standalone.client.jar;D:\
E920\system\classes\orai18n-api.jar;D:\E920\system\classes\orai18n-collation-api.jar;D:\E920\system\
classes\orai18n-mapping-api.jar;D:\E920\system\classes\owra.jar;D:\E920\system\classes\PackageBuild_
JAR.jar;D:\E920\system\classes\Rijndael.jar;D:\E920\system\classes\rmissl.jar;D:\E920\system\classes
\SawKernel_JAR.jar;D:\E920\system\classes\SBFFoundation_JAR.jar;D:\E920\system\classes\SBFInstallati
onConfigurator_JAR.jar;D:\E920\system\classes\SBFJavadoc.jar;D:\E920\system\classes\SBFLoginModule_J
AR.jar;D:\E920\system\classes\search_adminapi_wsclient.jar;D:\E920\system\classes\share.jar;D:\E920\
system\classes\soap.jar;D:\E920\system\classes\Spec_JAR.jar;D:\E920\system\classes\stax-1.2.0.jar;D:
\E920\system\classes\SystemInterfaces_JAR.jar;D:\E920\system\classes\System_JAR.jar;D:\E920\system\c
lasses\versioninfo.jar;D:\E920\system\classes\WebClient_JAR.jar;D:\E920\system\classes\WebLogin_JAR.
jar;D:\E920\system\classes\wsclient.jar;D:\E920\system\classes\xdo-core.jar;D:\E920\system\classes\x
doparser.jar;D:\E920\system\classes\xdoparser11g.jar;D:\E920\system\classes\xdoparser12c.jar;D:\E920
\system\classes\xerces.jar;D:\E920\system\classes\xml-apis.jar;D:\E920\system\classes\XMLEncodingCon
verter_JAR.jar;D:\E920\system\classes\xmlparserv2.jar;D:\E920\system\classes\Xmlp_JAR.jar;D:\E920\sy
stem\classes\XTS.jar;D:\E920\misc\ojdbc8.jar; -Djava.endorsed.dirs=D:\E920\system\classes\endorsed\
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djde_processid=411
2 -DcloneId=4112 -Djde_platform=JDENV_PC_CLIENT -Djava.version=1.7
Mar 24 09:41:48.729002 - 4112/796 MAIN_THREAD JDEJVM - optional jde.ini setting InProcessJVMHome in section [InProcessJVMHome] is blank or not provided. Attempting to load from bundled jvm inside of the system directory in D:\E920.
Mar 24 09:41:48.729003 - 4112/796 MAIN_THREAD JDEJVM0000011 - JVM Home: D:\E920\system\JRE\bin\client\jvm.dll.
Mar 24 09:41:48.730000 - 4112/796 MAIN_THREAD JDEJVM0000012 - Load JVM library failed.
Mar 24 09:41:48.734000 - 4112/796 MAIN_THREAD JDEJVM000001p - JdeJvmException exception thrown - Error - Unable to load JVM library.
Mar 24 09:41:48.741000 - 4112/796 MAIN_THREAD JDEJVM0000030 - JdeJvmException exception thrown - Error - Unable to load JVM library.. JVM cannot be created!!


So what ideas do you have to help me resolve this? Thanks in advance!
 

Segfault

Reputable Poster
Where is your JRE directory? EOne looks, by default, at (install location)\system\jre
If you want it somewhere else, set your JDE.INI's [JDE JVM] section's setting for InProcessJVMHome, like this:

InProcessJVMHome=c:\E920\jre\1.8.0\bin\client\jvm.dll

Note; the jre you use has to be 32bit if you are using 32bit EOne, and 64bit if you are using 64bit Eone.
 

DMiller

Well Known Member
Figured it out... it makes NO sense to me but I needed to install the 2010 Visual Studio redistributables (even though I didn't install Visual Studio) and then I got logged in just fine. Urgh!!!
 

craig_welton

Legendary Poster
Ugh. First of all, thanks for posting your solution. I've been bitten by similar issues with reliance on older VS redist. packages. Some of the older DLLs are bound to them. Good Luck.

Craig
 
Top