Error: could not open ...amd64\jvm.cfg

Having problems with IHMC CmapTools? Think you have found a bug? Let us know!
Forum rules
Before you post a problem or bug, please be sure you have included the version number of IHMC CmapTools, the operating system and version, the amount of RAM, and any other information that allows us to be able to replicate the problem you are having. (i.e. what were you doing when the problem occur? were you running another program (application) by the time you have the problem?)
Post Reply
mikkel
Posts: 3
Joined: Tue Jul 09, 2024 4:52 am

Error: could not open ...amd64\jvm.cfg

Post by mikkel »

On win11, installing with the file Win64CmapTools_v6.04_09-24-19.exe

I Have run the installer, but cannot open the CMAP Tools, i just get

"Error: could not open `C:\Program Files\CMapTools\jre\lib\amd64\jvm.cfg`

I have checked and the directory `C:\Program Files\CMapTools\jre`does not contain a "lib" folder

I have "openjdk version "17.0.6" 2023-01-17 LTS" installed on the machine, but I should not think that would be an issue?

Any ideas?
cmapadmin
Site Admin
Posts: 833
Joined: Sat Dec 13, 2008 2:22 pm

Re: Error: could not open ...amd64\jvm.cfg

Post by cmapadmin »

You don't need a separate java VM. CmapTools installs the java it needs. Did you install the correct (32 bit or 64 bit) version? Can you send use the log file it generates when you run it to cmapsupport (at) ihmc.org?
thomasfrank
Posts: 12
Joined: Mon Nov 20, 2023 3:23 am

Re: Error: could not open ...amd64\jvm.cfg

Post by thomasfrank »

To resolve the error when opening CmapTools, you can reinstall the software as an administrator and ensure that the download isn't corrupted. Check that your antivirus isn't blocking the installation and try pointing CmapTools to use your installed OpenJDK by setting the `JAVA_HOME` environment variable. Retro Bowl College
cmapadmin
Site Admin
Posts: 833
Joined: Sat Dec 13, 2008 2:22 pm

Re: Error: could not open ...amd64\jvm.cfg

Post by cmapadmin »

This is the wrong advice. CmapTools cannot use an OpenJDK installation. Must use the Java VM it installs.
mikkel
Posts: 3
Joined: Tue Jul 09, 2024 4:52 am

Re: Error: could not open ...amd64\jvm.cfg

Post by mikkel »

It is a 64bit windows 11 enterprise ed. machine, so I think I got the version correct. I will try to generate and send a log.
mikkel
Posts: 3
Joined: Tue Jul 09, 2024 4:52 am

Re: Error: could not open ...amd64\jvm.cfg

Post by mikkel »

I am still unable to run CMapTools after clean install. (64 bit) any new ideas? (I did not receive any reply on sending the logs to the email above).

/Mikkel
marroyo
Posts: 67
Joined: Tue Mar 31, 2009 6:09 pm

Re: Error: could not open ...amd64\jvm.cfg

Post by marroyo »

Your installer log of CmapTools v6.04 has reported the following error:

Install JRE: C:\Program Files\IHMC CmapTools\jre
Status: ERROR
Additional Notes: ERROR - Error Copying the JRE to the destination directory
Flexeraak1: C:\Users\69433\AppData\Local\Temp\I1722945110\Windows\resource\jre\bin\klist.exe (Access is denied)

Apparently your user account has a profile restriction or you are running a user control application that restricts your access to some folders. The CmapTools installer can use an alternative temp directory to unpack the installer. This procedure can be a workaround for your problem:

1. Open CMD command line and run these commands:

a. Verify if you have the folder "Temp" in your home directory

dir c:\Users\69433\Temp

if you can see some contents in the folder Temp continue with step b. if not, create the folder Temp:

md c:\Users\69433\Temp

b. Modify the System Environment Variable TMP:

setx TMP "C:\Users\69433\Temp"

exit (close the CMD command line windows)

2. Run the CmapTools installer again. Verify that your CmapTools application is running properly.

3. Restore the default value of the system environment variable TMP.

Open CMD command line and run these commands:

setx TMP "c:\Users\69433\AppData\Local\Temp"

exit (close the CMD command line windows)
Jacobjsdhfg
Posts: 4
Joined: Thu Dec 21, 2023 5:42 am

Re: Error: could not open ...amd64\jvm.cfg

Post by Jacobjsdhfg »

Since you have OpenJDK installed, ensure that it's properly configured. You can check if the JAVA_HOME environment variable is set correctlypapa's games
Post Reply