Jvm.dll Not Found

1 view
Skip to first unread message

Pamala

unread,
Aug 4, 2024, 6:01:27 PM8/4/24
to clearnedosur
Ihave a critical problem which has effectively halted my R programming environment. I need the Java integration and rJava library as I use the R program in many other packages, and they specify this library as a prerequisite ( Rapidminer, SAP Predictive analytics etc). It used to work, I don't know what happened!. Please assist.

I also deleted and re-installed the java library rJava , and it installs but wont load i.e. library(rJava)..results in the same error message as in 1 above and when I press OK to continue the console brings up the following text :


R-studio is looking for the 'jvm.dll' file in a location where it does not exist. You probably might have a 64bit R studio installed and it's looking in the 32bit java folder. Try to find where the 64bit version of java is and inside there you will have the jvm.dll. on my machine this jvm.dll file is in


Check if you have a system environment variable called "JAVA_HOME" that points to a wrong or non-existent directory. This may happen after JRE was updated. Edit the environment variable to point to the correct directory (e.g., "C:\Program Files\Java\jre1.8.x_xxx").


I added it to "Java Home" and neglected the bottom one (PATH) so it didn't happen.You need to make changes to the environment variables in two places. As the figure below. One of them is to add and add a semicolon in the PATH or update it if it already exists. I updated it. Problem solved. Good luck.


Now I've checked Program Files folder, and there is 100% the file jvm.dll in both the Bin32 and Bin64 subfolders of the SQL Anywhere folder after the EBF 7254 installation. Same size, same Date/Time stamp just like on my laptop that is not experiencing the issue.


The big problem is that neither SQL Central nor Interactive SQL can start, they are giving the same error message. When I check the database connectivity and service via ODBC, they seem to be OK with "Connection successful", but I cannot bring up SQL Central at all.


For the record - I ran into this problem installing SQL Anywhere 17 download by a customer following purchase through the SAP online store. We did not have the benefit of a "release notes" document to inform us of prerequisites. I pushed the installer through a number of the "jvm.dll" messages, and upon completion, SQL Central would not run. I downloaded "vc_redist.x64.exe" from -us/download/details.aspx?id=52685 , ran it As Administrator, then re-ran the SQL Anywhere installer selecting Modify/Repair. The installer completed without incident and then SQL Central ran.


Forum problems?Maintenance logContact UsTerms of ServicePrivacy PolicyCopyright/Trademark InfoLegal



Powered by SQL Anywhere 17

Disclaimer: Opinions expressed here are those of the poster and do notnecessarily reflect the views of the company.


If i set the working directory of the application to the location where the jvm.dll is, then it works like a charm. I cannot set the working directory of the application to the directory of jvm.dll as this application is going to be a dll in future.


The problem was that in tomcat8w.exe //ES//JIRAServiceDesk030718143054 the Java Vritual Machine was referring to C:\Program Files\Java\jre-10.0.2\bin\server\jvm.dll. with that dll the application could not start because some of the Java Options like PrintGCDetails are not supported.


If you have set your $JAVA_HOME variable to this other installation path with a Java 10 jre, Jira might not behave as expected. Since these Windows exe installations can also bundle Java 8 jre with them, that could explain why this works with the old path but not your current path. I would recommend setting your javahome to use a Java 8 installation path and restart Jira to make sure that you are using a supported platform.


I am getting an 'Error loading: C:\Program Files\Java\jdk1.7.0_06\jre\bin\server\jvm.dll' when trying to replace the delivered JRE with a more recent version that I have downloaded and installed from Oracle.


Trying to run the windows installer to upgrade tomcat and it keeps failing. I even tried uninstalling Jamf. Removed the JSS folder. Ran the installer to install clean.... Still failing. Looks like it is tomcat.


I probably should have posted... I had the tomcat service stopped already before I ran the uninstall. Then I rebooted (after the install there was no tomcat service installed) and then I installed. So if the installer is waiting for the service to stop... there is no service. I will go back and try and pull the batch file out.


@echo off

rem Licensed to the Apache Software Foundation (ASF) under one or more

rem contributor license agreements. See the NOTICE file distributed with

rem this work for additional information regarding copyright ownership.

rem The ASF licenses this file to You under the Apache License, Version 2.0

rem (the "License"); you may not use this file except in compliance with

rem the License. You may obtain a copy of the License at

rem

rem -2.0

rem

rem Unless required by applicable law or agreed to in writing, software

rem distributed under the License is distributed on an "AS IS" BASIS,

rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

