Tasksequence fail in Step Use Tool Kit Package

Hello
I have a Tasksequence where I Use the Step "Use Toolkit Package". When I run this Tasksequence on a x86 System then I have no errors. When I run the same Tasksequence on a x64 System this Step fail with the following Error in smstslog.
DeploymentType = REFRESH InstallSoftware 14.12.2012 14:44:56 6052 (0x17A4)
Phase =  InstallSoftware 14.12.2012 14:44:56 6052 (0x17A4)
Property OSDStartTime is now = 2012-12-14 13:44:56Z InstallSoftware 14.12.2012 14:44:56 6052 (0x17A4)
ZTISCCM processing completed successfully. InstallSoftware 14.12.2012 14:44:56 6052 (0x17A4)
Process completed with exit code 3221225477 InstallSoftware 14.12.2012 14:44:57 6052 (0x17A4)
Command line returned 3221225477 InstallSoftware 14.12.2012 14:44:57 6052 (0x17A4)
Process completed with exit code 3221225477 TSManager 14.12.2012 14:44:57 2844 (0x0B1C)
!--------------------------------------------------------------------------------------------! TSManager 14.12.2012 14:44:57 2844 (0x0B1C)
Failed to run the action: Use Toolkit Package.
Unknown error (Error: C0000005; Source: Unknown) TSManager 14.12.2012 14:44:57 2844 (0x0B1C)
Set authenticator in transport TSManager 14.12.2012 14:44:57 2844 (0x0B1C)
Set a global environment variable _SMSTSLastActionRetCode=-1073741819 TSManager 14.12.2012 14:44:57 2844 (0x0B1C)
Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 14.12.2012 14:44:57 2844 (0x0B1C)
Clear local default environment TSManager 14.12.2012 14:44:57 2844 (0x0B1C)
Let the parent group (Run Wizard) decides whether to continue execution TSManager 14.12.2012 14:44:57 2844 (0x0B1C)
Let the parent group (Main) decide whether to continue execution TSManager 14.12.2012 14:44:57 2844 (0x0B1C)
The execution of the group (Main) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows) TSManager 14.12.2012 14:44:57 2844 (0x0B1C)
Failed to run the last action: Use Toolkit Package. Execution of task sequence failed.
Unknown error (Error: C0000005; Source: Unknown) TSManager 14.12.2012 14:44:57 2844 (0x0B1C)
Set authenticator in transport TSManager 14.12.2012 14:44:57 2844 (0x0B1C)
Andreas

