Please HELP I am desperate!

Hi there,
If I type
System.out.println("test");
the output gets sent to the server output window.
I have a project that I am doing that incorporates Jess (written in java fyi) and it is supposed to run when i invoke say this line:
rete.executeCommand("(run)");
However, all the output gets sent to the Server output window. I have been trying tonnes of ways to get the output to be printed elsewhere, even trying to write the result to a file but to no avail.
I think it's becuase the rete.executeCommand statement prints everything out in a similar way to System.out.println(yada yada);
Is there anyway I can get this output from the server output window?
please help.
Thanks in advance

Hi,
you have to modidy the PrintStream :
ex :
// I want the output write in a file :
System.setOut(new java.io.PrintStream(new java.io.FileOutputStream("d:/test.txt")));
System.out.println("Hello world");
Hope this will help you !
Badr.

Similar Messages

  • Please help.  getting desperate. i cannot set up 3g on my ipad 2. when i go to mobile data in the settings there is no option to view account. which is apprently what i need to click on, any help greatly apprectiated

    please help.  getting desperate. i cannot set up 3g on my ipad 2. when i go to mobile data in the settings there is no option to view account. which is apprently what i need to click on, any help greatly apprectiated

    I got mine (2 weeks ago) 64GB WiFi+3G (Verizon) from the apple store online
    I didnt have to do anything to it, turned it on, activated it, got it on my home network then I signed up for the 3G data service, it works where ever I happen to be. (if there is an unknown WiFi connection available it asks me if I want to join before it continues to connect to the 3G when I am surfing or getting e-mail)
    do you have an Apple Store close enough to travel to?
    I am only assuming here, but since you have a SIM you are not in the US correct?

  • I lost my ipod today and i tried using "find my ipod" in icloud using my friend's ipod and i found out my location services was turned off. please help. i'm desperate. i paid for it and its the 5th gen. HELP.

    PLEASE PLEASE PLEAAASEEE HELP!!!!
    As i said up there , i have lost my ipod touch 5th generation today. worst day ever. im 14 and i paid for it with my own money. $317!! i was so proud of myself. so i went to the mall and i put it in a bag and got home and went to the park behind my friend's house. now im not sure if i brought it with me to the park (dont think so) or it fell in my friend's room after i came home from the mall. but i seriously can not find it and im REALLY sad. i have been balling my eyes out throughout the whole day and me and my five friends including my parents and my friends mom have been looking for it. i heard something about telling the police or something and they would help?? i'm not sure about that. cause why would they wanna help a 14 year old girl find an ipod touch when theres other very important matters. Even though this is SUPER important to me, it may not be to them. ik this is all my fault. mother always said "dont leave it in your back pocket" and of course i do while i skateboard. wow. im stupid. i need to gaurd that thing with my life. its very expensive. please help. this ipod is like my life. it was logged onto instagram and facebook and a bunch of social sites. yes, i have a lock on it but cant they go to a store and say "i forgot my password" and they hack into it? i changed my instagram password and apple ID password so far. but i really need to find this ipod. tomorrow im going to the park to look for it in the grass. HOPEFULLY IT IS THERE. then im going to the apple store if i dont find it. i will go to extreme measures for this ipod. ITS THE FIFTH GEN. BLUE. its beautiful. i already broke my 4th gen ipod like 2 times. but thank you for reading all this.. i need help D:

    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    - You can also wipe/erase the iPod and have to iPod play a sound via iCloud.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it.
    - Apple will do nothing
    Reporting a lost or stolen Apple product                               
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number
    There is little chance of recovering your iPod. The police will do little. It it is turned then they can contact you.

  • PLEASE HELP I'M DESPERATE! I know there are lots of issues with media going offline. I am creating a slideshow of pictures with audio. The audio has gone "offline" and it is not able to reconnect.

    I am using the same computer that the file was originally saved on, so that isn't the problem. I have tried multiple times to reconnect the files, but nothing happens. The sound was edited a little in Garage Band, then saved to the desktop, then edited more in FCP. I don't think that should make any difference but who knows. Please help, I've been working for hours now!

    Hi Hannah. Afraid you're in the wrong forum. If you go to the Final Cut Studio forum, you can get lots f good advice on your issue.
    Russ

  • Please please please please help!! Desperate

    Ok, I've had my iPod mini for about 2 years. I have a problem with my iPod and I've been trying to fix it for a really long time like a year or more and it's driving me nuts. So I'm connecting my iPod to my computer to update it and download songs right? Well when I do it does the normal thing with the Do not disconnect sign and the sentence in the middle and this mini cycling thing to the top left corner of the screen to show that it's connecting I guess or something. But it won't appear on my iTunes and it just keeps charging and saying do not disconnect but there's this folder that opens up that's from my iPod that has the folders calenders, contacts, and notes. I recently went to the apple store to get it fixed and the guy connected it to one of the laptops they have and it's fine and everything and the guy says that it might just be that my computer has a virus and blah blah something about software. Well I downloaded the new version of iTunes and now I have no idea what to do. Please help!!!! Please email or just reply to this @ michael_shortykid202yahoo.com

    Thanks So much Rama.
    Unfortunately I cannot post the entire error.  It won't let me attach pics because my account was not verified etc.  I will summarize the error below to provide more info.  When you say custom activity what do you mean?  DO you mean custom
    code?  Or just custom actions?
    The other developer did not go into the XOML.  The file is huge.  What is the custom activity I am searching for to remove?  I do not need to touch the rules file am I correct?  Only the straight XOML.  I see things like Rule_ID239
    for condition name.  So these rule numbers I cannot figure out without any reference.  SO your method does seem the best.  So an example of custom activity would not be a regular branch activity or variable activity correct?  There are
    many  conditions and steps but they were made from the GUI.  
    I am the first one going into the code.  Any help would be so appreciated!  Thank you Rama.  I have gone through most of the code.  Perhaps if I knew what should not be there I could know better what to remove.  Any advice on that?
     Thank you for responding so quicklyu
    Here is a summary of the error exactly as I see it:
    SharePoint Designer cannot display the Item.
    What you can try:
    (green bullet) Click the Refresh button or press F5 to refresh the content from your site
    (green bullet) Go back to the previous page
    MOst likely causes:
    (green bullet) The file has been deleted from the site
    (green bullet) The site is encountering problems

  • Please help 6600 Fold - Desperate!

    Hi,
    I have just received this new phone and was so excited but think it may be broken. After 30 minutes of trying to get the battery cover off, I have noticed that my double tap doesnt work at all. It doesnt mute calls, it doesnt bring up the time. I have checked that the sensor is on in phone settings so does anyone else know what might be causing this. Please help, I am getting so frustrated.
    Thanks in advance
    Danielle

    It sounds like it may be faulty, unless it has been dropped.
    Take it to a nokia care point and they can check it out for you. It may be an easier option to return it to the retailer and ask them to exchange it.
    Care points/service centres and repair info:
    UK • Europe • Asia-Pacific • USA •
    Canada • Middle East and Africa
    Elsewhere: Click here, select your country, go to the support section, then select repair.

  • TS3999 HELP my work calender has vanished from the icloud and i cant find it PLEASE HELP I AM DESPERATE!

    HELP! I have my calender on my iphone saved and updated on the icloud, today it has vanished!!!!!!!!!!!!!!
    No idea how or why, please help!

    Go to settings>icloud and turn off calendars.  Then turn on again.  That might bring them back.
    If not, test the account by using a browser to log into icloud.com and go to the calendar page.  If not there, then for whatever reason, they're gone.  You might try performing a restore from an icloud backup, if you have that turned on.

  • TouchSmart tx2-1370us HUGE issues with new battery PLEASE HELP I AM DESPERATE!!!!!

    I purchased a new battery for my laptop. I got a LHP-41XT which is supposed to last longer... the following issues I initially thought were because I got a defective battery but I replaced it for another one and they are still happening:
    Battery is fully charged. When power cord is disconnected after a random amount of time the computer just dies while the charge does not even get down to 80%. The computer does not even go into the shut down process, it just completely dies.
    When trying to turn on the computer with battery it starts to boot up and after a few seconds it completely shuts off. After that no matter how many times I press the bottom to turn it on it just wont even try to turn on. I have to turn it on with the cord. 
    To try to remediate the problem I have tried and failed the following:
     -  Get a new battery of the same model in case the problem was the battery
     -  Calibrate the battery using every single option there is (changing power profile to "Calibrate," letting the computer discharge completly without using it, letting the computer discharge completly using it, letting the computer discharge completly without using it in while in safe mode) but the computer just keeps on dying.
     -  Change all the power settings so the computer does not hibernate, go into shut down, or does anything when the power levels go down.
     -  Erase completely the battery drives so the computer does not try to detect the battery charge.
     -  Upgraded the computer bios to the latest version
     -  Replaced BIOS battery
    Please someone help me I do not know what else to do and I don't want to keep wasting money to try stuff that does not work...

    No I haven't and HP seems not to care about the problem so guess what. No more HP's for me anymore....

  • Router suddenly no longer works with my iMAC. Please help, I'm desperate.

    SSIA, pretty much. One day, after a few years of working fine, my Linksys BEFSR41 Vers. 3 router just stopped working with my iMac. I've dtermined through process of elimination that it is indeed the router since I can access the internet by plugging the cable modem directly into my Mac and thus can write this to you guys now. I tried just hooking up the Mac and the router directly and trying to access it through the http://192.168.1.1 address. Didn't work. So I thought the router just crapped out for some reason. Then I went out and bought a brand new Linksys BEFSR41 Vers. 3 router. Considering I had no problem with the first one for a few years it seemed reasonable. Now that one won't work either. Although I can access it via the 192.168.1.1 address. However once I do that, I no idea what to do. I tried to upgrade firmware and that was only supposed to "take a few minutes" but it said that for 3 hours so I stopped it. The thing is, with the first router I didn't need to do a thing. All I had to do was plug it in and it worked beautifully with my iMac and TiVo. Maybe something in my iMac wigged out and that why it won't work with these things anymore. I don't know. Does anyone have any suggestions as to what I can do to get my iMac and TiVo back online again via this router? I truly appreciate any help and the patience it must've taken you to get this far in reading long post.
    Sincerely,
    Scott

    Oh my God thank you so much. I spent the last week trying to figure this **** thing out and that's all it took. Sometimes the most simple explanation is all that's required but last looked at. Thank you for pointing out the obvious. I kinda wish Linksys would've pointed that out to me when I exchanged a total of 25 e-mails with them. Oh well. Thank you again. I am so grateful.

  • Ipod nano wont turn on!!! Please help I'am desperate! :(

    By mistake, i dropped my ipod on the floor and seconds later i tried turning it on and it wont turn on at all. I tried restoring it by pressing the menu and select button and i toggeled with the hold button for several minutes. I got this ipod a year ago ,but my 1 year apple warrenty just expired and the "apple operator" led me to this discussions web site. The screen is not cracked or chipped,but it simply wont turn on!! When i plug my ipod into the computer, itunes doesn't not show up and when i open(itunes) it manually it stays the same. Also, i tried charging it overnight and the ipod still wont turn on. Someoen said i have to buy another battery for the ipod?? ( I have no idea!) Any suggestions?? Should i just buy another one?
    Your help is greatly appreciated!!
    Thank you!!!

    I'd say that the iPod is toast.
    Easiest thing at this point would be to get the iPod repaired through Apple ($99), or to get a new unit.

  • I'm still having problems with XUL Runner - please help am getting desperate!

    I recently sought help over a problem I am having with FF. When I try and load it, I get a message telling me that XUL runner 1.9.2.11 is not compatible with 1.9.2.12. The advice I received was to do a clean install. I have done this a number of times - using the Uninstall option in Control Panel as well as running the uninstall utility in the Firefox program folder. Each time I reinstall, and get the same problem. The only difference is that a few days ago I was installing FF 3.6.10, and that gave the error message that XUL runner 1.9.2.11 was not compatible with 1.9.2.10.
    I have FF set as my default browser, so when I click on links in e-mails, etc. I get the same failure to load symptoms. However, I found by chance that FF works OK in conjunction with System Mechanic 10 - a maintenance utility I have on my machine. If I select the on-line help option from that Menu, FF loads and runs OK. I can open new tabs and have no problem loading other pages. However, even with FF open, if I click a link in an e-mail, I get the XUL Runner error message.
    Although not all symptoms are the same, I am also having problems with IE8. When I run the program it loads, shows a 'connecting' message in the tab header, then closes. If I uninstall FF, then System Mechanic selects IE8 as the default browser, and as with FF, loads OK.
    Chrome and Safari both run OK (thankfully). there must be someone out there who knows what this all points to - is that person you?!
    Note: Trouble shooting information retrieved using FF when opened with System Mechanic.

    If you have such problems then you need remove the Firefox program folder before installing a new copy of the full Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.

  • Can't reinstall os x - please help I'm desperate and at the end of my rope

    We have an iMac G5 running OS X 10.4
    all of a sudden it stopped working (when we tried to reformat a G3 ipod from PC to mac)
    so we restarted - it gave us the question mark
    restarted again, unplugged for 30 seconds, still question mark
    so we're reading all the support online, disk utility repair doesn't work - errors out
    so we go to reinstall from the install disks -
    but when it comes Select Destination Volume
    there is no volume!! I googled and found that someone said he "formatted the image" or something like that, but I have no idea what that means and couldn't find out how to do it in disk utility or anywhere else.
    any suggestions please? going crazy here.
    thanks in advance,
    k.

    k.,
    "how does one go about using a 3rd party utility to repair ..."
    You go out and buy a copy of DiskWarrior or Tech Tool Pro. Once you have it, insert the CD into the drive and reboot from the CD (hold down the c-key during boot). Then repair the disk and restart.
    "...or doing an archive&install?"
    1. Insert the Panther or Tiger install-DVD and reboot while holding down the c-key
    2. Once you are booted go to the menu and select disk utility
    3. Repair the disk and Repair permissions!
    4. Quit disk utility and proceed with the installation
    5. Under "options" select "Archive&Install" and check the box "keep user and network data".
    6. Install Tiger
    7. Restart
    8. Go to the folder Application/Utilities and run disk utility to repair permissions again.
    9. Download (or open if you downloaded before) and install the latest Combo update: Mac OS X Update 10.3.9 (Combo) or Mac OS X Update 10.4.8 Combo PPC.
    10. Restart and repair permisssions
    11. Go to the Apple menu and select "Software Update"
    12. Install all missing updates and restart.
    13. Repair permissions
    Good luck!
    If this answered your question please consider granting some stars: Why reward points?

  • Sending a mail in a projector(.exe) please help, I'm desperate!!!!

    I am using flash mx and I created a .exe but I when I press
    an email I want my program to open the users outlook or mail
    program. I tried using jugglor but this has caused me more trouble
    than a solution because it runs differently in every computer I've
    tried it after I've compressed my program with jugglor. So I want
    to know if anyone has another solution for sending mails through
    flash mx in an .exe proyector.
    Since I'm loading xml files and .swf files I had to change
    the path names and use _5C and _5F and local_25, but they don't
    seem to work in all the computers that I've tested it, the files
    don't load when I use the loadMovie and the doc.load. The strange
    thing is that in some computers it works fine and in others it
    doesn't work. The part of the email is not the problem, it's the
    loading files that I'm having trouble with. So is there another
    program that I can use to send mails through a .exe? without having
    to change paths and not affect the way my program loads .swf files
    and .xml files?
    Thanks a lot.
    Brenda S.

    can you give us more info??..
    Like Windows version...
    Is it a hacked version of Windows?
    Is your iPhone hacked?
    If so... google for it.
    Cheers

  • Dear some awesome person PLEASE HELP ME. Desperate

    Can't install or re install apps on my ipad4.  There's a symbol that looks like the cloud with a down arrow in it and when I click on that to re install an app NOTHING happens.  If I try and install a new app, says install, I click it then the same symbol but can't install or re install any apps.  It's killing me. 

    Here is a picture of something like what comes up next to all my apps:  https://www.google.com/search?q=cloud+symbol+with+a+down+arrow&client=safari&hl= en&source=lnms&tbm=isch&sa=X&ei=VGjZUeC_FbHj4AOFloHADA&ved=0CAkQ_AUoAA&biw=1024& bih=672#biv=i%7C2%3Bd%7CYAIwFC6GalYVxM%3A
    What is this?

  • [SIS Series] Please Help! Quick Compatability Check. DESPERATE!!!!

    Please Help!
    I desperatly need confirmation that these motherboard and cpu are compatible. i just bought 'em.
    Motherboard:
    http://cgi.ebay.com.au/ws/eBayISAPI.dll?ViewItem&rd=1&item=6764461654&ssPageName=STRK:MEWN:IT
    CPU:
    http://cgi.ebay.com.au/ws/eBayISAPI.dll?ViewItem&rd=1&item=6763758877&ssPageName=STRK:MEWN:IT
    There's been alot of confusion with this between alot of people
    and intel said to ask you.
    thanks.
    Chris Malone

    I can't really go with a good name. :(
    on a very tight budget.
    would anything too bad happen if i just chucked the MB into my old celeron case with 240W power?
    and the graphics card which i have already recieved, says on the box:
    Minimum 250W power supply.
    any problems there?
    and what are pplz oppinions of the Geforce fx 5200 in terms of value for money?
    i reckon i coulda got better :(
    and lastly, i've never installed a cpu b4, only a heatsink/fan.
    do u just pull up some metal hook or something on the motherboard and slip it in?
    that's all i've seen on a demo on intel.com
    can't wait till i get my new p4 up 'n running

Maybe you are looking for