LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview generated executable is not able to run the application trigger using cmd

Hi

 

We created a applicaiton in Labivew and used cmdline to call one java application.  In normal development mode it is working fine and with a button click we are able trigger the command line java application. 

 

We tried creating a final executable of Labview application and copied the  java class file and also installed JDK on the client machine. When we try to run this executable and the cmd line java application is not getting triggered.

 

We tried with simple c compiler generated exe from cmd line, but the behavior is same.

 

Can someone help how to create a Labview executable with the cmd line applicaiton working from the executable.

 

Regards

 

Kris

0 Kudos
Message 1 of 3
(2,877 Views)

Hi Kris,

 

what's the path you are trying to call your JAVA file from in the executable?

 

Use a OneButtonDialog to show the path…

 

In case that's the problem: Use ApplicationDir as base path to find your JAVA file!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,855 Views)
What errors are you getting?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 3
(2,852 Views)