I have make additional tests and have seen that the Output on a x64 System is not the same as on a x86 system
Is the a cinfigfile for this Action that is different for x64 and x86?
====================
x64
====================
The task sequence execution engine failed executing the action (Use Toolkit Package) in the group (Run Wizard) with the error code 3221225477
Action output: uence\WDPackage\Scripts
ScriptRoot = C:\_SMSTaskSequence\WDPackage\Scripts
Property DeployRoot is now = C:\_SMSTaskSequence\WDPackage
DeployRoot = C:\_SMSTaskSequence\WDPackage
Property ToolRoot is now = C:\_SMSTaskSequence\WDPackage\Tools\X64
ToolRoot = C:\_SMSTaskSequence\WDPackage\Tools\X64
Property ResourceRoot is now = C:\_SMSTaskSequence\WDPackage
ResourceRoot = C:\_SMSTaskSequence\WDPackage
Property BDDPackageID is now =
BDDPackageID =
Local
RootPath = C:\MININT
LogPath = C:\MININT\SMSOSD\OSDLOGS
Property
DeploymentMethod is now = SCCM
DeploymentMethod = SCCM
Property DeploymentType is now = REFRESH
If there is a drive letter defined, make sure we clear it now so we can *force* recalcutation.
Property OSDTargetDriveCache is now = DIRTY
TargetOS is the current SystemDrive
DeploymentType = REFRESH
Phase =
Property OSDStartTime is now = 2012-12-17 13:24:58Z
ZTISCCM processing completed successfully.
Process completed with exit code 3221225477
Command line returned 3221225477. The operating system reported error 2147942402: The system cannot find the file specified.
===============
x86
===============
The task sequence execution engine successfully completed the action (Use Toolkit Package) in the group (Run Wizard) with exit code 0
Action output: Property ScriptRoot is now = D:\_SMSTaskSequence\Packages\VES00013\Scripts
ScriptRoot = D:\_SMSTaskSequence\Packages\VES00013\Scripts
Property DeployRoot is now = D:\_SMSTaskSequence\Packages\VES00013
DeployRoot = D:\_SMSTaskSequence\Packages\VES00013
Property ToolRoot is now = D:\_SMSTaskSequence\Packages\VES00013\Tools\X86
ToolRoot = D:\_SMSTaskSequence\Packages\VES00013\Tools\X86
DeployRoot = D:\_SMSTaskSequence\Packages\VES00013
Property ResourceRoot is now = D:\_SMSTaskSequence\Packages\VES00013
ResourceRoot = D:\_SMSTaskSequence\Packages\VES00013
Property ScriptRoot is now = D:\_SMSTaskSequence\WDPackage\Scripts
ScriptRoot = D:\_SMSTaskSequence\WDPackage\Scripts
Property DeployRoot is now = D:\_SMSTaskSequence\WDPackage
DeployRoot = D:\_SMSTaskSequence\WDPackage
Property ToolRoot is now = D:\_SMSTaskSequence\WDPackage\Tools\X86
ToolRoot = D:\_SMSTaskSequence\WDPackage\Tools\X86
Property ResourceRoot is now = D:\_SMSTaskSequence\WDPackage
ResourceRoot = D:\_SMSTaskSequence\WDPackage.

