When I powered up my pc and tried to run the program I got a starting screen that quickly disappeared. This happened even after I reinstalled the program, anyone has had this problem and knows how to solve it?
I am experiencing the same problem using Windows 7. I updated my Java to version 1.8.241 and then installed the STM32CubeProgrammer software. Per previous posts, I examined the .installtioninformation file and found that JAVA_HOME points to the Program Files folder containing the newly installed version of Java. However, the problem persists. I did notice that one of the posts referred to the Java SDK which is not installed. This is very frustrating so any help would be appreciated.
I looked at of the other posts before posting the question. I verified that there are NO Java 9's installed in my system. In fact, I searched the entire C: drive to locate any java.exe files to be certain that the STM32CubeProgrammer software was finding the correct version of Java. Unfortunately, the installer for version 2.3 of the STM32CubeProgrammer does not provide any information about the specific version of Java needed. I did invoke the version command of the Java executable and it displayed the following:
I do not have any 32-bit versions of Java anywhere in my system. It is not clear to me that the installer would be looking for the 32-bit version of Java if it already detects the latest 64-bit version.
As a sanity check, I tried installing the STM32CubeProgrammer software on my Windows 10 laptop. (The laptap was virgin i.e. no previous versions of Java AND it has no STM32CubeIDE loaded either which means no STLDR files.) To my surprise ... it works!! This suggests that the problem may be related to the fact that the Windows 7 desktop may be contaminated as a result of having more than 100 applications installed. That said, it still not make sense that the programmer software won't execute properly on the desktop.
This guide is intended for Java and C++ teams. LabVIEW teams can skip to Installing LabVIEW for FRC (LabVIEW only). Python teams can skip to Python Installation Guide. Additionally, the below tutorial shows Windows 10, but the steps are identical for all operating systems. Notes differentiating operating systems will be shown.
Upgrading from earlier 2024 releases is easy: simply download and run the new installer and it will update your current installation. If you already have the 2024 WPILib vscode installed, it will detect it and you can simply click "next" for that installation step. After installation, vscode will prompt you when opening your robot project whether you want to upgrade it to this version. Note that using the installer is required to get the new version of desktop tools such as Shuffleboard. This release is compatible with both 2024_v2 releases of the RoboRIO image. Mac note: if upgrading from 2024.1.1, it is necessary to manually remove the 2024.1.1 version of AdvantageScope before running the installer in order for the new version to be installed.
System Requirements: WPILib requires 64-bit Windows 10 or 11, Ubuntu 22.04, or macOS 12 or higher. C++ teams should note that Visual Studio 2022 17.9 is required for desktop builds. Mac users will need to have the Xcode Command Line Tools installed before running the installer. This can be done by running xcode-select --install in the Terminal.
If you're returning from a previous season, check out what's new for 2024. You will need a new RoboRIO image for 2024; this is available via the FRC 2024 Game Tools. Follow the WPILib installation guide to install WPILib.
Other installed programs may associate with iso files and the mount option may not appear. If that software does not give the option to mount or extract the iso file, then follow the directions below.
For this release, macOS users will need to have the Xcode Command Line Tools installed before running the installer; we are working on removing this requirement in a future release. This can be done by running xcode-select --install in the Terminal.
You will notice two buttons, Install for this User and Install for all Users. Install for this User only installs it on the current user account, and does not require administrator privileges. However, Install for all Users installs the tools for all system accounts and will require administrator access. Install for all Users is not an option for macOS and Linux.
Selecting this option will bring up a prompt allowing you to select a pre-existing zip file of VS Code that has been downloaded by the installer previously. This option does not let you select an already installed copy of VS Code on your machine.
Visual Studio Code - The supported IDE for 2019 and later robot code development. The offline installer sets up a separate copy of VS Code for WPILib development, even if you already have VS Code on your machine. This is done because some of the settings that make the WPILib setup work may break existing workflows if you use VS Code for other projects.
Java JDK/JRE - A specific version of the Java JDK/JRE that is used to build Java robot code and to run any of the Java based Tools (Dashboards, etc.). This exists side by side with any existing JDK installs and does not overwrite the JAVA_HOME variable
In case the installer fails, please open an issue on the installer repository. A link is available here. The installer should give a message on the cause of the error, please include this in the description of your issue.
When you have installed a 64-bit LibreOffice, and 32-bit JRE, LibreOffice would not be able to find and use the JRE, no matter how hard you would try it. Take care that you download from the Java home page (www.java.com) the right architecture. In this case, LibreOffice (of reasonably fresh version) would try to be helpful in its "JRE Required" error message, telling you that it needs specific architecture (e.g., 64-bit) of JRE.
Launching Java Control Panel ("Configure Java" available in Windows Start menu), and clicking "View" button on "Java" tab, opens Java Runtime Environment Settings window with Architecture column allowing to see if installed instances are 32-bit (x86) or 64-bit (x86_64).
On macOS 10.10 and newer, please note that you need to install JDK, not JRE. You may find download links choosing JDK version on this page. Note that Apple M1 is an Arm 64 architecture.On macOS 10.09, neither JRE, nor JDK are found.LibreOffice releases available from Apple App Store don't include Java support at all, because apps distributed in the App Store are not allowed to depend on optional functionality like Java.
If the Java installation error arises with the online installer or with automatic updates enabled, try utilizing the alternative offline Java installer. The offline Java installer is often more reliable than the buggy online one for which a stable internet connection is required.
You can obtain that installation package by clicking the Windows Offline (64-bit) link on the Java download page. If you have a 32-bit Windows 10 platform, click the Windows Offline package link. Double-click the downloaded Java installation file to run the installer and select the Install option from there.
It might help to run the Java installer file with admin rights to ensure it has full system access rights. This can be done by right-clicking the Java installer file and selecting a Run as administrator context menu option.
A firewall can also feasibly cause issues for the online Java installer at least. So, temporarily disable Microsoft Defender Firewall or a third-party alternative installed before running the Java installer to eliminate that potential cause. Our how to turn off Microsoft Defender Firewall guide includes instructions for disabling that firewall.
A clean boot is a stripped-down Windows startup that excludes third-party apps and services. Setting a clean boot stops third-party apps and services automatically starting with Windows. Applying this resolution can potentially fix some Java installation errors because it prevents third-party background apps or services from conflicting with the Java installation process.
d3342ee215