16 bit MS-Dos Sybsystem

Hello
I am trying to run remotely a exe file using java. I am using Runtime.
But I am getting this window error
It says: C:\WINDOWS\system32\ntvdm.exe
Error While Setting up environment for the application.
The header of the window is "16 bit MS-DOS Subsystem"
If I try to run the exe file directly then it runs fine.
Thanks in advance for any help
Ritesh

Whatsya windows version, fewl?

Similar Messages

  • 16 bit MS-DOS NTVDM illegal instruction when Webstart tries to install JRE

    Hi
    When I configure a JNLP to download a JRE (if necessary) using the following line,
    <j2se version="1.4.2_01" href="http://java.sun.com/products/autodl/j2se"/>
    it downloads a JRE but then fails while trying to install it, in a couple of ways.
    The first problem I get is a warning that the applications digital signature has an error. It has expired. It expired on the first of May this year at 1am. Ignoring that I press <Run> and proceed with the installation.
    Now the big error, a windows dialog box (I'm using NT here, and it happens on other similar machines in the institution as far as I can tell):
    Title: 16 bit MS-DOS Subsystem
    Body: C:\DOCUME~1\<profilename>\APPLICA~1\Sun\Java\DEPLOY~1\cache\6.0\ext\E12499~1\J2RE-1~1.EXE
    The NTVDM CPU has encountered an illegal instruction.
    C5:085b IP:01df OP:63 6f 72 61 74 Choose 'Close' to terminate the application.
    <Close> <Ignore>
    Even if I choose "Ignore" the result is a broken/partial install of the JRE, with the only directories being j2re1.4.2._10 containing a file called dp14210.vbs and a bin directory. In the bin directory there is only a subdirectory called server, and in server there are two files, Xusage.txt and jvm.dll.
    Note that I have not mis-typed the name of the directory above: although the jnlp requests jre1.4.2_01 the directory that is created is for jre1.4.2_10.
    I have tried this for various other JREs including 1.6.0_01 and 1.5.0_12 and I get the same problem with the out-of-date certificate and the 16 bit MS-DOS Subsystem illegal instruction.
    The name of the file that gets executed after I click "Run" depends on the version of the JRE I am trying to install and follows a naming convention. In the case of the 1.5.0_12 jre the file name is "jre-1_5_0_12-windows-i586-p-iftw.exe" and in the case of the 1.4.2_01 it is "j2re-1_4_2_01-windows-i586-iftw.exe"
    Any help appreciated, thanks,
    Anthony Holland

    I'm positive JRE 5 can't be installed on NT. According to this 1.4.2 neither (I thought it could, all I knew about was this ). Maybe you could try giving a look at jnlp specs to see if any particular 'os' attribute can 'work' to auto-install on NT, but I think you're facing a dead end.
    Bye.
    PS: did you try downloading the exe and installing it via prompt? If that fails too, I guess you can call it off.
    PPS: you can install [1.4.1_07|http://java.sun.com/products/archive/j2se/1.4.1_07/jre/install-windows.html] (if it's enough for your purpose).

  • 16 Bit MS DOS Subsystem popup

    There is a 16 Bit MS DOS subsystem box popping up on my window which even if closed is repeatedly popping up. Also an xmlstatreport.com site is being constantly being blocked by the anti virus i have installed on my system. why is this happening? Kindly help.

    Before I offer some comment to your posting I just want to remember you that we are here in virtual world and postings like your one cannot be discussed at all. For serious discussion we need as much as possible useful info that can help us to understand your problem.
    Your posting sounds like: I try to start my car but there is no reaction. Why is this happening?
    There is no serious mechanic that will be able to give you proper answer.
    So please be so kind and offer some useful info.
    Which Toshiba notebook do you have?
    Which operating system do you use?
    When is this window show?
    Since when this happen?
    Can you start OS properly?
    Can you start it in safe mode?
    Have you tried to roll back OS to earlier time?
    And, and, and ......
    If possible send a pic.

  • Windows 7 32-bit and DOS applications

    I have a Toshiba Satellite L505D-S5983 and am thankful that it came with Win 7 32-bit because I can run DOS applications, CMD prompt windows, BAT files, and so forth.  My most important DOS application is Managing Your Money (MYM) which I start from a BAT file.  I also have what must be a 16-bit Windows app which I start from a BAT file.
    These applications are supposed to emit sounds either when an action is completed or something is entered in error.  This works fine on XP but not on Win 7 32-bit. Has anyone run into this?
    There are some other quirks regarding shortcuts but I'll find another topic to post that on.
    Bernie in CT

    Wow...
    After reading a bit more about some of the problems other people were having I decided to shift my focus a little on something else other then the Sound Card Itself.
    Like I said earlier, my Windows Vista install never gave me a problem. It just always worked for me. But then again, I didn't get the latest driver is about 3 months for my video card either.
    I was reading a bunch of posts about how the nvidia chipset was cauing some serious issues. Some people actually had issues with the motherboard chipsets, and other has problems with Video chipsets as well.
    So with that in mind, I started to look at my video card. I removed the Windows 7 drivers that it wanted to install when I fisrt logged into Windows 7 for the first time. And I also have a Windows Vista Driver for my ATI Radeon HD 3780 from about July.
    So I threw caution to the wind and decided to remove everything "Beta" from ATI for my video card, and start with the install the way Vista did. (It didn't have a nati've driver for it, but Win 7 does) So back at the "VGA Compatable Driver" I installed my July version of the ATI Radeon Drivers.
    No more sound pops, clicks or grunts at all. Not even a little. It's completely gone. When looking at the driver setting, they have changed the look and feel of the drivers a little but they still work in much the same way. The Vista Drivers installed without an issue on Windows 7 and I didnt notice a speed decrease at all. Even in games and benchmarks.
    So I know this might not be the "Fix" for everyone, but if you are running an ATI card with the SB X-FI Sound Card, try staying away from ATI's "BETA" drivers for a little bit. RIght now everything is running like I wanted it to run and I could not be happier.
    So I guess Newer is not always better...
    Just thought I would add this update if someone was running non-nvidia hardware like myself.
    Thanks!!!

  • SB Live! 24-bit in DOS 6

    I wish tu run Sound Blaster Li've! 24-bit (internal) under MS-DOS 6.22.
    I already heard that running Li've cards in DOS is possible and I really need this solution.
    Please, tell me how to run this certain card in DOS 6.22.

    Pretty sure not I think the original li've might be old enough to have DOS support, but I'm not 00% on that. Have you tried DOS Box?
    http://dosbox.sourceforge.net/news.php?show_news=

  • After uninstalling/installing itunes  I get this  window   16 bit MS-DOS Subsystem  The NTVDM CPU has encountered an illegal instruction CS:05aa IP:0480 OP: 6300 72006f Choose close to terminate. Neither ignore or close works

    After uninstalling/installing itunes ( there was a problem with an upgrade) the following window appears on my account page
    16 MS-DOS Subsystem
    The NTVDM CPU has encountered an illegal instruction CS:05aa IP: 0480 OP:6300 72006f Choose close to terminate application. Neither close or ignore works. I don't know where to turn for help I'm using Windows 7. Thx

    Hi there,
    I am also experiencing this problem, but with 1.4.2_06. Last week (late Jan 2005) the dynamic versioning was working fine, downloading and installing the latest version of Java as required.
    However now (early Feb 2005), I am finding that after downloading the latest version of Java and beginning the install, I am getting this error.
    I was hoping that you may have heard of a cause or solution for this problem?
    Many thanks

  • Problems running 16-bit programs in (32-bit) Windows 10TP

    When I try to run (any) 16-bit program (that runs just fine under Windows XP and Windows 7) under W10TP Build 9860, I get the following error message:
    "16-BIT MS-DOS SUBSYSTEM. Command prompt <program name>. NTVDM has encountered a system error. A device attached to the system is not functioning. Choose 'close' to terminate the application."
    So, I tried setting compatibility mode (for all users) to "Windows XP SP3", and found that (some) of the programs would run, although CMD.EXE opens a separate window as though they were run with a "Start" command.
    However, many of them will not run even with compatibility mode set. And, the error message window opens and closes so rapidly that it is impossible to see what the message is!
    I tried setting compatibility mode to Windows XP SP2, 98 and 95 with no difference in the aforementioned behavior.
    Then an even stranger anomaly occurred! I unchecked "compatibility mode" for one of the programs, and ran it so I could copy the above-listed error message verbatim. Then I rechecked "compatibility mode" (for all users). Now, when I run
    the program from the command prompt, it gives me the same error message as when CM is NOT checked, but if I run it from (right-click) Start > Run, or Windows-key +R, or by clicking on the program in Windows explorer, it does run!
    I tried this with a second program, and obtained the same mysterious results!
    So what is causing these events, and what is the solution? Why should unchecking and rechecking CM alter the behavior of the program when run from the command prompt?
    An additional question: The 'compatibility mode' settings are stored in "HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v <program name> /d WINXPSP3
    When I set this value via Properties, it gives the entries a value of "~ WINXPSP3", but it appears that a value of "WINXPSP3" (set via Regedit or Reg.exe) has the same effect. What is the purpose of the "~"?
    Thank you for your input.

    When I try to run (any) 16-bit program (that runs just fine under Windows XP and Windows 7) under W10TP Build 9860, I get the following error message:
    "16-BIT MS-DOS SUBSYSTEM. Command prompt <program name>. NTVDM has encountered a system error. A device attached to the system is not functioning. Choose 'close' to terminate the application."
    So, I tried setting compatibility mode (for all users) to "Windows XP SP3", and found that (some) of the programs would run, although CMD.EXE opens a separate window as though they were run with a "Start" command.
    However, many of them will not run even with compatibility mode set. And, the error message window opens and closes so rapidly that it is impossible to see what the message is!
    I tried setting compatibility mode to Windows XP SP2, 98 and 95 with no difference in the aforementioned behavior.
    Then an even stranger anomaly occurred! I unchecked "compatibility mode" for one of the programs, and ran it so I could copy the above-listed error message verbatim. Then I rechecked "compatibility mode" (for all users). Now, when I run
    the program from the command prompt, it gives me the same error message as when CM is NOT checked, but if I run it from (right-click) Start > Run, or Windows-key +R, or by clicking on the program in Windows explorer, it does run!
    I tried this with a second program, and obtained the same mysterious results!
    So what is causing these events, and what is the solution? Why should unchecking and rechecking CM alter the behavior of the program when run from the command prompt?
    An additional question: The 'compatibility mode' settings are stored in "HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v <program name> /d WINXPSP3
    When I set this value via Properties, it gives the entries a value of "~ WINXPSP3", but it appears that a value of "WINXPSP3" (set via Regedit or Reg.exe) has the same effect. What is the purpose of the "~"?
    Thank you for your input.
    Hi
    i have the same issue and behavior with CM option
    i am just wondering something. Did you installed it in a virtual machine?
    i did it with vmplayer and i see is there no video card installed in the system
    i dont know if this issue can be connected by the presence and the configuration of virtual machine or is just a bug of the W10 preview version
    the fact is that it happens also if you try to use the edit.com command present in the system

  • Windows environment error while trying to execute 16-bit  applications.

    Hi guys,
    I'm executing applications in Windows using
    process = Runtime.getRuntime().exec(cmd,null,dir);where cmd[0] is the command e.g. "c:\timeout.exe" and dir is the
    working directory e.g. "c:\".
    This works fine for 32-bit programs and I can quit them using
    process.getErrorStream().close();
    process.getInputStream().close();
    process.destroy();However, executing 16-bit applications results in a popup error dialog
    box
    16 Bit MS-DOS Subsystem
    c:\windows\system32\ntvdm.exe
    Error while setting up the environment for the application
    Choose close to terminate the application
    I can change the execution command to
    cmd[0] = "cmd.exe"
    cmd[1] = "/C"
    cmd[2] = "c:\timeout.exe"and the problem goes away. The problem is process.destroy() kills
    cmd.exe not my application!
    Does anyone know of a fix for this?
    Thanks.

    You could check the EXE file and verify the file format. It's different for 16-bit DOS, 16-bit Windows, and 32-bit programs. 16-bit DOS programs are marked "MZ" at the beginning. 16-bit Windows programs have the same "MZ" at the beginning, but an "NE" (New Executable) marking a little farther down the file. 32-bit programs finally are marked with "MZ" and "PE" (Portable Executable) farther down.
    You can find more information at Wotsit: http://www.wotsit.org/search.asp?s=EXE
    Inspecting the files is tedious, but the only way of doing this without native code. If you want to use native code, you can probably find the process that was spawned by CMD and destroy it separately.
    Hope this helps, good luck.

  • Help! MS Dos Subsystem Missing VDD Error

    I presently have Matlab 6.1 and LabView 6i installed on a system operating
    under Windows XP. I had installed GPIB and removed it using the LabView
    setup program.
    When executing a dos command from Matlab, I would get a 16 Bit MS Dos
    Subsystem Error that said the device driver GPIB-VDD.DLL was missing and it
    was, which was probably caused by a sloppy LabView uninstall routine.
    I went into the registery and removed the keys with this device driver
    referenced. However, now when I have a system call from matlab, the same
    error message appears except that it says,
    \windows\system32\cmd.exe
    \System\CurrentControlSet\Control\VirtualDeviceDrivers Virtual Device Driver
    format in the registery invalid. At present there is no entry for
    V
    irtualDeviceDrivers. Should I add one and if I do what should I set the
    value to?
    In addition, I have a Win32 executable that does not generate this error
    from the command prompt. It always generates this error from the Matlab
    system call using DOS, SYSTEM, and !, which makes me think that Matlab
    system commands are run in a 16 bit instead of a 32 bit mode. If there is a
    way to execute 32 bit console applications from Matlab, it would remedy this
    symptom.
    Please e-mail me a copy of an reply posts.
    TIA,
    Pete

    yeah..yeah whatever mate
    "Peter de B. Harrington" wrote:
    > I figured it out. I was able to copy the VDD key from another system that
    > was working correctly. Just wish that uninstall programs would leave the
    > registery clean.
    >
    > Pete
    >
    > "Peter de B. Harrington" wrote in message
    > news:[email protected]..
    > > I presently have Matlab 6.1 and LabView 6i installed on a system operating
    > > under Windows XP. I had installed GPIB and removed it using the LabView
    > > setup program.
    > >
    > > When executing a dos command from Matlab, I would get a 16 Bit MS Dos
    > > Subsystem Error that said the device driver GPIB-VDD.DLL was missing and
    > it
    > > was, which was probably caused by a sloppy LabView uninstall routine.
    > >
    >
    > I went into the registery and removed the keys with this device driver
    > > referenced. However, now when I have a system call from matlab, the same
    > > error message appears except that it says,
    > >
    > > \windows\system32\cmd.exe
    > > \System\CurrentControlSet\Control\VirtualDeviceDrivers Virtual Device
    > Driver
    > > format in the registery invalid. At present there is no entry for
    > > VirtualDeviceDrivers. Should I add one and if I do what should I set the
    > > value to?
    > >
    > > In addition, I have a Win32 executable that does not generate this error
    > > from the command prompt. It always generates this error from the Matlab
    > > system call using DOS, SYSTEM, and !, which makes me think that Matlab
    > > system commands are run in a 16 bit instead of a 32 bit mode. If there is
    > a
    > > way to execute 32 bit console applications from Matlab, it would remedy
    > this
    > > symptom.
    > >
    > > Please e-mail me a copy of an reply posts.
    > >
    > > TIA,
    > >
    > > Pete
    > >
    > >

  • Firefox.exe suddenly only 2 KB (and IE 1 KB) & flagged up as malware

    On January 13 (2015), I was surprised to find my Kaspersky anti-virus software (Pure 3.0 at the time) flagging up the following as malware (trojan):
    firefox.exe C:\Program Files\Mozilla Firefox\firefox.exe HEUR:Trojan.WinLNK.StartPage.gena
    iexplore.exe C:\Program Files\Internet Explorer\iexplore.exe HEUR:Trojan.WinLNK.StartPage.gena
    eBay Sidebar for Firefox.lnk C:\Users\David\Desktop\eBay Sidebar for Firefox.lnk HEUR:Trojan.WinLNK.StartPage.gena
    I followed the instructions to quarantine and re-boot. No problem. After re-boot, I could not access Firefox and discovered that it had indeed been quarantined - along with IE (which I rarely use) and eBay Sidebar for Firefox (which I haven't used in a long time). On restoring these, they are again identified as malware. Further investigation revealed that firefox.exe was only 2 KB in size - and IE was only 1KB.
    Kaspersky advised to upgrade to Total Security, which I did and this stopped identifying the files as malware. Full virus checks, including from safe mode, revealed nothing. Running a suite of recommended anti-malware programs did pick up a limited number of bits and pieces (and which I deleted) that Kaspersky didn't, although my research on the net points to them all being the kind of things that produce unwanted adverts on browsers .... not anything that would wipe or rename programs (I didn't see any unwanted ads, though, possibly because of my settings in Firefox, Kaspersky and NoScript).
    Kaspersky feels firefox.exe was corrupted (well at 2 KB, it's certainly not right) - although what corrupted it is another question. All other files in \Mozilla Firefox seem to be there, and I have no issues with any other software or files on my PC (just these three). Yet the same thing happened to IE at the same time. That makes a failing hard drive very unlikely indeed - but it does make me suspicious that there was *something* that deliberately did this, which Kaspersky did not pick up. However it would be unusual for decent anti-virus software like Kaspersky to miss something. Further, the same issue should have been occurring widely around the same time, because if everyone around the world were losing their browsers it would have made the news - not to mention advertising malware that corrupts both browsers being rather self-defeating!!
    Incidentally, the desktop shortcuts have been replaced by the default Windows icon for programs that don't have a custom-made shortcut. And clicking on what was the Firefox shortcut opens a DOS box, that closes immediately; IE does the same but a "16 bit MS DOS Subsystem" error box appears (those were the days!) with:
    C:\Users\Public\Desktop\Internet Explorer.lnk
    The NTVDM CPU has encountered an illegal instruction.
    CS: 123f IP:012d OP: 8f af 9f 6e ba Choose 'Close' to terminate this application.
    [Clicking 'close' or 'ignore' both close the DOS box - and that's it. No virus or anything similar is picked up and four anti-malware programs I'm using now show my system to be clean]
    So my questions are:
    (1) Any thoughts as to what happened?
    (2) I need to get Firefox working again. Can I simply copy firefox.exe from another machine and replace the existing 2 KB firefox.exe, and everything should be fine, as it was before .... or is it not as simple as that?? (I understand Firefox keeps preferences, etc., in separate files).
    Thanks in advance for any comments.
    Dave

    Sorry you have had this problem
    It my be possible and work if you overwrite the problem ''firefox.exe''
    However that could cause problems and the usual solution would be to download and install Firefox again from an official site, and using a clean install involving deleting the existing program files. (CARE leave the Firefox profile folders and files alone. In fact it would be worthwhile, as a ''belts braces'' precaution; locating and backing them up first )
    * See [[Firefox keeps crashing at startup#w_try-a-clean-install]]'''_try-a-clean-install'''
    * [[Back up and restore information in Firefox profiles]]
    ** [[Profiles - Where Firefox stores your bookmarks, passwords and other user data#w_finding-your-profile-without-opening-firefox]]'''_finding-your-profile-without-opening-firefox'''
    As for what happened, you have given a well reasoned and intelligent summary but after the event it is going to be almost impossible to pin it down. Sometimes AV does flag false positives especially temporarily &/Or if not fully updated.
    ===Clean Reinstall ===
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from [https://www.mozilla.org mozilla.org] (or choose the download for your operating system and language from [https://www.mozilla.org/firefox/all/ this page]) and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (or open the Firefox menu [[Image:New Fx Menu]] and click the close button [[Image:Close 29]]).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [[Troubleshoot and diagnose Firefox problems#w_5-reinstall-firefox|here]].
    <b>WARNING:</b> Do not use a third party uninstaller as part of this process. Doing so could permanently delete your [[Profiles|Firefox profile]] data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be easily recovered unless they have been backed up to an external device!</u>

  • J2EE Tutorial: Exception when building with ant

    I am trying to build the converter example on page 48 of the J2EE tutorial using ant. Ant seems to choke on the following line from the build.xml:
    <property environment="myenv" />
    The output of the "ant converter" command is:
    Buildfile: build.xml
    init:
    BUILD FAILED
    /usr/j2sdkee1.3/j2eetutorial/examples/src/build.xml:18: /usr/j2sdkee1.3/j2eetutorial/examples/src/build.xml:18: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    --- Nested Exception ---
    /usr/j2sdkee1.3/j2eetutorial/examples/src/build.xml:18: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    --- Nested Exception ---
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1525)
    at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:248)
    at org.apache.tools.ant.taskdefs.Property.execute(Property.java:172)
    at org.apache.tools.ant.Target.execute(Target.java:153)
    at org.apache.tools.ant.Project.runTarget(Project.java:898)
    at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    at org.apache.tools.ant.Project.executeTargets(Project.java:510)
    at org.apache.tools.ant.Main.runBuild(Main.java:421)
    at org.apache.tools.ant.Main.main(Main.java:149)
    Total time: 1 second
    My best guess is that the "myenv" line in the build.xml requires some additional attribute. I'm using ant version 1.3. My OS is Solaris (noted for possible environment-related issues).
    Thanks in advance!
    Eric Smith

    On Windows XP Pro, the line
    <property environment="myenv" />
    in the init target of build.xml for the j2ee tutorial examples triggers a windows error message:
    16 bit MS-DOS Subsystem
    =======================
    C:\WINDOWS\system32\ntvdm.exe
    Error while setting up environment for the application. Choose 'Close' to terminate the application.
    <<Close>> <<Ignore>>
    So it looks as if ant is trying and failing to access the winnt system environment here.
    According to Ant Developers Handbook (Sams, October 2002, chapter 4, p. 151), the ant environment property "specifies a prefix, giving access to OS-specific environment variables. This is not supported on all platforms." Until this problem is fixed, it appears that on XP systems anyway, any ant settings in build.xml files that rely on direct access to the system environment will fail. Here is some debug output from the j2ee tutorial examples init target which demonstrates this:
    C:\apps\j2sdkee1.3.1\j2eetutorial\examples>ant init
    Buildfile: build.xml
    init:
    [echo] starting init target
    [echo] reached marker 1
    [echo] reached marker 2
    [echo] value of J2EE_HOME is ${myenv.J2EE_HOME}
    [echo] finished init target
    BUILD SUCCESSFUL
    where the task:
    <property environment="myenv" />
    (which generates the OS error popup noted above) occurs between marker 1 and marker 2. Clearly the value of J2EE_HOME is NOT being successfully read from the system environment here.

  • Getting NTVDM.EXE errors in itunes - keeps crashing

    Every time I start itunes I get a "16 bit MS-DOS Subsystem" error. Message reads...
    C:\WINDOWS\system32\ntvdm.exe
    Error while setting up environment for the application. Choose 'close' to terminate the application
    I then have the option to close or ignore it. If I ignore it I can still access the app store and stuff but when I go to sync my iphone itunes locks up and I have to go to task manager to end the program. What do I do? (this started with the latest itunes update... now I can't even update my iphone because it goes into a permanent backup loop (I have had to kill it after 12 hours a few times!)HELP!!!

    I don't have an answer for this, but from first principles here are some things to try.
    Since the problem occurs when you plug in your iPad there may be a problem with Apple mobile device support.
    Try removing iTunes and related programs using this method:
    http://support.apple.com/kb/HT1923
    Then reinstall.
    In case there really is a problem with ntvdm.exe, try running the system file checker:
    http://support.microsoft.com/kb/929833
    And finally, in case other software is interfering with it try using MSConfig to check for conflicts.:
    http://support.apple.com/kb/HT2292?viewlocale=en_US

  • NTVDM CPU encountered an illegal instruction

    I have a jsp page that displays a graph using an applet and recently updated the page to use dynamic versioning for the JVM. A couple of weeks ago (late Jan 2005) the dynamic versioning was working fine, downloading and installing the latest version of Java as required (it was then 1.4.2_06 and at the time of this post, still is).
    However now (early Feb 2005), I am finding that after downloading the Java plugin and beginning the install, I am getting the error below:
    16 bit MS-DOS Subsystem
    The NTVDM CPU encountered an illegal instruction.
    C5:0555 IP:0288 OP:63 6f 6e 74 65 Choose 'Close' to terminate the application.
    Has anyone else experienced this problem with v1.4.2_06 (I have seen on this forum someone had problems with v1.4.2_05 but problem went away when v1.4.2_06 was released a while back)?
    I have tested on a few PCs in my office, all running Windows XP sp2 and IE 6.0.2900.2180.xpsp_sp2, same result.
    cheers

    I have the same problem with XP sp2. Did you find a fix?

  • Using NT Security Context with JNDI to talk to AD

    Hello all,
    Is there a way in JNDI to connect to Active Directory using the current NT Security Context like ADSI does?
    I want to run a Java program as a service under Win2k.
    I want to assign a user for it to run as (on service start).
    When the program is executing, I need to access AD (wish it wasn't so, but out of my hands), preferrably with JNDI, to read/write data.
    I would like to be able to connect without having to set SECURITY_AUTHENTICATION to "simple" and providing a username and password since as a service, I don't want to interract with the desktop.
    In ADSI, I could set the ADS_SECURE_AUTHENTICATION flag and it would use the NTLM to access AD.
    Is there something similar in JNDI? I've searched the forums, but have only found examples of people using JAAS and GSSAPI (which requires entering a username/password and authenticating against a Kerberos realm) or simple authentication (which requires entering a username/password).
    Any help would be appreciated.
    Regards,
    plb

    Thanks schmid03,
    FYI, I am on Win2K Advanced Server running J2SDK 1.4.0_01.
    Tried changing the conf file, but still a no go. Here's what's happening now...
    Get a pop-up window titled "16 bit MS-DOS Subsystem"
    Message: c:\WINNT\system32\ntvdm.exe Error while setting up environment for the application. Choose 'Close' to terminate the application.
    Buttons: Close, Ignore
    after calling "lc.login ();"
    but then I can get the Subject and print out Principal (name) and it is correct.
    However, in JNDI call "new InitialDirContext ();" I receive:
    GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos Ticket)
    at sun.security.jgss.krb5.Krb5InitCredential.getInstance(Krb5InitCredential.java:142)
    at sun.security.jgss.krb5.Krb5MechFactory.getCredentialElement(Krb5MechFactory.java:70)
    at sun.security.jgss.GSSManagerImpl.getCredentialElement(GSSManagerImpl.java:149)
    at sun.security.jgss.GSSCredentialImpl.add(GSSCredentialImpl.java:334)
    at sun.security.jgss.GSSCredentialImpl.<init>(GSSCredentialImpl.java:59)
    at sun.security.jgss.GSSCredentialImpl.<init>(GSSCredentialImpl.java:36)
    at sun.security.jgss.GSSManagerImpl.createCredential(GSSManagerImpl.java:96)
    at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:178)
    at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:158)
    at com.sun.security.sasl.gsskerb.GssKerberosV5.evaluateChallenge(GssKerberosV5.java:160)
    at com.sun.jndi.ldap.sasl.LdapSasl.saslBind(LdapSasl.java:113)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.jndi.ldap.LdapClient.saslBind(LdapClient.java:374)
    at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:190)
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2516)
    at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:263)
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:76)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:80)
    at Test$MyAction.run(Test.java:196)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:319)
    at Test.go(Test.java:132)
    at Test.main(Test.java:73)
    I'll check these new messages against other posts in the forum to see if there are similar problems...
    If anyone already knows this problem and a fix, please enlighten.
    Regards,
    plb

  • Runtime.exec error in windows

    When i try to run an external program with Runtime.exec() in windows 2000, i get a windows pop-up with the following error msg:
    d:\winnt\system32\ntvdm.exe
    Error while setting up environment for the application.
    I have no idea how to fix this since i have no clue to what that error means.
    Thanks
    Rumy

    I've personally just encountered the same error. I am building a piece of demonstration software to distribute with my graduate school applications to demonstrate my programming experience and I wish to include a set of programs I wrote some years ago in Pascal and C++. The software has been compiled for MS-DOS 6.0. I am using the following command to execute the software from within my Java program:
    Runtime.getRuntime().exec(new String[]{"command.com","/c","12cards.bat"});The batch file performs the appropriate setup operations for the program and runs the executable. When I run this code segment, I receive the following error:
    [16 bit MS-DOS Subsystem]
    C:\WINNT\system32\ntvdm.exe
    Error while setting up environment for the application. Choose 'Close' to terminate the application.
    I have another code segment in which I attempt to run the executable myself (without the help of command.com or the batch file). The code segment is as follows:
    Runtime.getRuntime().exec(new String[]{"12cards.exe"}, new String[0], workingDir);When I run this code segment, the following IOException is thrown:
    java.io.IOException: CreateProcess: 12CARDS.EXE error=2
         at java.lang.Win32Process.create(Native Method)
         at java.lang.Win32Process.<init>(Win32Process.java:66)
         at java.lang.Runtime.execInternal(Native Method)
         at java.lang.Runtime.exec(Runtime.java:566)
         at (my code)I have already found the document on Microsoft's support website which describes a solution to this problem. Manually extracting the autoexec.nt, config.nt, and command.com files from the installation CD-ROM did not help.
    The most confusing element of this: 12CARDS.EXE runs fine if I execute it from Windows Explorer. It's only a problem if it's executed from within my Java program. I have two other DOS programs which I want to include as well; I am having the same trouble with them.
    Any advice will be much appreciated. Thanks!

