Java class that accesses the operating systems shell?
i have been told by my boss to find a class that will allow him to send and recieve information to the operating systems shell, as in dos, if i do not find the solution i am to be fired, please help me....im jp...but for real help me out
i have been told by my boss to find a class that will
allow him to send and recieve information to the
operating systems shell, as in dos, if i do not find
the solution i am to be fired, please help me....im
jp...but for real help me outIt doesn't seem that you have put yourself in a very good situation if you are about to be fired.
At any rate I think you want to use the Process class. Look at the API documentations for java.lang.Runtime and java.lang.Process. Using Process you can launch other programs (like system ones that run in the console) and you can read and write to the process using the input and ooutput streams of the process.
If you have more questions pleas be sure to post your formatted code so that we can be of more assistance.
Good luck to you and have a happy day.
Similar Messages
-
I need help, i am not sure what operating system needs to be installed. I have a mac and the operating system is up to date.
Creative Cloud programs are not spec'd to work with Mac OS X 10.6.8. You would have to upgrade to at least version 10.7. You should check the system requirements for all of the programs you wish to install to see what the minimum is that would cover all of them. Just Google "InDesign system requirements" to find them for InDesign, and repeat for the other programs using their names instead of InDesign.
-
Backing up an external HD with that has the operating system on it.
My Hard Drive in my Imac has become too small so I have been running the imac from a larger external hard drive. Is it possible to connect Time Machine to back up only the external drive with the OS on it. It wants to back up the internal Hard Drive as well which is not what i want.
Check in System Preferences>Time Machine. You should be able to exclude the internal drive.
~Lyssa -
I-tunes is note letting me access i-tunes store without first dowloading the new version of i-tunes. The problem is that my older operating system won't work and is not allowing the newer i-tune versions to work. How can I just get use the old i-tunes?
Hi,
Not sure if any of you above have managed to solve your problem or not but after coming across this same problem myself today as I am currently 'sofa bound' I decided to make it my mission to find a way around it.
Initially I did think, having ready what seemed like a million questions and people with the same problem, that the only way was to buy OS X 10.5 ... HOWEVER, no. In among all these threads I found a jewel - Download I Tunes 9.2.1 which gets rid of the download itunes 10 advert and allows you to then buy from itunes again :-) I am now one very happy lady.
I apologise to all those that dont have older versions of OS X that maybe wont support even this upgrade but certainly for those like me with just 4yr old lap tops at least it means it not longer means buying a new one.
Hope this helps son very frustrated people like myself - so much for apple support! -
How do I disactivate the operating system on my macbook that was stolen from me?
So in early September someone who I know broke into my apartment and stole my computer, I called the police and filed a report. I have some very snesitive documents on the computer that I would prefer no one to get their hands on. I was able to find the operating system disk I had purchsed to update the operating system a few years ago so I have all of the information associated with the OS. I do not know the IP address of the computer or exactly where it is (obviously or I would have it back). I want to basically turn the OS off so my files on the computer cannot be opened or used. Is there any way to disactivate the OS remotely like you can with Windows (if you use the product key on another PC it deactivates the previous version). I don't know if it matters but it was a late 2006 macbook (black) model 13" screen.
What To Do If Your iDevice or Computer Is Lost Or Stolen
If your Mac, iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should do in advance - before you lose it or it's stolen - and some things to do after the fact. Here are some suggestions:
1. Reporting a lost or stolen Apple product
2. Find my lost iPod Touch
3. AT&T, Sprint, and Verizon can block stolen phones/tablets
4. What-To-Do-When-Iphone-Is-Stolen
5. Lost or Stolen iPhone? Here’s What to do
6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
7. Find My iPhone
It pays to be proactive by following the advice on using Find My Phone before you lose your device:
1. Find My iPhone
2. Setup your iDevice on MobileMe
3. OS X Lion- About Find My Mac
4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
Third-party solutions for computers:
1. VUWER 1.5.4
2. Sneaky ******* 0.2.0
3. Undercover 4.7
4. LoJack for Laptops Premium Mac
5. STEM 2.1
6. MacPhoneHome 3.5 -
I have a dual boot lab that I set up for a school. The partitions consist of Mountain Lion OSX and Windows 7 Ent. I use bootpicker software for choosing the operating system at startup. When I select the windows partition, it take just under 2 minutes from selection to the windows login screen. It seems to take incredibly long for the mac to "shut down and hand over the operating system to windows.
Do you have any suggestions on how to get this timing faster?
Thanks for any ideas/inputThe only suggestion I can make is to look ar ReFind (previuosly ReFit). Startup mamangement is one of its features.
But
It is very powerful so test it for yourself before deploying it. Some of the functions are best kept out of the hands of the curious, or 'playful'
And you never answered this question.
Tell me what the needs are, do the users always need to choose Windows or is this a variable? -
Is there any way that I can get back my iPhoto? After having hard disk replaced (no backup) and the operating system has been updated to Lion (no disc) I am wondering if iPhoto can be reinstalled with my Leopard discs?
As Niel pointed out, yes. The disk probably will look like the MBP disk (4) in this screenshot;
OT -
I am selling my Mac Mini. I recently purchased OS X Lion. When I restore to factory settings, how can I ensure that the operating system will still be Lion, and not the original operating system, which I believe was Snow Leopard?
If you bought Lion from the App Store, you can't legally or practically transfer it, because it's tied to your Apple ID. Reinstall the original software from the discs that came with the machine.
-
I had to delete everything on my computer and install the operating system again , but I had to install Snow Leopard because it was the cd that came with the computer when I bought it. The problem is that I had already paid for the OS Lion and even had upgraded to the Mavericks . I do not think it's fair to have to pay again and I would like to upgrade my operating system without having to pay again for the same system.
Hi anatuta,
Thanks for visiting Apple Support Communities.
It sounds like you are trying to upgrade your Mac to a newer version of OS X, after completing a fresh install of Snow Leopard.
If you have already purchased and downloaded OS X Lion and Mavericks, you should be able to find these items in the Purchased section of the Mac App Store.
You may find the steps in this article helpful with finding the items:
Mac App Store: Finding your purchased apps - Apple Support
If you do not see the items in the Purchased section, they may be hidden:
Hide and unhide purchases in the Mac App Store - Apple Support
All the best,
Jeremy -
I am having trouble updating my operatI am having trouble updating the operating system on both my ipad and iphone. I get a strange message when I open my PC desk top that says "the procedure entry point sqlit3_wal-checkpoint could not be located in the dynamic link library SQLite3.dll" Any ideas what my problem is?
Hi whatsthe77,
Welcome to Apple Support Communities.
You may want to follow the steps in this article to reinstall iTunes:
Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
http://support.apple.com/kb/HT1923
Have a great day,
Jeremy -
where can i get replacement discs of the operating system ...that originally came with my md311 17" macbook pro?
Call Apple and give them your serial number and they will send you the disks for a nominal charge.
-
Why Microsoft doesn't have correct fix to run automatically. How many years we need to cry with same error again n again?
Does any one have correct solution which will fix permanently while running more than 4000 systems in our environment
Manual stuff isn't easy. Pls provide permanent fix?
MP has rejected a policy request from GUID:27935EC8-95F1-4104-A613-E72D2A9764E0 because it was not approved. The operating system reported error 2147942405: Access is denied.This isn't a bug to fix. This is by design. Clients must be approved to be managed. Thus, only your configuration or expectations must be fixed. To correct your configuration, see the link Henrik posted. To correct your expectations, read the content linked
by Henrik.
Jason | http://blog.configmgrftw.com -
I have the CANON REBEL T5 1200D, and when i connect it to my mac which is 10.10 the new OS X YOSEMITE it says that it "Cannot be used with this version of the operating system" why does it say that if my camera is listed under the supported digital cameras for OS X YOSEMITE?
Put simply, the minimum system requirements for iTunes have changed. You need a Mac running at least OS X 10.6.8.
It's best you look online to see if your model of Mac can be upgraded to at least 10.6.8 "Snow Leopard". It should still be possible to order a copy of Snow Leopard if so. -
I had downloaded OS X Mountain Lion and had to replace my hard drive. Now when I try to download it only wants to upgrade since I show that I previously purchased it. What can I do to get the operating system back
I'm unclear on what the problem is. Have you installed a system on the new hard drive, and if so, what system? Had you actually installed Mountain Lion previously, or only downloaded it? And what does "it only wants to upgrade" mean? Have you actually got Mountain Lion already installed? (See About This Mac in the Apple menu.)
All Macs that shipped with Lion or newer are capable of internet recovery in situations like this. Just hold down command-R and it should start in recovery mode over the internet if necessary. You can reinstall the system from there. If you had Mountain Lion, I would assume that Mountain Lion would be the system you would get reinstalling that way. -
Really is not icloud that opens. It`s a message that says that icloud has problems to open with one specific account. This happens since I did the last actualization of the operator system open
You don't need to start a new thread - you just use the 'Reply' button at bottom right of the answering post. Anyway as you're here...
You should start by going to System Preferences (or is it called Settings in ML?)>iCloud and clicking the Sign Out button. Then sign back in again. Your iCloud data will disappear from your Mac when you do this (but not from the server) - it will reappear when you sign back in. Alternatively if the message identifies an account which is signed in at System Preferences>Mail, Contacts and Calendars you should log out and in there.
Maybe you are looking for
-
Any suggestions on problem I have. I receive images, say a file that is 3 mgs through email on Safari mail and when I try to resend it or forward it or any other larger file, when it sends the file is reduced by about 1/3. My screen does not show and
-
SP01: DI error -5002 Invalid Total ORDR.DocTotal
Hi All, i'm getting a strange error. i'm adding a sales order via DI. when the code is executed via the .net debugger it works great. when i create an installer and install the Addon i receive the error: -5002 Invalid Total [ORDR.DocTotal] do someone
-
Hi We are using Oracle Express Web Agent. In Java graph if we move the cursor on the grapgh it displays the exact measure value for that dimension value where the cursor is left. Is it possible to show all the values by default on the graph with out
-
Hi, I am sorry. I know this is a wrong place to post. Can somebody tell me how to tell Oracle to fix BROKEN LINKS. Particularly we will find hundreds of broken links in all Portal related sites. Thanks
-
Color shift @ grid view
Exported a couple of pics from LR3 (both JPG and NEF) as DNG, moved them to LR4: Correct color in dev mode, but in grid view or pressing e to view a single pic its color is significantly shifted (reredering previews did not help).