Error When Running Java Runtime in LabVIEW

Updated Mar 23, 2023

Reported In

Software

  • LabVIEW

Other

Java Runtime Environment (JRE)

Issue Details

When I run third party Java Runtime in LabVIEW I am getting the following error message in command prompt:

'πš“πšŠπšŸπšŠ' πš’πšœ πš—πš˜πš 𝚊 πš›πšŽπšŒπš˜πšπš—πš’πš£πšŽπš 𝚊𝚜 πšŠπš— πš’πš—πšπšŽπš›πš—πšŠπš• πš˜πš› πšŽπš‘πšπšŽπš›πš—πšŠπš• πšŒπš˜πš–πš–πšŠπš—πš, πš˜πš™πšŽπš›πšŠπš‹πš•πšŽ πš™πš›πš˜πšπš›πšŠπš– πš˜πš› πš‹πšŠπšπšŒπš‘ πšπš’πš•πšŽ.

Solution

This problem can occur because Java Runtime Environment (JRE) is not able to access the runtime program and execute it. Please refer to some steps below to resolve this issue.
 
  • Try re-installing Java. If Java is not installed, please download Java from this link. One way to check if Java is installed properly is to see if Java icons populate on Java related programs.
  • Close LabVIEW and re-launch LabVIEW as an administrator. 
  • JRE needs administrator privilege to access file directories while executing. Therefore, please save the runtime program and all related files at 𝙲:\ directory. This will prompt the user to provide administrator privilege before the runtime program execute.
  • Add Java Development Kit (JDK) permanently to windows. This can be done by launching Edit the System Environment Variables and proceed to Environment Variables. Then, under User Variables for <username>, click on Path and then click Edit. Select New and add 𝙲:\π™Ώπš›πš˜πšπš›πšŠπš– π™΅πš’πš•πšŽπšœ\π™ΉπšŠπšŸπšŠ\πš“πš›πšŽπŸ·.𝟾.0_𝟹𝟹\πš‹πš’πš— directory. Please refer the picture below for more info.Java_Environment Variable 1.png
Tariff Impact Update Learn more

Was this information helpful?

Yes

No