Can't start. Getting message, "The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupted."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-03 06:54 AM
Using Windows 7, 64 bit. Installed Keil uVision5 first and can run. Install of STM32CubeMX had no issues but can't run the application. Have updated Java, uninstalled CubeMX and reinstalled CubeMX and getting the same message. Not sure about editing the registry -- don't want to screw it up. Any help would be great. Thanks!
Solved! Go to Solution.
- Labels:
-
STM32CubeMX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-08 06:39 AM
Hi Nesrine,
Thank you for your help and time on this issue. I installed Java from the link you provided and STM32CubeMX is now working. And I have my Nucleo board running code! I must have been trying to use a 32bit version of Java, or something. Thanks also to Clive Two.Zero and the ST Community!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-03 07:37 AM
Should be a Java control panel app to check versions and cleanup
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-03 08:30 AM
Control Panel indicates the last update (today) is Version 8 Update 201. Changed various security setting with no result. Same error message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-03 09:00 AM
Then your alternatives here get to be to inspect and modify the registry. Start by inspection so you can provide useful feedback to ST so they might be able to understand/address/resolve issues.
Problem is that there a million ways a system in the field may be configured, and systems get registries cluttered with junk, and dependencies on drivers, DLLs, applications which might no long be valid or internally coherent.
Search on terms like "Java", "Java Runtime", "JRE" to locate the nodes. You're looking for random crap not related to the current installation, ie zombie nodes or data that is ambiguous or inconsistent.
'Software\JavaSoft\Java Runtime Environment'
@Nawres GHARBI​ consider providing diagnostic and analysis software which can determine why a system won't work, and sufficient depth of reporting that you can understand the system as it exists, and fails, so you can fix and address problems not seen from local testing.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-03 01:29 PM
Using Registry Editor, I find the folder 1.8.0_65 (with a sub folder: MSI) Double-click on JavaHome and get the Value data: C;\Program Files\Java\jre 1.8.0_65. Paste this in File Explorer and get the message, "Can't find...jre 1.8.0_65". That folder contains the STM32CubeMX.exe and related folders.
Any ideas on my next step?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-03 06:35 PM
Semi-colon looks dodgy
"C:\Program Files (x86)\Java\jre1.8.0_151" using this 32-bit version here
File Export the JavaSoft registry node and provide for ST to review
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-04 07:00 AM
Thanks. Yes that semi-colon was wrong but it was my typo -- I didn't cut & paste. The value data has a colon. Anyway, that path seems to be wrong -- it is the directory for the STM32Cube app. So, I did export the JavaSoft registry to a file; who do I send it to, or do I post here? Sorry, I'm new to this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-04 08:20 AM
You could attach it here, or in a PM to @Nawres GHARBI​ @Khouloud GARSI​
Hopefully someone will review/respond, or I will escalate the issue from my end.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-06 07:51 AM
I posted the file here and sent to Nawres. Now I see nothing here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-07 05:22 AM
Hello,
Your feedback has been raised internally to CubeMx for check.
We will come back to you soon with update.
Kind Regards,
Imen
Thanks
Imen