ProcessBuilder won't spawn a new JVM

Hello everyone! I have a ProcessBuilder problem that I was wondering if someone could help me with. Basically it works as it's supposed to on one machine that I am using but won't run on some other machines that I shell into and run as a jar.
The software I have written has a GUI - this GUI has the ability to spawn smaller GUI's that the user may want to have around after the original GUI leaves. By using a MASK I can see if the user wants to run a child GUI as a part of the same runtime or as a stand-alone separate thread. I have been using a ProcessBuilder to accomplish this task and it works fine:
- The child GUI/Thread runs fine when it is a part of the same Runtime.
- The child GUI/Thread runs fine when the ProcessBuilder builds the separate JVM.
When I attempt to run this software on another machine that I am shelling into however I have some issues:
- The child GUI/Thread runs fine when it is a part of the same Runtim (embedded).
- The child GUI/Thread does not start at all when the ProcessBuilder attempts to run the separate JVM. (ps -aef is showing that absolutely nothing is happening, as does top or other process watching scripts).
I am baffled as to why this may be. The systems are different (I am running Fedora Core 3 normally here, and Fedora Core 6 on the other machines). Is there a security option somewhere which is stopping the JVM from being spawned, or an environment variable I am not aware of that needs to be included that I can add to the ProcessBuilder's map? I can gladly provide more information if what I have indicated is not enough, and thanks so much in advance for any help that someone can shed on this matter.
- Tim

Fixed! Turns out I was giving a String[] command argument that worked fine in one location but not in another. The lack of errors was surprising - but that's because I was not redirecting the output/errors from the spawned process anywhere so it gave the illusion of mysteriously dying. All working now.