Maybe you are looking for

  • Is it possible for Apple to add "key" to the view options selection?

    Is it possible for Apple to add "key" to the view options selection?

  • Windows 7 on Mac Pro, Local Access Only, No Internet

    Installed Windows 7 on my 2.66 Quad Mac Pro. Whenever I boot, the network adapter icon in the traybar comes up with a yellow slash through it that says "Local Access Only" Looked into troubleshooting, turning off Network power management, turning off

  • Updating a DB table with only non-empty values of a work area

    Hi everybody, Is that possible in ABAP to update a table in the database with a work area, but only with non-empty values of this work area? Example: data: ls_custom type ZCUSTOMERS_0. ls_custom-CUSTOMER = '20'. ls_custom-LASTNAME = 'MyName'. ls_cust

  • Sorting albums in Aperture

    Hi, I am trying to figure out why Aperture always starts sorting an album on "Manual" by default? Is it possibel to save another default for sorting? If so, where? I can get it to sort the main folders (Projects) by name and the sub-folders (Albums)

  • Clicking buttons behind loaded movie

    Hi, I'm new to flash so please bare with me. I'm loading an external swf file into a movie clip and that's working just fine. The problem is, while the movie clip is loaded, I'm still able to click on buttons that are "behind" the movie clip. Pushing