rem See the License for the specific language governing permissions and

rem limitations under the License.


"%EXECUTABLE%" //IS//%SERVICE_NAME% ^ --Description "Apache Tomcat 8.5.32 Server - " ^ --DisplayName "%DISPLAYNAME%" ^ --Install "%EXECUTABLE%" ^ --LogPath "%CATALINA_BASE%logs" ^ --StdOutput auto ^ --StdError auto ^ --Classpath "%CLASSPATH%" ^ --Jvm "%JVM%" ^ --StartMode jvm ^ --StopMode jvm ^ --StartPath "%CATALINA_HOME%" ^ --StopPath "%CATALINA_HOME%" ^ --StartClass org.apache.catalina.startup.Bootstrap ^ --StopClass org.apache.catalina.startup.Bootstrap ^ --StartParams start ^ --StopParams stop ^ --JvmOptions "-Dcatalina.home=%CATALINA_HOME%;-Dcatalina.base=%CATALINA_BASE%;-D%ENDORSED_PROP%=%CATALINA_HOME%endorsed;-Djava.io.tmpdir=%CATALINA_BASE%emp;-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager;-Djava.util.logging.config.file=%CATALINA_BASE%conflogging.properties;%JvmArgs%" ^ --JvmOptions9 "--add-opens=java.base/java.lang=ALL-UNNAMED#--add-opens=java.base/java.io=ALL-UNNAMED#--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED" ^ --Startup "%SERVICE_STARTUP_MODE%" ^ --JvmMs "%JvmMs%" ^ --JvmMx "%JvmMx%"

if not errorlevel 1 goto installed

echo Failed installing '%SERVICE_NAME%' service

goto end

:installed

echo The service '%SERVICE_NAME%' has been installed.


When I run the Jamf Installer msi, it gets to the very end of the install where it installs a new tomcat service but for whatever reason the jamf installer times out and quits and gives me an error. I look in the jss directory and everything is there.


My work around to get jamf updated is to go into d:/jss/tomcat/bin and run service.bat install after I run the jamf install/upgrade package and it fails. It takes around 90 seconds, but it gets the tomcat service installed properly.


I have a support ticket open with Jamf. I would love to get an installer that gives me 2 minutes for that service to install. I bet the Jamf msi would not fail if the tomcat service installation batch file had enough time.


Small update, Was testing something with Jamf... I did a clone of my VM for my Jamf server and started it up with a network card. I did an uninstall and a reinstall and everything worked perfect no errors. So I am wondering if the network is coming into play for the service install. My current plan is when the next version of Jamf comes out, I am going to snapshot my VM, do an upgrade. If the installer fails again, I am going to restore the snapshot and try again without a NIC and see if it works that way. Will post my results here.


However, it did create the service. When I start the service manually, I'm able to log into Jamf Pro, but now my Tomcat certificate is expired (it wasn't before). I'm thinking there is a copy/restore process that happens after the Tomcat service is installed but it never gets the chance to do that. Not knowing if other critical changes have happened in addition the the Tomcat SSL cert getting fried, I revert the snapshot. Perhaps I could re-generate a new Tomcat cert and things would work, but it seems to me that Jamf fixing the installer would be a better option.


so here is what I found.... If I disable my Network interface card (in software on vmware) the tomcat service installs perfectly. If the network is off, it fails. Support is going back to look into it internally and get back to me.


Jamf's purpose is to simplify work by helping organizations manage and secure an Apple experience that end users love and organizations trust. Jamf is the only company in the world that provides a complete management and security solution for an Apple-first environment that is enterprise secure, consumer simple and protects personal privacy. Learn about Jamf.


This site contains User Content submitted by Jamf Nation community members. Jamf does not review User Content submitted by members or other third parties before it is posted. All content on Jamf Nation is for informational purposes only. Information and posts may be out of date when you view them. Jamf is not responsible for, nor assumes any liability for any User Content or other third-party content appearing on Jamf Nation.


Enterprise Standard base deployment 11.1 on Windows Server 2019. A month or so after upgrade to 11.1 from 11.0 got a notification the server drive was filling up. I found the cause was dump files by Opensearch due to a fatal error involving the JRE installed with portal. I wasn't able to find much online to explain it, so attempted to use windows to repair the portal installation. It didn't seem to change any of the dates on the JRE folder under the portal runtime folder which seemed to have much older modified dates then the rest of the 11.1 install. I had already installed a couple patches including:

3a8082e126
Reply all
Reply to author
Forward
0 new messages