Similar Messages

  • Firefox won't spawn a new window, either from the File menu or by right-clicking a link

    I can't get Firefox to open a new window under any circumstances. Not from the file menu, and not by right-clicking on a link. This has been going on for at least a week, and I don't know what changed before it started happening.
    == This happened ==
    Every time Firefox opened

    Disable or Uninstall ZoneAlarm Toolbar. They are still having problems with it in current Firefox.
    https://support.mozilla.com/en-US/forum/1/472881?
    http://forums.zonelabs.com/showthread.php?t=70801&highlight=firefox+3.5

  • HT4623 my ipod touch will no longer connect to my laptop because my ipod is not up to date, but it won't find a newer software. what should I do?

    my ipod touch will no longer connect to my laptop because my ipod is not up to date, but it won't find a newer software. what should I do?

    the computer is a macbook pro, mac os x 10.6.08 and the ipod touch is ios 6.0.
    the problem is that just updated the itunes on the computer and now the ipod won't connect because apparently the itunes on the ipod is not up to date but the iod is telling me that is is up to date, so i can't do a software update.

  • I reset my apple ID password here on the website, but my computer isn't recognizing my new password. what should I do? I just need to update my adobe flash player but it keeps asking me for my password but won't take my new password I just updated.

    Model Name: iMac
      Model Identifier: iMac12,1
      Processor Name: Intel Core i5
    I reset my apple ID password here on the website, but my computer isn't recognizing my new password. what should I do? I just need to update my adobe flash player but it keeps asking me for my password but won't take my new password I just updated.

    "If you've forgotten the Apple ID password how did you log in to make the last post?"
    Exactly! The password I used to log on here and write my post I figured was the same Apple ID password I would use to reset my computer login password. But my computer isn't recognizing it as the correct password so it wont let me update my login password. I have 2 user accounts on my computer.
    As far as the link you provided, I already looked to that for help earlier. It states:
    Choose Apple menu > System Preferences, click Users & Groups, click the lock to unlock it, then provide an administrator name and password. Select a user, then click Reset Password.
    I did these steps, but I don't remember my admin password. The question is: How do I reset my admin password so I can reset my log in password.
    Is my admin password the same password I use to log onto this website to post questions? If so, like I said previously, I already reset that password and my computer isnt recognizing it.

  • Itunes installed but it won't open the new version- any advise

    itunes installed but it won't open the new version- any advise

    Hello goreckim,
    Thanks for the question, and welcome to Apple Support Communities.
    I understand you are having some issues with iTunes on your Mac Pro. You may want to isolate the issue further by testing to see if it persists in a new user account:
    Isolating an issue by using another user account
    http://support.apple.com/kb/TS4053
    You can also try starting iTunes in safe mode:
    iTunes: Troubleshooting issues with third-party iTunes plug-ins
    http://support.apple.com/kb/TS3430
    Thanks,
    Matt M.

  • My iPod nano g7 isn't showing up on iTunes although i plug it in. it shows on the computer but not on iTunes. also it won't sync , accept new songs and doesn't  put on podcasts. it is new, i got it for christmas. PLEASE HELP

    my iPod nano g7 isn't showing up on iTunes although i plug it in. it shows on the computer but not on iTunes. also it won't sync , accept new songs and doesn't  put on podcasts. it is new, i got it for christmas. PLEASE HELP

    Hi avmary11,
    If your are having issues with your iPod not being recognized by iTunes (but it is being recognized by the computer), you may find the following article helpful:
    iPod: Appears in Windows but not in iTunes
    http://support.apple.com/kb/ts1363
    Regards,
    - Brenden

  • I'm trying to change my ICloud e-mail to match the one associated with the Apple ID? Can someone tell me how to do this? Seems like the phone won't accept the new one, the message states "you already have acct associated....."  (a given!!)  I need help !!

    I'm trying to change my ICloud e-mail to match the one associated with the Apple ID? Can someone tell me how to do this? Seems like the phone won't accept the new one, the message states "you already have acct associated....."  (a given!!)  I need help !!

    You made a purchase and exhausted the credit on your card before it processed. All purchases are final. Contact iTunes Store support. You need to settle up before you can purchase or download anything else.

  • I cant' sync my ipod because it says"The iPod cannot be used because it requires iTunes version 10.6.3 or later. I can't download it because my MAC is version 10.5.8 and it won't accept the newer version of itunes. Any suggestions?

    I cant' sync my ipod because it says"The iPod cannot be used because it requires iTunes version 10.6.3 or later. I can't download it because my MAC is version 10.5.8 and it won't accept the newer version of itunes. Any suggestions?

    If you're using a fourth generation or earlier iPod touch, click here and download the software.
    If you're using a fifth generation iPod touch and an Intel Mac, buy Mac OS X 10.6 from the online Apple Store and run Software Update.
    If you're using a fifth generation iPod touch and a PowerPC Mac, buy a newer computer.
    (73046)

  • My imac (osx 10.6.8), apple mail(4.5) has begun to act very odd. It quits out and on occasion I open an email to face "plugin is missing" or I have a spinning wheel and the email won't open. New to do list fails to add to the list. Can anyone help?

    Hi all,
    My imac (osx 10.6.8), apple mail(4.5) has begun to act very odd. It quits out and on occasion I open an email to face "plugin is missing" or I have a spinning wheel and the email won't open. New to do list fails to add to the list. Can anyone help?

    Hi all,
    My imac (osx 10.6.8), apple mail(4.5) has begun to act very odd. It quits out and on occasion I open an email to face "plugin is missing" or I have a spinning wheel and the email won't open. New to do list fails to add to the list. Can anyone help?

  • My itunes won't install the new itunes.  I keep getting error messages that seem to be linked to MobileMe service which I don't even know what it is.

    my itunes won't install the new itunes.  I keep getting error messages that seem to be linked to MobileMe service which I don't even know what it is.

    Read this:
    iTunes 11.1.4 for Windows - Unable to install or open - MSVCR80 issue

  • Spawn a new PDF using Java Script within LC Designer

    I am trying to spawn a new PDF file to be created from an existing PDF using Java Script within the LC designer
    I have this example but I can't get it to work
    function createPdf()
        pdf = pdf$();
        pdf.addText('Hello World');
        pdf.writeToFile('c:/temp/hello_world.pdf');
        window.open('file://c:/temp/hello_world.pdf');
    Is it possible to create a PDF like this within LC Designer?

    Hi
    I would like to see if it was possible.  I thought it would be easy, as
    there is a standard batch processing sequence (Print 1st page of all) using
    Java that comes with Acrobat 7.  This allows you to print the first page of
    a number of files that you select when the sequence is run.  Its code is:
    /* Print 1st Page */
    /* This sequence prints the first page of
       each document selected to the default printer.
    this.print
    To my uninformed mind it seemed logical that the same code, slightly
    modified to print all pages, should work from within a form.
    Anyway, if there is a way to choose individual files, I would appreciate
    that.
    Thanks
    Rob

  • Google search results won't open automatically new tab in firefox 6.0.2

    Clicking on google search results won't open automatically new tabs in firefox 6.0.2, although it was working until today!

    Did you check the Google settings via the gear icon at the top left of the Google site to make sure that you still have selected that feature?

  • Since updating to Mavericks, Mail doesn't work properly.  It just stops working (no error messages--it just won't check for new mail) and I must shut it down and reopen it to get it working again.  Any suggestions?

    Since updating to Mavericks, Mail doesn't work properly.  It just stops working (no error messages--it just won't check for new mail) and I must shut it down and reopen it to get it working again.  Any suggestions?

    Try to force quit the mail app
    Double tap the home button. When you see the app previews on the screen scroll sideways if needed to get the preview in question on the screen. Flick that preview up and off the screen to close the app. Single tap the home button or home screen preview to exit the mode.
    Failing that, go into the settings, mail, contacts and calendars and remove your account info then put it back in and see if that works

  • When I click the new tab button it won't open a new tab.

    When I either click the new tab button or right click on it and click New Tab, it won't open a new tab. It lights up as though its going to open a new one, to sign that its been clicked, but it won't open a new tab.

    That can a problem with the Ask<i></i>.com toolbar (Tools > Add-ons > Extensions)
    See:
    * [[Troubleshooting extensions and themes]]

  • I did re-set my password and when I click on Install for Mavericks, I still get a box for "administrator password" and it still won't accept my new password. Is there a difference between my Apple ID and the administrator password they're asking for?

    I downloaded Mavericks and it won't install. I did re-set my password and when I click on Install for Mavericks, I still get a box for "administrator password" and it still won't accept my new password. Is there a difference between my Apple ID and the administrator password they're asking for? I never had an administrator password-- I just hit enter and have never had a problem before with previous installations. I'm on an iMac, from 2007, running Mt. Lion (version 10.8.5). I've been looking for other's posts who may be having the same problem, but haven't found any. Can anyone help?

    Ugh. The 'no password, no work' thing is a recent Apple development. I ran into it on my system and ended up having to do a clean install on a partition I fully erased.
    I suppose, if you have the ability to, go online and look up how to burn a bootable DVD image. Download the 10.8.4 image then use the Disk Utility to make a boot image of it. You'll need a dual-layer DVD or a USB drive (or memory stick at least 8GB) If you've got an optical drive, burn the disk, if you've a USB device, use that.
    Then get a pocket drive and copy your important files off the system or let Time Machine do a full backup.
    When the backup is done, insert the disk and hold down the C key until the machine boots off of the DVD. At the point you get to the start window, go to the menu and choose the Disk Utility.
    In the Disk Utility, reformat the drive. You go to the actual DRIVE (not the Macintosh HD, but the root above it that is the actual hard drive device)
    I always do this and *partition* it into several volumes, the benefit being, you can store all of your music, documents and importans stuff on that secondary storage volume you make - it will have it's own index and then the first volume is where you put the OS and it will have it's own index as well. That way, if the OS throws a wobbler and you need to reinstall, you don't lose your data.
    Depending on the size of your hard drive, it is good to give your OS partition at least 60GB and optimally 100GB, and the rest for storage.
    Name your volumes, use the little box sliders to manually size them or put that number in the size window, select for the format, Mac OS Extended (Journaled) and hit Apply and then the Disk Utility will quickly create your new partitions.
    Once finished, quit the Utility and it will return you to the OS installer. Select the volume you want to install to and it should start up and install.
    Once the installation is done, you'll get the new machine startup then you MUST put in a password for the computer. Once you're in, and to the desktop, don't bother with any Mountain Lion updates, go right to the App Store and get the Mavericks update and let it install the app to your Applicaitons folder, then do that install.
    On a side note, there MAY be a way to make a disk image from the Mavericks application and avoid the entire Mountain Lion step.. I honestly do not know, but a bit of hitting the search engines may find out if there is. I think that if you looked for "make Mavericks boot disk or boot image' you may find something.
    Good luck!

Maybe you are looking for

  • FMS auto disconnects when using a class

    I am trying to implement a very simple class that will create an instance of the NetConnection object and connect to the FMS server. However, the client will connect then immediately disconnect when the swf is published. My code is as follows... FLA

  • Can you please help on Service Classifications in Service Registry

    Dear SDNs, I am new in this SOA Area, with no experience. I could not manage to find relevant details for the following need, If you could put some light into it would be great help and appreciate it. 1. I need the precedure how to create highrarchic

  • Launching WinWord as editor from Form 11g text field.

    In Forms 6i FORMS60_EDITOR registry entry allowed users to launch MS Word from the application. This enabled them to have an editor with spell checks and other advance editing features. Upon exit from MS Word, the content of the file was saved in the

  • Easy question - set an image as a variable

    I'm using CF7 so I don't have the cfimage tag yet. I need to set a variable as an image. I'm using a cfswitch /case to determine if a color should go in a box. I've set the background color's successfully as the variable but now the customer wants it

  • Calendar Drag and Drop not working

    Hi All, I am trying drag and drop feature in calendar. I added Calendar Drop Attribute and associated a listener from my backing bean. Upon Drag and drop activity listener is not fired. Below is the xml fragment <af:calendarDropTarget dropListener="#