Find the path to the java program window in LabVIEW

I am writing some software that depends on various java installed files properly in bin and lib/ext files files from the latest version of the java runtime installed.  I would like to be able to check if these files are in place and give an error message in my LabVIEW code if they are not.  However, the path to these files may differ on different machines depending on the version of java installed and the version of windows being used (for example C:\Program Files (x 86) \Java\jre7 vs.)  C:\Program Files\Java\jre6).  I use the 32-bit version of LabVIEW and the system Exec.vi to all my calls to java.  Does anyone know of a way directly from LabVIEW or command in Windows, I could use the system of Exec.vi to find these paths?  Thank you.

In case anyone else has this problem:

Use the LabVIEW functions in connectivity > access to the Windows registry (thanks Yamaeda)

Access "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" (thanks TiTou)

You can specify if you want to only 32-bit or 64-bit with Key.vi register open (no need to deal with the Wow6432Node in the Windows registry, LabVIEW manages)

Tags: NI Software

Similar Questions

  • where can I find the download for windows vista Spider Solitaire

    where can I find the download for windows vista Spider Solitaire

    Hello

    Thanks for posting in the Microsoft Community Forum, please be assured that we would do our best to help you.

    Windows like Spider solitaire games comes with Windows Vista. To install the Spider solitaire, you need a Windows Vista disc. To install lonely Spider see the following steps.

    a. to install solitaire spider, click on the Start button

    b. click Control Panel, click programs and then click turn on turn Windows features on or off.

    c. in the Windows features dialog box, select the Games check box, and then click OK. Note: If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    Read the following article which provides more clarity on the games in Windows Vista.

    Learn more about the games in Windows Vista
    http://Windows.Microsoft.com/en-us/Windows-Vista/learn-about-Windows-games

    If you have any questions do not hesitate to answer, we would be happy to help.

  • How can I find the appropriate program I should use to open a file downloaded from the internet?

    I saved an acknowledgement of the internet to a file on my computer so I could print later, now when I try to open my computer asks me what program to use.  Any program I try it says that it is not able to open the file. How to find the right program to open my file?

    Hi Grace,

    I understand that you are facing problems with opening a file in your computer.

    We need more information to help you in a better way.

    1. What is the file extension of the file you're trying to open?
    2 is the issue limited to this file?
    3. are you able to open the file in Internet Explorer?

    Your computer would not program to open that particular file format.

    You can see the following articles for reference.

    Open a file or folder


    http://Windows.Microsoft.com/en-in/Windows-Vista/open-a-file-or-folder

    Change the program that opens a type of file


    http://Windows.Microsoft.com/en-in/Windows-Vista/change-the-program-that-opens-a-type-of-file

    Please respond with the required information and we will be happy to help you.

  • cannot find the folder "program data".

    original title: New Data - Program for Windows 7

    I just bought a new computer with windows 7.  I am trying to install programs, for example, installing a program to C:\program data\Quantum.  I go to 'my computer' and can not find the folder "program data".  Is it possible that windows is hide it?

    Sandy

    Hi Sandy

    The program data file replaced the all users in previous versions of Windows.

    Open Windows Explorer. Click on organize / folders and Search Options / View tab.

    Select the option Show hidden files, folders and drives, and then click apply/OK.

    Navigate to C:\Users. In this folder, you will see a folder named all users with a shortcut arrow or the layering of padlock. It is a symlink pointing to the ProgramData folder. Right-click on the folder and select properties to see this data.

    Your programs are not currently installed just for the ProgramData folder. This folder is used to allow any user (for all users) access to an installed program that allows any user to operate this program.

    Many times, when you install a program, you will see an option to install the program for the current user only, or to install for all users.

    Another way, you can see it is to click on the Start button, right-click on all programs, and select open all users. This will open Windows Explorer to the

    C:\ProgramData\Microsoft\Windows\Start Menu folder.

    Let us know if you have any other questions.

    Concerning

  • Find the right program to display help

    I just downloaded just Basic for my laptop windows 7... but when I try to open the tutorial for it, it says that the help for this program was created in Windows Help format, which depends on a feature that is not included in this version of Windows. However, you can download a program that will allow you to view help created in the Windows Help format.

    I need help to find the appropriate program to display help please.

    Not really sure what category to put it in both. Laughing out loud

    I just downloaded just Basic for my laptop windows 7... but when I try to open the tutorial for it, it says that the help for this program was created in Windows Help format, which depends on a feature that is not included in this version of Windows. However, you can download a program that will allow you to view help created in the Windows Help format.

    I need help to find the appropriate program to display help please.

    Not really sure what category to put it in both. Laughing out loud

    Hello

    The help format was changed starting with Windows Vista.

    To display older help files, you need to install the update for help.

    Go to the next article.

    I can't open the help that was created in Windows Help format (WinHlp32.exe):

    http://support.Microsoft.com/kb/917607/en-us

    Read the article and download/install the Windows Help program (WinHlp32.exe) for Windows 7 update.

    Concerning

  • I installed kaspersky IPSec, but my centre of action always warn me to find the antivirus program

    I am using windows 7 Home Basic 64-bit last two days my pc tell me to find the antivirus program, but I installed kapersky internet secruity 2012 please help me

    Hello

    Here is a website on how to solve the problem.

    http://Windows.Microsoft.com/en-us/Windows7/use-antivirus-software-that-Windows-doesn ' t - search

  • Where can I find the product key Windows 8 in my laptop?

    Original title: product key

    Where can I find the product key Windows 8 in my laptop? It is a Samsung NP500P4C-S02US

    Hi, you can find it using a program that can be downloaded on http://www.magicaljellybean.com/keyfinder/

    He will find the product key for you
    This is a photo that describe where it is in the program that I have obtained from this website http://theunlockr.com/2013/04/23/how-to-find-your-windows-8-product-key/
    you visit this site which allows me to find a mine.if you found this useful mark as an answer.
  • Satellite A135-S2276 - cannot find the drivers for Windows XP

    Hello! I can not find the drivers for windows XP for this laptop. -Does anyone know where I can find it?

    Hi stalker (what crazy nic)

    Satellite A135 is unknown to me, but it seems that the American model.
    Did you look on the Web from Toshiba site we?

    Please visit this link:
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/Su/su_sc_home.jsp

    It s a page download driver Toshiba us.

  • Unable to find the Setup program after the download and installation...

    I downloaded the 1 'blue button' this: http://www.microsoft.com/windows/virtual-pc/download.aspx?runGenuineCheck=true&system=9&lang=8&buttonClicked=winVirtualPC
    And the 2nd, but these 2 are the same, according to my computer...
    My computer downloaded these links and install too, but I can't find the "setup" for Windows XP.
    I followed all the steps, help me!

    Go to the site, once again, run the update, it will say that the validation is successful and brings you to the next page where windows xp mode was going to start downloading.   If this post answers your question, click mark as answer .

  • How can I find the MAC for Windows 7 Starter Edition address?

    How can I find the MAC for Windows 7 Starter Edition address?

    You use the same method as for all other versions of Windows:
    1. click on start, then type the three letters cmd into the search box and press ENTER.
    2. Enter the following command and press ENTER:

    ipconfig/all | more

    Search for the word "physical".

    Here's an alternative:
    1. click on start, then type the three letters cmd into the search box and press ENTER.
    2. Enter the following command and press ENTER:

    ipconfig/all > "% UserProfile%\Desktop\IP.txt".

    You can now double-click the IP.txt file to your desktop and review at your leisure.

  • where can I find the driver of Windows 8 for mobile phone Pantech P6030?

    Where can I find the driver of Windows 8 for mobile phone Pantech P6030?

    Currently, there is no Windows 8 driver for mobile phone Pantech Renue P6030.  However, I download pictures from a Pantech Renue by connecting the mobile phone to a computer with Windows 8.  On the phone screen a menu popped up.  I chose mass storage link that connected to the computer, File Explorer.  From there, I did some limited tasks which enabled me to copy the images on my cloud.  Not all features are on the Explorer of files to allow downloading of all the pictures, but accomplished most of the tasks I wanted to finish.

  • Having trouble finding the Java certification path pattern I've seen before

    I searched for several minutes in the field of Oracle certification for a diagram I've seen before. This is a diagram that represents most (if not all) of the Java certifications in a pile of the CERT starting upwards through the advances and the paths to go from the first to the last.

    Can someone refer me to the exact link where is this diagram? I saw him in the past, but I can't find it now...

    This scheme is not updated to new Java certifications and is no longer available. As mentioned above, you can view a list of the Java Certifications available on our Web site. Let us know if you have specific certification questions Java.

    Kind regards
    Brandye Barrington
    Certification Forum Moderator

  • Modeler data SQL cannot find the java sdk

    Hello

    I want to install 4.0.3 - 853 on windows xp 32-bit.

    In the first inning, message "could not find a java sdk SE way...» »

    I had already installed first jre 1.7.0_45 - as indicated on the installation notes page that produces this error message.

    After reading other peoples problems I replaced it with the jdk 1.7.0_45 because the request for enforcement is the path to the java JDK home.

    Still get the same message as above.

    I tried to change the SetJavaHome in datamodeler.conf, but that didn't work or the other.

    I tried pointing the Launcher to d:\oracle\java\jdk1.7.0_45 as d:\oracle\java\jdk1.7.0_45\bin and d:\oracle\java\jdk1.7.0_45\bin\java.exe all to nothing does not.

    On a light off the coast of the chance - like cleaning the windshield when the car won't start - I installed SQL Developer 4.0.3.16.84 in case the treatment was slightly different.

    Same result

    Very frustrating every previous version of the developer and grouped data with java maker has just installed in a few minutes.

    All of the inspiring thoughts / solutions would be extremely appreciated

    Thank you

    Stem

    Ok

    It seems that - maybe - jdk1.7.0_71 high is needed and jdk1.7.0_45 is not acceptable whatever the installation notes which stipulate that jre 1.7 is suitable. Mind the same version of SQLDeveloper says he wants to 1.8, but seems to work very well with 7u71

    I had stayed in 7u45 to minimize disruptions to the installation of 10g of shapes on the same machine which of course do not now

    It's looking no doubt easier to get this working with 7u71 than the other way around.

    Stem

  • can not find the java virtual machine

    I got an error message when you try to compile. At one point, he worked, but maybe I messed up one of the environment variables.

    C:\Documents and Settings\jm > mxmlc
    Error: could not find a JVM.

    To answer my own question and save people future pain. Under Windows, when Java is unable to find the virtual machine, you must do

    Start > Control Panel > system > advanced > Environment Variables

    and implement the variable user "java_home" to the JDK with oblique lines as follows:

    C:/Program Files/Java/jdk1.6.0_06

    You don't put ' / bin '. If you put Java into a different folder, you must change the java_home accordingly. Now I can move on with life.

  • Someone at - he finds the solution for windows installer keep popping up?

    This has nothing to do with any application.  Error 1706.  Help!

    Hello

    1. have you made software changes recently?

    Method 1.
    It seems that there is a background app that launches the installer of Windows. We can perform a boot minimum troubleshooting to find the same thing. You need to perform a clean boot to find the program that is causing and then disable or remove.
    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353/en-us
    Note: When you are finished troubleshooting, follow the steps as explained in the article to reset the computer to start as usual.

    Method 2.
    Also, I recommend reregister you the Installer engine.
    Here's how:
    a. Click Start, click Accessories and then click command prompt.
    b. at the command prompt, type the following and press ENTER after each line:
     
    MSIExec /Unregister
     
    MSIExec/regserver

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for

  • Flash no longer works and blocking firefox. I have fast dial and don't want to lose it so what can I do to solve this problem?

    Any site or what I do it will come to the top randomly and freeze firefox then finally a box appears and says Flash is busy or not responding not to continue or stop the plugin. Naturally, I stop plugin. I always install the latest versions of flash

  • Satellite U200 - 181 built-in HDD ERROR

    "Toshiba Satellite U200-181", I bought 2 weeks ago. Recently (2-3 days ago) I have problem with built-in HARD drive. So the problem is that sometimes I get the "Built-in HARD drive ERROR" message when starting the laptop. This integrated "Disk ERROR"

  • Satellite X 200-252 and Vista mixer problem

    Hello My Satellite X 200-252 runs under Vista Home Premium operating system. I have a strange problem with sound engineer. After (I think) some security patches applied my vista has ceased to recognize the audio device.The icon in the task bar on the

  • Updates will not configure Win 7 64 bit

    Windows Update will download updates of Win 7 will not configure them. After the reboot it will configure at 15% and then I get an error message that says: "failed to configure updates. To eat.  Windows 7 64 bit I sent a support email, but they canno

  • Restoration of hijacked router (?)

    Hello We have a wireless g 2.4 (model wrt 54g) router that was hijacked. When we put in place we never password protected (I know) but rather always unplugged after each use. We have no files shared (for only a good thing). now it seems that someone