Similar Messages

  • Measuring power using NI-USRP and Spectral measurements tool kit

    Hello every one 
    I'm just inquiring how to calculate the power in a channel using NI USRP and SMT tool kit because I have failed calculating it using direct method so I purchased SMT so could any one help me by providing me with an example that describes how to calculate the power using spectral measurements tool kit , our he could tell me the steps that I could follow .
    Thanks a lot 

    Hi MHantera,
    I don't think I'm fully understanding your most recent message. The FFT Spectrum (Mag-Phase) VI in the USRP example as well as the FFT Power Spectrum and PSD VI both output a full spectrum that already includes the f0 and df so you don't need to set those. If you're using the later you should select Power Spectrum (the default for "export mode") for the In Band measurement. Using that VI are you seeing a size limitation? What settings and sample size are you trying to use? Is it returning an error about being unable to perform the FFT or are you just not seeing the results you should? Any more information you can provide about this would be helpful.
    Best Regards,
    Peter W.

  • MAP Toolkit - How to use this MAP tool kit for all SQL Server inventory in new work enviornment

    Hi Every one
     Just joined to new job and planning to do Inventory for whole environment so I can get list of all SQL Server installed . I downloaded MAP tool kit just now. So looking for step by step information to use this for SQL Inventory. If anyone have documentation
    or screen shot and can share would be great.
    Also like to run It will be good to run this tool anytime or should run in night time when is less activity? 
    Hoe long generally takes for medium size environment where server count is about 30 ( Dev/Staging/Prod)
    Also any scripts that will give detailed information would be great too..
    Thank you 
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach A.Shah

    Hi Logicinisde,
    According to your description, since the issue regards Microsoft Assessment and Planning Solution Accelerator. I suggestion you post the question in the Solution Accelerators forums at
    http://social.technet.microsoft.com/Forums/en-US/map/threads/ . It is appropriate and more experts will assist you.
    The Microsoft Assessment and Planning (MAP) Toolkit is an agentless inventory, assessment, and reporting tool that can securely assess IT environments for various platform migrations. You can use MAP as part of a comprehensive process for planning and migrating
    legacy database to SQL Server instances.
    There is more information about how to use MAP Tool–Microsoft Assessment and Planning toolkit, you can review the following articles.
    http://blogs.technet.com/b/meamcs/archive/2012/09/24/how-to-use-map-tool-microsoft-assessment-and-planning-toolkit.aspx
    Microsoft Assessment and Planning Toolkit - Technical FAQ:
    http://ochoco.blogspot.in/2009/02/microsoft-assessment-and-planning.html
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Is there any blog or examples to handle the errors without using ESB tool kit.

    Hello,
    I have been trying to work with error handling since last week but I dont understand how to construct the error message. Is there any blog or examples to explain handle the errors step by step from scratch without using ESB tool kit.Can anybody help me out.
    Thanks in advance.

    You can use option 3 to construct the error message inside orchestration.
    Before using a BizTalk XML Message inside an orchestration, it must first be constructed. In fact this is just populating the message with XML. If there is an attempt to use this message before it is constructed, the above error will come. Some messages
    come pre-constructed, such as messages that originate from a send port
    There are several ways to construct a message inside an orchestration:
    Create a new message from an existing message using BizTalk map
    Assign one message to other(i.e. creating a copy of an existing message)
    Creating a message with the help of a System.XML.XMLDocument variable
    We have to first declare an orchestration variable of type XmlDocument. Then in a message assignment shape, we need to do something like this:
    myxmlDoc = new XmlDocument();
    myxmlDoc.LoadXML("<somexmlhere></somexmlhere>")
    myMsgBeingConstructed = myxmlDoc;
    Abhijit Mahato - Microsoft Community Contributor 2011 - MCTS BizTalk Server blog: http://abhijitmahato.wordpress.com/ Please "Mark as Answer" if Post has Answered the Question

  • Pareto Chart using Report Generation Tool kit

    Hi,
    Please help me to get clarification for the following:
    I need to log data into MS Excel Report and generate Pareto Chart using LabVIEW for the Logged data.
    I have Report Generation Tool kit. but i couldnt find the an option to generate Pareto chart with it.
    Thanks,
    Thirumala.

    One way is to Create a Excel template in the predefined format with the rows/colums linked for the Chart.
    Use this template with report generation toolkit to populate data in the predefined cells.Based on that the chart will be automatically updated.

  • Why can't I print to a Zebra 2746e using the report tool kit?

    I have read on here how peoople have printed barcodes from LV by sending commands directly to a zebra printer. I am using LV8.2.1 on a windows xp computer. I am sending EPL2 messages to the printer using the report tool kit, but all I get is a couple of line feeds. If I send the commands from a command prompt by coping a test file to the printer port it prints fine. Any thoughts. I have attached my program.
    Attachments:
    zebra tester.vi ‏22 KB

    I tried your code against my printer and it works as advertised. Can you print to other printers with it?
    By the way, when assembling a string you should use the Format Into String function instead of a string concatenator with a bunch of inputs. It takes up less room and is easier to interpret when troubleshooting.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Using Adobe's SMS Rporting Tool kit - Software Inventory

    I’m using SMS Reporting tool kit  ver 4.0, with SCCM 2007 R3.  Is there a newer version?
    1. How long would it/should it take for SCCM to query 2500 systems in SCCM for Adobe SWTAG files? The current scan has been running for about 3 hours now.
    2. Will the SWTAG scan pick up more recent Adobe CS5/6 products?
    3. I added SWTAG file collection in SCCM software Inventory.  Inventory has run on many systems, but I cannot run a SCCM query to locate systems with these files.  Does anyone have a SCCM query to find these systems with SWTAG files?
    I have looked on other Adobe/Microsoft forums with little success.

    I have seen you have posted around the web about this. This forum is for Adobe Business Catalyast, their website CMS system.
    Like others have said to you - I have also never heard about this.
    You have the adobe file tagging which iuses SWTAG - http://blogs.adobe.com/oobe/2009/11/software_tagging_in_adobe_prod_1.html
    But I know nothing of SMS reporting tool etc. What ever that is you need to contact the vendor for it.

  • Query using database connectivity tool kit

    I'm currently using an application that can read and write from an access database using labview. My problem is that I want to somehow have a query (hopefully just using the tool kit) that searches the database and displays the results in the read screen. I uploaded the program... can someone please take a look at it and try to help me out. I know the "look up screen" is a little messy, but i'd greatly appreciate any help you can give me.
    Thanks
    Attachments:
    hail_mary3a.vi ‏198 KB

    I am unable to look at your program, since I am using an older version, but here is an example of what I do to display query results. I just do an SQL query and display it in a table. All data must be converted to strings first, though.
    Attachments:
    Access_Query_Example.vi ‏116 KB

  • Wrong Phase using the Lock-in Tool kit

        Hi!
    We have been using the NI Lock-in toolkit. To test it, we have connected it to a system under test, that simply consists of a R/C low pass filter. This is useful, since we can calculate the exact response in advance.
    The amplitude (gain) response is correct and is always the same, however, when looking at the phase response, the first section is looking good but then it produces seemingly random and erratic results everytime.
    The phase response jumps around and produces 180 and 360 phase shifts.
    Has anyone ever had that problem? Any explanations for this behavior? Any remidies?
    Thanks,
    Markus Tarin
    movimed.com
    www.movimed.com - Custom Imaging Solutions
    www.movitherm.com - Advanced Thermography Solutions

    Hi Manfred!
    Our setup is very straight forward. We are using a generic M-Series board to generate the stimulus signal as follows:
    Output frequency for x-number of cycles - measure gain/phase response.
    To sample the response, we are using an S-Series board. All of it is done using DAQmx drivers, which again, I don't think makes any difference, since we are experiencing the same problems with a 'pure' software simulation.
    Our unit under test is comprised of a resistor and a capacitor, which represents a simple low pass filter with predictable gain/phase response.
    It appears to us that the erratic phase response at higher frequencies is a result of 1pi versus 2pi phase wrap or flip, which may not be handled correctly by the lock-in tool kit.
    We were thinking of "unwrapping" the phase, but I wanted to find an explanation for this behaviour first, to ensure that we are not dealing with a software bug.
    Also, where can we find the unwrap phase.vi?
    Thanks,
    Markus
    www.movimed.com - Custom Imaging Solutions
    www.movitherm.com - Advanced Thermography Solutions

  • Vector rendering using 3D Reviewer vs 3D Tool Kit

    I checked the vector rendering output using 3D Reviewer and 3D Tool Kit. As a result, I feel that the result of 3D tool Kit is better. Since I use this function for technical illustration of Service Manual, I want to keep installing 3D Tool Kit and Install Acrobat9 Pro Extended. But, Acrobat9 won't allow it by normal installation. Is there any methods.

    As a workaround - go for Deep Exploration from Right Hemisphere.
    3D Tool Kit is really an old version of Deep Exploration (+/- some minor bugs and features).

  • How to Use 2 Separate Y-Axis in Report generating Tool Kit

    Hello
    How do I make 2-Y-Axis chart on Word document from Report Generating Tool Kit?
    Now can make Chart to appear in Word document with Multiple plots, but all plots go to same Y-Axis.
    I want to put in chart two Plots with Same X-Axis, but different Y-Axis.
    I know it is possible manually in word, but how  can I do it with Labview RGTK?

    hmm, yes. I guess that is the only alternative. But is there anyone who has made something similar in the past?
    I am not sure how to interpolate this data to an array of 30 000 data points without loosing data in the beginning.
    Since it is exponential, the first few dozen datapoints are at really low freq. All about 10.xx Hz and increasing.
    Then in the end of the array, i have like one datapoint at 15kHz, one at 15,5kHz etc. Will be alot of gaps in my array and alot of lost data in the beginning I think.
    It's strange though that labview doesn't allow for waveform, or atleast let me put an XY-array into these methods since i believe always you want an logarithmic freq-axis when having a frequency-response to handle.
    Anyway, anyone who has a nice little VI that interpolates data like this?

  • Reader 10.1.4 / latest pdf tool kit / QTP 11 - QTP hangs sporadically or reader crashes

    Hello ,
    Following is the tool set we are using:
    Reader 10.1.4
    Latest pdf tool kit for 10.1.x
    QTP 11
    We are able to capture the objects in the PDF form and create a QTP script fine, but when we try to run the QTP script:
    -It either hangs at a random step and then it needs to be killed from task manager, after waiting for it for ~ 15 - 20 mins.
    or
    - Some times reader itself crashes.
    Just wondering, has any one here come across this behaviour and found a workaround/solution to it?
    Regards,
    Bhart

    I unistalled and reinstalled everything. I still get the issue:
    Config:
    QTP 10.0 with Patch HP QTP_00626, on Vista and Browser IE7
    All plugins (AcroPDF, Flex, etc) appear in the QTP active Plugins window.
    Tested versions:
    Reader 10.1.1 (not in compatible list but Adobe recommends it anyway, see "http://forums.adobe.com/message/3956025?tstart=0#3956025") -> No go
    10.1.2 (ideal with the latest AcroPDF plugin) -> no go
    10.1.4 (known issues, see the same link above) -> No go
    remark: I only focus on the second version of the plugin (see "http://labs.adobe.com/downloads/aptt.html"), as the old one is compatible with 9.x versions, which are out of my scope. There is a rumour about an hypothetical third version, but nothing concrete here.
    Problem:
    I always get "Failed to find object: Failed to find Acrobat" when I run the AcroPDF test which is in the tool package. No acrobat installed.
    The user manual says "An unsupported version of Acrobat is being used or both Acrobat and Reader are installed." But my configuration definitely fits with these criterias.
    A record in QTP only sees AVPageView item.
    -> According the AcroPDF documentation, it is supposed to only happen with QTP 9, but it appears with QTP 10 as well...
    Does anyone have a clue how I could fix my issue?

  • Installing FM8 Plug-in for DITA Open Tool Kit

    Dear all,
    I am facing some issues while installing the DITA Open Tool Kit.
    Please help me resolve this issue.
    Details below:
    - I have FM 8 installed on my laptop.
    - I am installing the Dita OT version 1.2.2 using the installation instructions given on the adobe site.
    - I have already installed the Java Development Kit, Apache Ant, JavaHelp, SAXON, an XSLT and Microsoft® HTML Help
    - I have tested the build and its successful.
    NOW, when I launch FM 8 I just don't see the DITA menu. I am so confused.
    And my FM seems to be too slow.
    I have checked and re-checked all the installation steps and I don't think I have missed any step. But DITA menu does not appear.
    Please help. Thanks in advance.

    Regarding my recent build failure from the DITA Open Tool Kit:
    Additional testing reveals that I can get a successful build from the command shell window when I run the startcmd.bat file and type ant samples.web -f build_demo.xml. Also, the \out directory is successfully created in the dita-ot folder.
    An unsucessful build occurs when I type ant all -f build_demo.xml. This command is recommended in one of the DITA documents (Evaluting the DITA Open ToolKit fullpackage version). Apparently, it tests the "full set of transforms from a single command" so that it "will process every DITA example in the Toolkit into each of the supported output types for the Toolkit."
    Here's the build failure message:
    ==================================
    transform.topic2fo:
    [dita-version] Search finished
         [java] java.lang.NoClassDefFoundError: com/icl/saxon/StyleSheet
         [java] Caused by: java.lang.ClassNotFoundException: com.icl.saxon.Styl
    t
         [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         [java]     at java.security.AccessController.doPrivileged(Native Metho
         [java]     at java.net.URLClassLoader.findClass(URLClassLoader.java:18
         [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         [java]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java
         [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         [java]     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java
         [java] Could not find the main class: com.icl.saxon.StyleSheet.  Progr
    ll exit.
         [java] Exception in thread "main"
         [java] Java Result: 1
    BUILD FAILED
    C:\DITA-OT1.5\build_demo.xml:146: The following error occurred while execut
    his line:
    C:\DITA-OT1.5\build.xml:338: The following error occurred while executing t
    ine:
    C:\DITA-OT1.5\demo\fo\build.xml:126: The following error occurred while exe
    g this line:
    C:\DITA-OT1.5\demo\fo\build.xml:217: The following error occurred while exe
    g this line:
    C:\DITA-OT1.5\demo\fo\build.xml:200: java.io.FileNotFoundException: C:\DITA
    5\temp\stage2.fo (The system cannot find the file specified)
    Total time: 26 seconds
    ===============================
    Here are the system variable settings. My additions are in green, based on instructions in the DITA user guide, or rather my interpretation of the instructions in said guide.
    ANT_HOME=C:\apache-ant-1.7.1
    ANT_OPTS=-Xmx256M
    Classpath=C:\DITA-OT1.5\demo\fo\fop\build\fop.jar;C:\DITA-OT1.5\demo\fo\fop\lib\avalon-fra mework-4.2.0.jar;C:\DITA-OT1.5\demo\fo\fop\lib\batik-all-1.7.jar;C:\DITA-OT1.5\lib\dost.ja r;C:\Saxon\saxon.jar
    JAVA_HOME=C:\Program Files\Java\jdk1.6.0_14
    JHHOME=C:\jh2.0
    Path=C:\Program Files\ThinkPad\Utilities;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C: \Program Files\ATI Technologies\ATI.ACE\Core-Static;c:\Program Files\Utimaco\SafeGuard Easy\;C:\Program Files\Perforce;C:\Program Files\Common Files\Lenovo;C:\Program Files\Adobe\Adobe RoboHelp 7\RoboHTML;C:\apache-ant-1.7.1\bin
    Any assistance is, of course, appreciated. Thanks!

  • Problem with database tool kit, and MS Office Tool kit.

    One of my programmer's who has the Office tool kit noticed this on Monday, and we haven't been able to find the problem yet.
    We use the database connectivity reads and writes to a MS Access database. This program reads the data from a Symbol Scanner, and then inputs it into the database.  He then has a query that to create a data table to pump into the MS Toolkit to build a MS World file (This is for a Bill of Lading).
    What we found it that it works really well the first time, and on any further runs it will not update the database with any new data. It starts working again if we do a restart on the computer.  It seems like something is not freeing up the database.   He is freeing all the tables and closing the DB connection at each process, and everything else seems to be doing everything else right.  I think the problem is that it goes into this MS Toolkit to make the table that goes on the Bill of Lading.
    I did a modification that makes it read from an excel file on my desktop, and I found that it is doing the same thing. I deleted the report generator part of the program, and found that it will update the database properly.  I have no clue.
    here is the machine specs:
    labview 8.6
    Database connectivity toolkit 1.0.2
    Report generator toolkit MS Office 1.1.3
    MS Office 2007, the file is a Office 2003 format, 

    Given that the code still fails when talking to a excel file it sounds like this isn't really related to the database. Can you post a bit of your that shows the problem. Beyond that, be looking for things in the code that change between subsequent interations -- things like shift registers, globals, etc.
    On the other hand, the fact that you have to restart the computer would tend to indicate that there is something going on with the MS Office side of things. To be clear: shutting down and restarting LV is NOT sufficient to clear the problem?
    When the problem is occurring, if you shut down LV and open the Task Manager do you see (on the Processes tab) any MS Office components still running?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How do I make a batch file if the .class file uses a foreign package?

    I am trying to make an MS-DOS batch file using the bytecode file from the Java source file, called AddFields.java. This program uses the package BreezySwing; which is not standard with the JDK. I had to download it seperately. I will come back to this batch file later.
    But first, in order to prove the concept, I created a Java file called Soap.java in JCreator. It is a very simple GUI program that uses the javax.swing package; which does come with the JDK. The JDK is currently stored in the following directory: C:\Program Files\Java\jdk1.6.0_07. I have the PATH environment variable set to the 'bin' folder of the JDK. I believe that it is important that this variable stay this way because C:\Program Files\Java\jdk1.6.0_07\bin is where the file 'java.exe' and 'javac.exe' are stored. Here is my batch file so far for Soap:
    @echo off
    cd \acorn
    set path=C:\Program Files\Java\jdk1.6.0_07\bin
    set classpath=.
    java Soap
    pause
    Before I ran this file, I compiled Soap.java in my IDE and then ran it successfully. Then I moved the .class file to the directory C:\acorn. I put NOTHING ELSE in this folder. then I told the computer where to find the file 'java.exe' which I know is needed for execution of the .class file. I put the above text in Notepad and then saved it as Soap.bat onto my desktop. When I double click on it, the command prompt comes up in a little green box for a few seconds, and then the GUI opens and says "It Works!". Now that I know the concept of batch files, I tried creating another one that used the BreezySwing package.
    After I installed my JDK, I installed BreezySwing and TerminalIO which are two foreign packages that make building code much easier. I downloaded the .zip file from Lambert and Osborne called BreezySwingAndTerminalIO.zip. I extracted the files to the 'bin' folder of my JDK. Once I did this, and set the PATH environment variable to the 'bin' folder of my JDK, all BreezySwing and TerminalIO programs that I made worked. Now I wanted to make a batch file from the program AddFields.java. It is a GUI program that imports two packages, the traditional GUI javax.swing package and the foreign package BreezySwing. The user enters two numbers in two DoubleField objects and then selects one of four buttons; one for each arithmetic operation (add, subtract, multiply, or divide). Then the program displays the solution in a third DoubleField object. This program both compiles and runs successfully in JCreator. So, next I moved the .class file from the MyProjects folder that JCreator uses to C:\acorn. I put nothing else in this folder. The file Soap.class was still in there, but I did not think it would matter. Then I created the batch file:
    @echo off
    cd \acorn
    set path=C:\Program Files\Java\jdk1.6.0_07\bin
    set classpath=.
    java AddFields
    pause
    As you can see, it is exactly the same as the one for Soap. I made this file in Notepad and called it AddFields.bat. Upon double clicking on the file, I got this error message from command prompt:
    Exception in thread "main" java.lang.NoClassDefFoundError: BreezySwing/GBFrame
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    4)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    Caused by: java.lang.ClassNotFoundException: BreezySwing.GBFrame
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    ... 12 more
    Press any key to continue . . .
    I know that most of this makes no sense; but that it only means that it cannot find the class BreezySwing or GBFrame (which AddFields extends). Notice, however that it does not give an error for javax.swing. If I change the "set path..." command to anything other than the 'bin' folder of my JDK, I get this error:
    'java' is not recognized as an internal or external command,
    operable program or batch file.
    Press any key to continue . . .
    I know this means that the computer cannot find the file 'java.exe' which I believe holds all of the java.x.y.z style packages (native packages); but not BreezySwing or any other foreign packages. Remember, I do not get this error for any of the native Java packages. I decided to compare the java.x.y.z packages with BreezySwing:
    I see that all of the native packages are not actually visible in the JDK's bin folder. I think that they are all stored in one of the .exe files in there because there are no .class files in the JDK's bin folder.
    However, BreezySwing is different, there is no such file called "BreezySwing.exe"; there are just about 20 .class files all with names like "GBFrame.class", and "GBActionListener.class". As a last effort, I moved all of these .class files directly into the bin folder (they were originally in a seperate folder called BreezySwingAndTerminalIO). This did nothing; even with all of the files in the same folder as java.exe.
    So my question is: What do I need to do to get the BreezySwing package recognized on my computer? Is there possibly a download for a file called "BreezySwing.exe" somewhere that would be similar to "java.exe" and contain all of the BreezySwing packages?

    There is a lot of detail in your posts. I won't properly quote everything you put (too laborious). Instead I'll just put your words inside quotes (").
    "..there are some things about the interface that I do not like."
    Like +what?+ This is not a help desk, and I would appreciate you participating in this discussion by providing details of what it is about the 'interface' of webstart that you 'do not like'. They are probably misunderstandings on your part.
    "Some of the .jar files I made were so dangerously corrupt, that I had to restart my computer before I could delete them."
    Corrupt?! I have never once had the Java tools produce a corrupt Jar. OTOH, the 'cannot delete' problem might relate to the JRE gaining a file lock on the archive at run-time. If the file lock persisted after ending the app., it suggests that the JRE was not properly shut down. This is a bug in the code and should be fixed. Deploying as .class files will only 'hide' the problem (from casual inspection - though the Task Manager should show the orphaned 'java' process).
    "I then turned to batch files for their simple structure and portability (I managed to successfully transport a java.util containing batch file from my computer to another). This was what I did:
    - I created a folder called Task
    - Then I copied three things into this folder: 1. The file "java.exe" from my JDK. 2. The program's .class file (Count.class). and 3. The original batch file.
    - Then I moved the folder from a removable disk to the second computer's C drive (C:\Task).
    - Last, I changed the code in the batch file...:"
    That is the +funniest+ thing I've heard on the forums in the last 72 hours. You say that is easy?! Some points.
    - editing batch files is not scalable to 100+ machines, let alone 10000+.
    - The fact that Java worked on the target machine was because it was +already installed.+ Dragging the 'java.exe' onto a Windows PC which has no Java will not magically make it 'Java enabled'.
    And speaking of Java on the client machine. Webstart has in-built mechanisms to ensure that the end user has the minimum required Java version to run the app. - we can also use the [deployJava.js|http://java.sun.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html#deplToolkit] on the original web page, to check for minimum Java before it puts the link to download/install the app. - if the user does not have the required Java, the script should guide them through installing it.
    Those nice features in deployJava.js are available to applets and apps. launched using webstart, but they are not available for (plain) Jar's or loose class files. So if 'ensuring the user has Java' is one of the requirements for your launch, you are barking up the wrong tree by deploying loose class files.
    Note also that if you abandon webstart, but have your app. set up to work from a Jar, the installation process would be similar to above (though it would not need a .bat file, or editing it). This basic strategy is one way that I provide [Appleteer (as a downloadable ZIP archive)|http://pscode.org/appleteer/#download]. Though I side-step your part 1 by putting the stuff into a Jar with the path Appleteer/ - when the user expands the ZIP, the parts of the app. are already in the Appleteer directory.
    Appleteer is also provided as a webstart launched application (and as an applet). Either of those are 'easier' to use than the downloadable ZIP, but I thought I would provide it in case the end user wants to save it to disk and transport the app. to a machine with no internet connection, but with Java (why they would be testing applets on a PC with no internet connection, I am not sure - but the option is there).
    "I know that .jar and .exe files are out because I always get errors and I do not like their interfaces. "
    What on earth are you talking about? Once the app. is on-screen, the end user would not be able to distinguish between
    1) A Jar launched using a manifest.
    2) A Jar launched using webstart.
    3) Loose class files.
    Your fixation on .bat files sounds much like the adage that 'If the only tool you have is a hammer, every job starts to look like a nail'.
    Get over them, will you? +Using .bat files is not a practical way to provide a Java app. to the end user+ (and launching an app. from a .bat looks quite crappy and 'second hand' to +this+ user).
    Edit 1:
    The instructions for running Appleteer as a Jar are further up the page, in the [Running Appleteer: Application|http://pscode.org/appleteer/#application] section.
    Edited by: AndrewThompson64 on May 19, 2009 12:06 PM

Maybe you are looking for

  • Report for Sales orders with the consumed credit limit value

    Dear Gurus, In my company, the credit check is at sales order level. We want a report which shows up the credit value consumed from the credit master by Sales order. Going into the details, Say Credit limt is setup for a customer at Credit master for

  • ITunes ignores the "The" in artist names, but...

    iTunes ignores the "The" in artist names, but is there a way you can get it to ignore "The" is other languages, such as "Les" for French and "Die" for German?

  • CCM 2.0 content file

    Hi Gurus,    Is it possible to download the content file from exisiting catalog into CSV format?  If so let me know the procedure for the same. Points for sure................. Regards SRMUSER

  • No Sound on Speakers w/ ALSA [Solved]

    Hello Everyone, So I have Arch x86_64 on my Gateway 6860FX and sound on my headphones works perfectly but I can't get any sound on the built in speakers. Here's the output of my lsmod|grep '^snd' snd_usb_audio         100672  0 snd_usb_lib           

  • Submitting Acrobat X Form Data

    Can I send a form created in Acrobat X Pro to someone else (who does not utilize Acrobat), have them distribute the forms to a group via e-mail and still have the results returned to me using the Submit button?