Is there any way to send output in BlueJ to a .txt file?

I want to send the output of my BlueJ program to a .txt file. Is there any command to do it? If yes, then please tell me the syntax of that command along with an example using it?

Again, you're just misunderstanding the tools you're using. Java should do that, not BlueJ. You have to research this from the perspective of writing Java code to do it. If you search how to make BlueJ do it, you won't find it because BlueJ has nothing to do with it.
So you know your basic requirements.
- you use System.out
- you want that to go to a file in stead of to the command prompt / BlueJ console
Do you know how to work with files yet? If not, that would be something you need to learn right now. And after that, try a Google for "java System.out file" and see what you get.

Similar Messages

  • Is there a way to send output from a Concurrent Request via email in r12?

    We are looking for a way to send emails out from the Concurrent Request output in r12.
    Discussions internally have involved using Unix procedures/commands but we were looking for an EBS integrated solution if one is available.
    I did find document 811716.1which seems to provide a solution, but the patches and information given are for 11i (we are r12). If this functionality is available in r12, is there any further documentation we can use?
    Any assistance would be appreciated.
    Thanks.
    Kevin
    Edited by: user3065048 on Jul 21, 2009 2:52 PM

    Duplicate post.
    Is there a way to send output from a Concurrent Request via email in r12?
    Re: Is there a way to send output from a Concurrent Request via email in r12?

  • I just bought an new ipad mini with wifi and cellular. Is there any way to send text messages to people and contacts that do not have iphones such as friends with blackberrys or a samsung galaxy smartphone.

    I just bought an new ipad mini with wifi and cellular. Is there any way to send text messages to people and contacts that do not have iphones such as friends with blackberrys or a samsung galaxy smartphone from this ipad. Everytime I try to send a message to a person that does not have an Apple product ( Iphone or Ipad ) it comes up saying contact is not registered for iMessage and wont send it. I can only send them a message from my iPhone 4 instead. Do I have to install a new App from the App store to send these non iMessage cell users a message?

    FYI
    Complete guide to using iOS 6
    http://howto.cnet.com/ios-6-complete-guide/
    Guide to Built-In Apps on iOS
    https://sites.google.com/site/appleclubfhs/support/advice-and-articles/guide-to- built-in-apps-ios
    You can download a complete iOS 5 iPad User Guide and iOS 6 iPad User Guide here: http://support.apple.com/manuals/ipad/
    Also, Good Instructions http://www.tcgeeks.com/how-to-use-ipad-2/
    Apple - iPad - Guided Tours
    http://www.apple.com/ipad/videos/
    Apple iPad Guided Tours - Watch the videos see all the amazing iPad apps in action. Learn how to use FaceTime, Mail, Safari, Videos, Maps, iBooks, App Store, and more.
    http://www.youtube.com/watch?v=YT2bD0-OqBM
    http://www.youtube.com/watch?v=ROY4tLyNlsg&feature=relmfu
    http://www.youtube.com/watch?v=QSPXXhmwYf4&feature=relmfu
    How to - Articles & User Guides & Tutorials
    http://www.iphone-mac.com/index.php/Index/howto/id/4/type/select
    iPad How-Tos  http://ipod.about.com/lr/ipad_how-tos/903396/1/
    You can download this guide to your iPad.
    iPad User Guide for iOS 5
    http://itunes.apple.com/us/book/ipad-user-guide-for-ios-5/id470308101?mt=11
     Cheers, Tom

  • Is there any way to send sms in MIDP1?

    Is there any way to send sms in MIDP1 which doesn't support WMA (MessageConnection, TextMessage, ...) ?
    It seems it should, because in MIDP 1.0 documentation is note about sending sms using protocol sms://destination:port and that it returns DatagramConnection but there is no example and I really don't know how to create new Datagram to send TEXT message. It can only be created from array of bytes so it seems it can only send binary messages (?!).
    Plz help me...

    what special API where i can get it any link or information about that APi
    regards
    abdul rafiq jani
    Applitech Solution Limited

  • Is there any way to send email messages to Ipages

    IIs there any way to send email messages to Pages please

    Tap and hold or double tap to highlight a word in the email.  Drag the handles to capture what you want.  Tap copy.
    Now paste that into Pages by tapping and holding until you see the paste button.
    See p. 26 of the User Guide.

  • Is there any way to send notification to site administrator in case an outage occur on o365

    is there any way to send notification to site administrator in case an outage occur on o365

    Hi MGPZ,
    check the following URLs and let me know if helpful
    http://community.office365.com/en-us/f/148/t/222609.aspx
    http://technet.microsoft.com/en-us/library/office-365-service-health.aspx
    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation

  • Is there ANY way to send something through Bluetooth to an android phone?

    Is there ANY way to send something through Bluetooth to an android phone?

    I think I sorted it out:
    On your Mac, go to the Bluetooth preferences panel after pairing your (your android phone) to the Mac.
    Select (your android phone) in the left-hand menu, then use the little cog to pull down a list of options.
    Select "Edit serial ports..."
    Click the '+' icon, and in the Port Settings section, select OBEX Object Push.
    Protocol should be automatically set to RS-232. Click "apply" (and probably "require pairing" to be nice n secure) et voila!!
    so far, so good

  • Is there any way to send some one a password protected pdf that only they can access/view with a password?

    Is there any way to send some one a password protected pdf that only they can access/view with a password?
    Thanks!

    Hi wonderingtoday,
    Yes, you can! If you have Acrobat, you can assign an "Open Password" to the PDF, so that only people who have that password can open the PDF. If you don't have Acrobat, you can try it for free for 30 days. For more information, see www.adobe.com/products/acrobat.html.
    Best,
    Sara

  • And is there any way to send sms in MIDP1?

    And is there any way to send sms in MIDP1 which doesn't support WMA (MessageConnection, TextMessage, ...) ?
    It seems it should, because in MIDP 1.0 documentation is note about sending sms using protocol sms://destination:port and that it returns DatagramConnection but there is no example and I really don't know how to create new Datagram to send TEXT message. It can only be created from array of bytes so it seems it can only send binary messages (?!).
    Plz help me...

    what special API where i can get it any link or information about that APi
    regards
    abdul rafiq jani
    Applitech Solution Limited

  • Is there any way to send sms through j2me

    hi all,
    is there any way to send sms through j2me or any way to communicate with real device through emulator or from emulator to another emulator
    any sugesstions appriciated
    abdul rafiq jani
    applitech solution limted

    what special API where i can get it any link or information about that APi
    regards
    abdul rafiq jani
    Applitech Solution Limited

  • Is there any way to send an album without all the photos attaching and the file being huge? and the file being huge?

    Is there any way to send just a link to an album? (vs attaching everything and having a huge file?) Thanks!

    No.
    File -> Export and send them to a Folder on the desktop. Then do what you will with them from there.
    There is nothing to be gained by installing Picasa if you're using iPhoto.
    Regards
    TD

  • TA38622 is there any way to send sms by a connected iPhone to computer ? if so does it need any special application and program ? with witch port ? thank you.

    is there any way to send sms by a connected iPhone to computer ? if so does it need any special application and program ? with witch port ? thank you.

    Hi, Santosh..., and welcome to the Community,
    I would recommend testing the SMS reply forwarding to your mobile number.  Depending upon the results and if this works for you, you could then contact Skype Customer Service to cancel and request a refund.
    In other words, SMS will be received via your mobile number, not via your Skype Number.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Is there any way to send more then 1 parameter to the listener function?

    Hi guys, so is there any way to send more then 1 parameter to the listener function?

    Hi,
    sure.
    The first variant is to add many parameters to event.
    The second variant is to extend calling callback functions.
    For example,
    public function addCallBack(eventName:String, callBack:Function = null, ... rest):void
         // save callBack function and event type and other args (rest)
         addEventListener(eventName, myHandler);
    private function myHandler(event:Event):void
         // get function and args by eventName
         fnc.apply(null, [event, args]);

  • Is there any way to send Attachements with Sender file adapter

    Hi,
      I am Using File to Proxy communication model. Is there any way I can use file attachments with Sender file adapter with communication protocol "FTP". Please on suggest this.
    Regards,
    Daniel.LA

    Hi,
    I think there is no Option with FTP Protocol to send the files as Attachments.
    Try this
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    Regards
    Seshagiri

  • Is there any way to send HR-specific IDoc to CRM?

    Hi,
    Does anyone know if there's a way to send SAPHR-specific IDoc, which does not exist in CRM, from HR to CRM? 
    If this IDoc was created in basis, there won't be any problem, since the IDoc type and message type would exist in both HR and CRM. But if the IDoc and message type are HR specific, which means they don't exist in CRM, is there a way to send the IDoc to CRM for processing?
    Thanks,

    Hi, Tiest
    Thanks for your reply. Actually, I'm look for a solution to download HR employee balance to CRM. The IDoc type in HR is HRCC1DNBALAN01.
    The problem is that, not like IDoc HRMD_ABA, which exist in basis, this IDoc type and related message type don't exist in CRM.
    How can I use this IDoc type in CRM?
    Thanks,
    Wei

Maybe you are looking for

  • Re Messenger unwanted message

    I don't use Messenger but I'm getting a message constantly and I don't want it. How do I turn off Messenger?

  • Can PCI 6031E handle multi-buffered data acquisition

    If so can anyone send me some instructions or LabView code. Thank you in advance.

  • How to change photostream account on apple tv?

    When I initially set up my Apple TV 2 screensaver I used one photostream account just to test it out... But now I'm using another account and need to change the account that is used on the apple tv's screensaver. Is there any way to do this without c

  • Flash Updates

    I'm getting frequently messages from my Windows OS re Adobe Flash Player Update Service 11.3 r300 encountered a problem and had to close. Any ideas?

  • Error with /usr/bin/cyrus/tools/mkimap

    I get the following error on a /mkimap after setting /var/imap to /var/imap.old server:~ root# /usr/bin/cyrus/tools/mkimap reading configure file... i will configure directory /var/imap. i saw partition /var/spool/imap. done configuring /var/imap...