Executable vi files in windows!

hi,
Is it possible to compile my aplication to executable file, to use directly in windows, without use labview run time, or LW7?. I only get to join all the files in *.dll
Can anybody tell me how?. I have labview 7.
thanks, regards jose.

> Yes, i want that my application run in other pc without install
> labview runtime. I assure to you, this program run in all pcs without
> install the lbrt or LV.
>
> Then, you say I only must to put the lbrt.dll in the directory. But
> Where i get the file?. Also I think before I must to convert the file
> dll(all my vis) to .exe, and i dont know, how can I pass from .dll
> to exe?.
There seems to be lots of confusion. LabVIEW VIs are not executables.
They are compiled code, sort of like a DLL that can be executed within
the LabVIEW environment, but not on their own.
You can build LabVIEW VIs into an EXE using the Application Builder.
This capability comes with the Professional edition and can be purchas
ed
separately.
In order to keep the size of the executable smaller, the executable
references the runtime DLL. The tool that build executables also builds
installers that can automatically install the runtime if it is needed.
If you build an EXE, the user can just double-click, they don't need to
launch the runtime and load a VI.
Greg McKasle

Similar Messages

  • Command to generate an executable report file in Windows XP 5.1.2600

    Is it possible to generate an executable report file in Window XP 5.1.2600 using the windows command line? If it is possible what is the command? The report is created in oracle reports builder 6.0.8.11.3 version. Thanks.

    rwcon60 userid=username/password@dbname batch=yes source=reports.rdf stype=rdffile dtype=repfile

  • Executing compiled file under windows

    Hi there,
    i got the following problem:
    i installed the jdk 1.5.0_06 on windows xp
    i did set environmental variables (Path, JAVA_HOME)
    i compiled a simple HelloWorld.java program
    no problems there, result was HelloWorld.class
    but when i want to start the whole thing the only thing i get is an exception.
    i tried:
    java HelloWorld.class
    java HelloWorld
    both tries resulted in:
    "Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld"
    i looked the exception up on java site, which brought me following result:
    "public class NoClassDefFoundError
    extends LinkageError
    Thrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
    The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found. "
    now im pretty new to java programing and wouldnt call myself a pro c/c++ programer either... so i dont have any clue what the problem is about the whole thing. would be very thankful for any hints.
    i add the java code of the helloworld program, maybe its helpful...:
    thnx in advance
    public class HelloWorld /* extends object */ {
         public static void main(String[] args) {
              System.out.println("Hello World!");
              int a, b, c;
              a = 17;
              b = 21;
              c= (a*a)+(b*b);
              for (int i=0; i<10; i++)
                   System.out.println(i);
         } //main
    } // HelloWorld

    Simple classpath issue. Research what the "classpath" is for. In the meantime, this simple example would be fixed like this:
    java -classpath . HelloWorld

  • Executing jar file in windows?

    Hi All,
    I have a jar file (built by Netbeans - if thats of any relevence) that I tried to run in windows, but I get the following error message:
    could not find main class, program will exit!Even though the manifest file in the jar does specify the main class.
    Main-Class: package.MyMainClassThe main class is valid and the jar works fine in linux.
    Does this have anything to do with the fact the manifest text file is in unix format? If not, does anyone one have any ideas whats wrong?
    Thanks!

    LeWalrus wrote:
    Yeah sorry, that's my fault for the confusion.
    in the OP i was just stating the general case, they weren't the actual names. Then I switched to giving the actual names. My bad!
    Basically, The main class specified by Main-Class in the manifest is the main class of the application. The jar file is the only thing referenced in the Class-Path!I don't think your jar file contains the main class or at least it is not in the correct directory. Expand the jar with the jar command (or winzip) to look at the content and make sure the class files are in directories consistent with the package.

  • How to execute sql files with windows path ?

    Hi , here's my stupid question :
    I have my parent SQL script say A.sql in directory C:\program files\my files\A.sql
    A.sql has calls to multiple sql files like this
    @@1.sql;
    @@2.sql;
    When I call A.sql using sqlplus as:
    sqlplus <username> <connection_string> @"C:\program files\my files\A.sql"
    A.sql gets executed but then while calling "1.sql" it fails with the error
    SP2-0310: unable to open file "C:\program.sql"
    This is happening because of the space, how can this be handled. thx in advance :)
    Regards,
    Neuron

    my A.sql is:
    @@1.sql
    @@2.sql
    1.sql and 2.sql are in the same directory as A.sql.
    sqlplus <username> <connection_string> @"C:\program files\my files\A.sql"
    VG2,
    Yes. Specify the entire path/filename and put double quotes around itA.sql has the double quotes around it, however what additional things can be done so that 1.sql and 2.sql which are present in same directory as A.sql also runs.
    Ashish,
    Yes the assumption is correct. Although when I cd to this directory then this issue won't come for sure.
    But the requirement is you can't 'cd' to the directory and want to execute with complete path.
    There is no issues in Solaris as the space is not allowed.

  • Executing Command File in Windows NT

    Hi,
    We are running a BAT file using Runtime.getRuntime().exec
    The BAT file copies files to VMS and Unix servers
    using plain COPY command (target identified by UNC)
    and "rsync" respectively.
    The problem is that if one of the server is not available,
    the command terminates immediately.
    What would make the command file continue running
    even if one of the targets is not reachable.
    TIA

    The BAT file runs fine when run stand-alone.
    It does spit error message(s) when and if it cannot reach target.
    However, it continues with next statement.
    It's only when the command file is run with
    Runtime.getRuntime().exec it quits after first error.
    Thanks

  • A few questions about executable Jar files

    Hi,
    I have to make an a tutorial system and was going to make it using applets embedded in webpages. This approach causes certain limitations so decided to make it using JPanels that open up as windows on the users computer.
    I intend on compressing all the files (java, images, sound etc) within a Jar file and would like a few questions answering.
    1. How would I make an executable Jar file that when clicked on will load the program on the users computer. Is there some software to do it for me or do I have to do it from the command prompt?
    2. Is using a Jar file the best approach or is there a better way to get my java program to run on other peoples pc's
    3. If I create an executable Jar file on windows xp, will it run on a Linux machine?
    Cheers

    1. How would I make an executable Jar file that when clicked on will load the program on the users computer. Is there some software to do it for me or do I have to do it from the command prompt?The SDK contains all the tools you need. Use the jar command. To make your jar executable, include a manifest file that references your main class.
    2. Is using a Jar file the best approach or is there a better way to get my java program to run on other peoples pc'sA jar will work just fine.
    3. If I create an executable Jar file on windows xp, will it run on a Linux machine?Yes.

  • Executing JAR Files Windows 98 and XP

    Hey can someone please help me.
    I made an executable jar file the extract contents of a jar file. In windows XP it runs fine, however in Widnows 98 it does not, has anyone come across this problem? Any info would be greatly appreciated.
    Thanks

    Well When I try, On a windows XP machine it shows the progress bar I made, and extracts all the files to the c drive. On Windows 98 It shows the progress bar but will not extract the files to the c: drive folder.
    The program simply gets all the files that are within the jar file, and puts their names in a Vector, then takes the names from the Vector and Extrats the ones that need to be extracted.
    Any other Ideas, I know this sounds very wacky thats why I am in need of help.
    Thanks for the ideas.

  • Executing jar file on command line [windows]

    Hi,
    I am trying to run .jar file "senthil.jar" . It catures systems screenshot.
    http://sensaran.wordpress.com/2010/06/04/screen-shot-utility-using-air-2-0/
    I am using it in AIR application. I want to execute this file from  command line. I am not sure how to pass command line arguments.
    Currently i am trying to do it like :  java -jar senthil.jar
    I need to provide a parameter as "Print Screen"
    Its corresponding Flex Code is :
                var arg:Vector.<String> = new Vector.<String>;
                arg.push("-jar");
                arg.push(File.applicationDirectory.resolvePath("senthil.jar").nativePath);
                 var file:File = new File();
                file = file.resolvePath(javaPath.replace(/\//g, File.separator));
                var npInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
                npInfo.executable = file;
                npInfo.arguments = arg;
                nativeProcess = new NativeProcess();
                nativeProcess.start(npInfo);
                nativeProcess.standardInput.writeMultiByte("Print Screen" + "\n", "utf-8");
    Thanks

    Did you give the -jar option with javaw? And the "%1"? See the file associations of some other extensions for example of how to do this
    For example on my machine,
    W:\>assoc .mp3
    .mp3=Winamp.File
    W:\>ftype Winamp.File
    Winamp.File="C:\Program Files\Winamp\Winamp.exe" "%1"Now I can
    start song.mp3Or doubleclick on mp3 file in explorer to open it in winamp.

  • Executing batch file from Java stored procedure hang

    Dears,
    I'm using the following code to execute batch file from Java Stored procedure, which is working fine from Java IDE JDeveloper 10.1.3.4.
    public static String runFile(String drive)
    String result = "";
    String content = "echo off\n" + "vol " + drive + ": | find /i \"Serial Number is\"";
    try {
    File directory = new File(drive + ":");
    File file = File.createTempFile("bb1", ".bat", directory);
    file.deleteOnExit();
    FileWriter fw = new java.io.FileWriter(file);
    fw.write(content);
    fw.close();
    // The next line is the command causing the problem
    Process p = Runtime.getRuntime().exec("cmd.exe /c " + file.getPath());
    BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String line;
    while ((line = input.readLine()) != null)
    result += line;
    input.close();
    file.delete();
    result = result.substring( result.lastIndexOf( ' ' )).trim();
    } catch (Exception e) {
    e.printStackTrace();
    result = e.getClass().getName() + " : " + e.getMessage();
    return result;
    The above code is used in getting the volume of a drive on windows, something like "80EC-C230"
    I gave the SYSTEM schema the required privilege to execute the code.
    EXEC DBMS_JAVA.grant_permission('SYSTEM', 'java.io.FilePermission', '&lt;&lt;ALL FILES&gt;&gt;', 'read ,write, execute, delete');
    EXEC DBMS_JAVA.grant_permission('SYSTEM', 'SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '');
    EXEC DBMS_JAVA.grant_permission('SYSTEM', 'SYS:java.lang.RuntimePermission', 'readFileDescriptor', '');
    GRANT JAVAUSERPRIV TO SYSTEM;
    I have used the following to load the class in Oracle 9ir2 DB:
    loadjava -u [system/******@orcl|mailto:system/******@orcl] -v -resolve C:\Server\src\net\dev\Util.java
    CREATE FUNCTION A1(drive IN VARCHAR2) RETURN VARCHAR2 AS LANGUAGE JAVA NAME 'net.dev.Util.a1(java.lang.String) return java.lang.String';
    variable serial1 varchar2(1000);
    call A1( 'C' ) into :serial1;
    The problem that it hangs when I execute the call to the function (I have indicated the line causing the problem in a comment in the code).
    I have seen similar problems on other forums, but no solution posted
    [http://oracle.ittoolbox.com/groups/technical-functional/oracle-jdeveloper-l/run-an-exe-file-using-oracle-database-trigger-1567662]
    I have posted this in JDeveloper forum ([t-853821]) but suggested to post for forum in DB.
    Can anyne help?

    Dear Peter,
    You are totally right, I got this as mistake copy paste. I'm just having a Java utility for running external files outside Oracle DB, this is the method runFile()
    I'm passing it the content of script and names of file to be created on the fly and executed then deleted, sorry for the mistake in creating caller function.
    The main point, how I claim that the line in code where creating external process is the problem. I have tried the code with commenting this line and it was working ok, I made this to make sure of the permission required that I need to give to the schema passing security permission problems.
    The function script is running perfect if I'm executing vbs script outside Oracle using something like "cscript //NoLogo aaa1.vbs", but when I use the command line the call just never returns to me "cmd.exe /c bb1.bat".
    where content of bb1.bat as follows:
    echo off
    vol C: | find /i "Serial Number is"
    The above batch file just get the serial number of hard drive assigned when windows formatted HD.
    Same code runs outside Oracle just fine, but inside Oracle doesn't return if I exectued the following:
    variable serial1 varchar2(1000);
    call A1( 'C' ) into :serial1;
    Never returns
    Thanks for tracing teh issue to that details ;) hope you coul help.

  • Security restriction while executing Flash file

    Hi,
    I am a beginer with Flash and I developed some sample Flash
    files(swf) using Flash MX 2004. The files were able to run with IE
    with out any issue on my XP machine which is having IE 6. The same
    files when I tried with IE 7 on Windows Vista, it is not letting me
    to run initially. It says ".... IE has restricted this web page
    from running scripts or Activex controlls that could access your
    computer....". Though I can right click and click 'Allow Blocked
    Content' to execute the file, I am wondering whether I can do some
    setting on the file itself to make it trusted or something like
    that. I can also change the IE settings not to restrict the file.
    But I think it won't be a general solution.
    I wanted embedd this flah file on an html page and I want to
    make sure that the file will execute with out the security warning
    or change in the IE settings.
    Most of the internet sites that I used access has flash
    content and my IE does not used to show any warning. How can I
    achieve the same with my flash file?
    Thanks in advance
    Seb

    If you embed the swf in the HTML it will not display that
    warning. The warning is something that IE displays when you open
    the SWF directly.

  • Why -jar option used to install a software which is in executable jar file?

    Hi all,
    i have a query, i have a generic installer which is used to install the oracle weblogic 10.3 software in unix platform(i.e., which is in .jar extension) which is executable jar file.
    To install this software which have to use -jar option to install
    java -jar net_server<version>_generic.jar
    my question that why we use -jar option to install or to extract the software
    can any one clarify my doubt...
    thanks in advance
    abhi
    Edited by: sumanth_abhi on Jan 27, 2009 11:50 PM

    According to the Jar Guide (http://java.sun.com/j2se/1.4.2/docs/guide/jar/jarGuide.html)
    Executable Jar Files
    On Microsoft Windows systems, the Java 2 Runtime Environment's installation program will register a default association for Jar files so that double-clicking a Jar file on the desktop will automatically run it with javaw -jar. Dependent extensions bundled with the application will also be loaded automatically. This feature makes the end-user runtime environment easier to use on Microsoft Windows systems.
    The Solaris 2.6 kernel has already been extended to recognize the special "magic" number that identifies a Jar file, and to invoke java -jar on such a Jar file as if it were a native Solaris executable. A application packaged in a Jar file can thus be executed directly from the command line or by clicking an icon on the CDE desktop.
    Despite that every JAR file can be executed as a program if and only if the META-INF/Manifest.mf contains the Main-Class tag. This done through java -jar jarfile.jar
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Windows Overlay Filter (wof.sys), file in Windows 8.1, is associated with BSOD in Windows 10 bld 9879

    BSOD in Win 10 build 9879 is with bug check 0x1e. Wof.sys is a file that is in Win 8.1. HP g7-1310us (refurbished) laptop has been having BSOD's even when it had Win 7 installed. Checked RAM, hardware, and SATA disk but there is no specific lead to why BSOD's
    happen routinely. Interestingly, there were no problems while this laptop was running Ubuntu 14. Any details on what Windows Overlay Filter driver named wof.sys does? Also, could this error be caused by faulty CPU? It has an Intel i3-2350M CPU @2.3Ghz, x64
    based processor.
    ==================================================
    Dump File         : 121114-22984-01.dmp
    Crash Time        : 12/11/2014 5:23:05 PM
    Bug Check String  : KMODE_EXCEPTION_NOT_HANDLED
    Bug Check Code    : 0x0000001e
    Parameter 1       : ffffffff`c0000005
    Parameter 2       : 00000000`00000000
    Parameter 3       : 00000000`00000008
    Parameter 4       : 00000000`00000000
    Caused By Driver  : Wof.sys
    Caused By Address : Wof.sys+1e40
    File Description  : Windows Overlay Filter
    Product Name      : Microsoft® Windows® Operating System
    Company           : Microsoft Corporation
    File Version      : 6.4.9879.0 (fbl_release.141103-1722)
    Processor         : x64
    Crash Address     : ntoskrnl.exe+161109
    Stack Address 1   :
    Stack Address 2   :
    Stack Address 3   :
    Computer Name     :
    Full Path         : C:\Windows\Minidump\121114-22984-01.dmp
    Processors Count  : 4
    Major Version     : 15
    Minor Version     : 9879
    Dump File Size    : 282,776
    Dump File Time    : 12/11/2014 5:26:16 PM
    ==================================================
    Gilda Sanchez

    Here is the CPU data:
    Intel(R) Processor Identification Utility
    Version: 5.01.20140910
    Time Stamp: 2014/12/11 19:28:20
    Operating System: 6.2-9200-
    Number of processors in system: 1
    Current processor: #1
    Active cores per processor: 2
    Disabled cores per processor: 0
    Processor Name: Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz
    Type: 0
    Family: 6
    Model: 2A
    Stepping: 7
    Revision: 29
    Maximum CPUID Level: D
    L1 Instruction Cache: 2 x 32 KB
    L1 Data Cache: 2 x 32 KB
    L2 Cache: 2 x 256 KB
    L3 Cache: 3 MB
    Packaging: µPGA/BGA
    Enhanced Intel SpeedStep(R) Technology: Yes
    MMX(TM): Yes
    Intel(R) SSE: Yes
    Intel(R) SSE2: Yes
    Intel(R) SSE3: Yes
    Intel(R) SSE4: Yes
    Intel(R) AES-NI: No
    Intel(R) AVX: Yes
    Enhanced Halt State: Yes
    Execute Disable Bit: Yes
    Gilda Sanchez

  • WebUtil within Oracle Forms (Find File - Open File Dialog Window)

    I have successfully configured WebUtil and I can successfully execute the functions. I have been working with PKG_FIND_FILE.Selection function (which displays an Open File Dialog Window).
    I cannot figure out why the following is occurring:
    When I call the above function, the system typically displays an older dialog window (light blue / gray) window. For a brief time, we were able to bring up the "Windows looking" dialog window. I don't know what we changed in the configuration, but it is now back to the older looking light blue/gray dialog window.
    Any ideas on where in the configuration, this would cause the dialog window to switch its "look and feel"
    Thanks,
    Mike

    File dialog look has been changed because of the java version difference.
    In Java 1.4 the look is different and 1.5 shows another way.
    So check which java plugin and the version of the java
    ( go to control panel->settings -> click on java and check on version)
    Rajesh ALex

  • Add classpath in an executable jar file

    an executable jar file contains a manifest file with entry main-class: MyApplicationClass.
    if we double click the jar file on Windows OS, main class is loaded.
    my question is:
    if classes in he jar file use classpaths which are not default, how to add those classpaths into manifest file to tell classes to use those classpaths?
    it is similar to command line:
    java -classpath c;\mypackage; .......; MyApplicationClass

    Thanks, i will try soon.
    here is another Q.
    if i need to add tools.jar (JDK lib) as classpath in manifest file, it is as following in my PC
    d:\install\java\jdk14101\lib\tools.jar.
    but my customers install JDK in different path (should be considered as unknown), how to add it as entry Class-path for all customers?

Maybe you are looking for

  • ITunes says the music i purchased is downloaded, won't show up on my computer anywhere, won't let me redownload?

    I just restore my ipod touch following the version 5 update...and now all the music and half of the apps are gone.  I restored the backup, redownloaded music...but the music is nowhere on my computer, and now the download button in the store won't le

  • Networks related to WBS

    Is their any function module or BAPI to give details of networks related to particular WBS. Thanks & Regards arkhajnc

  • Import material - Vendor returned(Indian scenario)

    Dear all, I have searched forum for returning imported material with no solution discussed in any of threads. It would be nice if any one writes a blog for above subject in indian scenario it will be useful for everyone. What will be standard procedu

  • Is there a charge for outside line repair?

    My dsl line was cut at the pole and will have to be re-run to the house. Will I be charged for this? I had workmen out at the house pruning trees, and they accidently cut the line while working. The other thing is because I only have a dry loop and n

  • Transport Protocol

    Hello all, I am implementing a transport protocol that sends data from one source to another over multiple paths. The protocol is to work as follows: When the protocol receives data, the data will be fragmented into TCP segments. Then TCP connections