System.in newbie problem

I'm new in java and i can't find anywhere:
Like i have PrintWriter object (and OutputStreamWriter(System.out,"codepage");
I want the same thing, to read form windows console, for example a String... (is there an object, that is similar to OutputStreamWriter, but that is READS a String, and i can set codepage for it...)
Any other suggestions, how to read a string, from command line (but not as a parameter when i run the program).
how can i do this? Please help me.
i hope i decribed you my problem well

BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
input = stdin.readLine();

Similar Messages

  • Hello! My iMac frozed and I had to switch the electricty supply off and on in order to start again the system, with the problem that the screen looks wierd, I tried to calibrate it... doesnt works any suggestion?

    hello! My iMac frozed and I had to switch the electricty supply off and on in order to start again the system, with the problem that the screen looks wierd, I tried to calibrate it... doesnt works any suggestion?

    Dear Paul, thank you very much for your time and answer, I followed those steps, somehow it helped the performance of my Imac, is faster now, but the screen issue about the very High contrast colours is still there. Since I am a photographer I am very depending on the screen calibration. I am worried that I came to damage the video card when I shut down the computer from the swicth when It was frozed.

  • System Wide Permissions Problem

    I have a MacBook Pro, OS 10.5.8, which I've been using since 2009, and this is the first time I've encountered the problem described below.
    I'm suddenly having what seems to be a system wide permissions problem. Tonight I found I couldn't add a new folder (the option was grayed out), and I noticed a pencil icon with a line through it at the bottom of the window. When I chose Get Info for that window, my name was missing from Sharing & Permissions. There was also a new name, "wheel", which I've never seen before. (3 names in all: system, wheel, eveyone.) This affects a lot of folders stemming off the HD (Applications, Library, etc.), but my user folder folder is unaffected.
    I've rebuilt the permissions several times in Disk Utility, and also repaired the disk after getting an error message when verifying. But the permissions problem is still there.
    So I'm wondering what in the heck could have caused this, and how can I fix it?
    I found I could add my name back to the permissions list in one of the affected folders, using Get Info, and this solved the issue for that folder, but there are a LOT of folders with the same issue. Perhaps if I did this with the HD folder, and selected the "Apply to enclosed items" option at the bottom?
    FWIW, we just bought & set up a new iMac, OS 10.8.2, last week. I looked at a number of folders on it using Get Info, and it seems to be configured pretty much the same way with regard to permissions, which is a little spooky. Don't know if it makes any difference, but I used the same user name, login password, apple ID & password when I set up the new computer as I have on my Macbook. Could that have caused this somehow?
    Thanks for any help or thoughts.

    Thank you, BDAqua for the link.
    I use my MacBook Pro mainly for creating music (DAW program & plug-ins). I've occasionally had to change permissions on individual plug-ins, but never to a group of folders on this scale.
    I'm wondering if there's a way to get my old permissions back, or if I should leave it as is at this point, and add my user name to the permissions on individual folders as the need arises? Don't want to screw everything up, as this is getting a little over my head.
    Any recommendations?

  • System Hang up problem in CS-5 (5.0.0 and 5.02 both ver.)

    System Hang up problem in CS-5 (5.0.0 and 5.02 both ver.) I have HP machine with i 7 windows 7 and 8GB RAM. Here I'm pasting information from windows application errors:
    09/24/2010 1:43PM Description A problem caused this program to stop interacting with Windows. Faulting Application Path:     C:\Program Files\Adobe\Adobe Premiere Pro CS5\Adobe Premiere Pro.exe  Problem signature Problem Event Name:     AppHangB1 Application Name:     Adobe Premiere Pro.exe Application Version:     5.0.2.0 Application Timestamp:     4c731297 Hang Signature:     db9d Hang Type:     0 OS Version:     6.1.7600.2.0.0.768.3 Locale ID:     1033 Additional Hang Signature 1:     db9d73861cc870992719a1805a937a6a Additional Hang Signature 2:     54f8 Additional Hang Signature 3:     54f896ba0ceb58b7b8c95873e69e4a38 Additional Hang Signature 4:     db9d Additional Hang Signature 5:     db9d73861cc870992719a1805a937a6a Additional Hang Signature 6:     54f8 Additional Hang Signature 7:     54f896ba0ceb58b7b8c95873e69e4a38  Files that help describe the problem AppCompat.txt Adobe Premiere Pro.exe.xml WERInternalMetadata.xml memory.hdmp minidump.mdmp  View a temporary copy of these files Warning: If a virus or other security threat caused the problem, opening a copy of the files could harm your computer.

    Hi,
    if you post message, it would be great if you could include more information on the errors you are encountering. "startsap does not work" is not useful to give advises. You also may have get a quicker answer if you split up your long messages into smaller ones. In the middle of the text I found a simple question:
    How will I create the db2support file? Can you give me the command for this?
    Just use the db2support tool, which is described in detail in the DB2 documentation.
    I know that multiple customers has managed to setup SAP on DB2 using HACMP. In addition some customers use the new Tivoli System Automation for Multiplatforms (SAMP).
    Oh, I currently see that your message is from last year. I suppose you have solved the problems already.
    Regards, Jens

  • My iMac says I have 10.6.8 operating system now. Problem is I do not know if that is 'Lion' or 'Snow Leopard' ... and I wish to upgrade to 'Mountain Lion'

    My iMac says I have 10.6.8 operating system now. Problem is I do not know if that is 'Lion' or 'Snow Leopard' ... and I wish to upgrade to 'Mountain Lion'

    That is Snow Leopard.
    Upgrading to Snow Leopard, Lion, or Mountain Lion
    Upgrading to Snow Leopard
    You can purchase Snow Leopard by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The price is $19.99 plus tax. You will receive physical media - DVD - by mail.
    Third-party sources for Snow Leopard are:
    Snow Leopard from Amazon.com
    Snow Leopard from eBay
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store.
    Before upgrading check that you computer meets the minimum requirements:
    Snow Leopard General requirements
      1. Mac computer with an Intel processor
      2. 1GB of memory
      3. 5GB of available disk space
      4. DVD drive for installation
      5. Some features require a compatible Internet service provider; fees may
          apply.
      6. Some features require Apple’s MobileMe service; fees and terms apply.
    Upgrading to Lion
    First, you need to upgrade to Snow Leopard 10.6.8 as stated above.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
    Before upgrading check that you computer meets the minimum requirements:
    Lion System Requirements
      1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or
          Xeon processor
      2. 2GB of memory
      3. OS X v10.6.6 or later (v10.6.8 recommended)
      4. 7GB of available space
      5. Some features require an Apple ID; terms apply.
    Upgrading to Mountain Lion
    Be sure your computer meets the minimum requirements:
    Apple - OS X Mountain Lion - Read the technical specifications.
    Macs that can be upgraded to OS X Mountain Lion
      1. iMac (Mid 2007 or newer)
      2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
      3. MacBook Pro (Mid/Late 2007 or newer)
      4. MacBook Air (Late 2008 or newer)
      5. Mac mini (Early 2009 or newer)
      6. Mac Pro (Early 2008 or newer)
      7. Xserve (Early 2009)
    Are my applications compatible?
    See App Compatibility Table - RoaringApps - App compatibility and feature support for OS X & iOS.
    Am I eligible for the free upgrade?
    See Apple - Free OS X Mountain Lion upgrade Program.
    For a complete How-To introduction from Apple see Apple - Upgrade your Mac to OS X Mountain Lion.

  • Common newbie problems

    This list might help some people:
    What is a common newbie problem/question and what is a simple solution?
    Example:
    Q. Why do I get a java.lang.NoClassDefFoundError when I try to run my app from the command prompt?
    A. Use java -cp . MyClass

    The topics named at http://pjt33.f2g.net/javafaq/ are the ones which seemed to me to crop up most often. (Which reminds me - I really should get on with finishing that FAQ).

  • PHP form field not displayed [was: Newbie problem.]

    Hello good people.
    I have a very basic question to ask.
    Here is my index.html
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>PHP Test</title>
    <style>
    body {
        margin:50px;background-color:#232323; font-family:sans-serif; color:#B7B7B7; font-size:13px;
    input, textarea {
        border: #464646 solid 1px; background-color:#1C1C1C; font-family:sans-serif; color:#CECECE; font-size:10px; margin-top:15px; margin-bottom:15px;
    #submit {
        font-size:13px;   
    </style>
    </head>
    <body>
    <form action="index.php" method="post">
    What is your name?<br />
    <input type="text" name="name" /><br />
    What is your age?<br />
    <input type="text" name="age" /><br />
    <textarea type="text" name="tekstas" rows="5" cols="40">Your message.</textarea><br /><br />
    <input type="submit" value="Go!" id="submit"/>
    </form>
    </body>
    </html>
    And index.php
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <style>
    body {
        margin:50px;background-color:#232323; font-family:sans-serif; color:#B7B7B7; font-size:13px;
    </style>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>PHP Result</title>
    </head>
    <body>
    <?php
    settype($_POST["age"], "integer");
    echo "Your name is ".$_POST["name"]."<br />";
    if ($_POST["age"]!=0) echo "Your age is ".$_POST["age"]."<br /><br />";
    if ($_POST["age"]=0 ) echo "Please specify your age."."<br /><br />";
    echo "<b>Message:</b><br />".$_POST["tekstas"];
    ?>
    </body>
    </html>
    The question is:
    Why the Age part of php is not working properly? If I leave it black or type zero in the Age <input>, PHP just ignores the "Please specify your age" part of code.

    You're relatively new to this forum. Welcome.
    Please take a moment to read How to get help quickly. Using a subject line like "Newbie problem" is meaningless, and is likely to get ignored at busy times. Always try to use a descriptive subject line.
    The answer to your problem is very simple. It's a common beginner's mistake that even catches out more experienced people from time to time. It's in this line:
    if ($_POST["age"]=0 ) echo "Please specify your age."."<br /><br />";
    You have used only one equals sign, which assigns the value to a variable, so it always equates to TRUE.
    To compare two values, you must use two equals signs like this:
    if ($_POST["age"] == 0 ) echo "Please specify your age."."<br /><br />";
    There are other things that could be done to improve your code, but that solves the basic problem.

  • Oops the system encountered a problem (#104) in Gmail

    just recently i've been having problem sending and saving messages on gmail. the message that appears on the top of the screen says "oops the system encountered a problem (#104)" and it counts down seconds and nothing happens at last.
    anybody having the same problem and know of a solution?

    I haven't seen that error, but here's some general advice on website problems:
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    orange Firefox button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    In the dialog that opens, you can remove your Google cookies individually.
    Then try reloading the page. Does that help?

  • Lenovo System Update creating problems in fresh installation of Win 7

    I'm hoping I can get help from this forum...
    I have a Thinkpad R61 7742-CTO that has its original XP Pro operating system in day-to-day use.  It's time to finally update to Win 7 with XP due to sunset soon. (Although I think Win 7 is visually ugly compared to XP)
    I removed my "production" XP disk drive and did a clean installation of Win 7 Pro on the original purchase ("test") disk, including the 140-some MS updates available as of yesterday.  Everything runs fine, including using Windows Update to search for new important and optional updates.  So far, so good.  I next went to Lenovo's website and downloaded the current version of Lenovo's System Update.  Again, no problems once that particular program was installed.  I installed Lenovo optional updates also without encountering problems.
    However, when I load the Lenovo important updates, which include Access Manager, Power Mgr, etc., various intel and other "enhancements", things go wrong.  If I click on Windows Update, for example, I get a message that it is not running.  If I then do the net start/net stop wuauserv routines I found when searching the exact error message, I get the error:  System error 5 access denied.  I get the same message for several similar admin routines, particularly those involving "net".
    I have tried many of the supposed repairs, including MS Fix-Its, that appear in Google when I searched the error message.  None has worked.  (A couple Fixits I did manually and got the Access Denied messages again)  So I've rolled back using the restore point just prior to downloading the Lenovo programs, and everthing resumes working as expected.
    It seems that the Lenovo downloads are interfering with something, particularly my admin rights, in some way.  There's only one user (me) and it has admin rights, no password & etc.  Other odd things are Access Connections is running as is the basic Win 7 network app in the system tray.  Perhaps the Lenovo apps are interfering with the similar Win apps rather than replacing them as intended?
    Can anyone suggest an approach to solving my problem?
    Thanks,
    Greg

    Hello and welcome,
    It may be that TVSU is "updating" the AHCI driver (Intel Matrix Storage Manager or Rapid Storage Technology) to one that breaks Windows update.
    You can try rolling back the driver to an earlier version or going to the Intel site and getting a later one.
    http://forums.lenovo.com/t5/ThinkVantage-Technologies/ThinkVantage-System-Update-blocks-Windows-Upda...
    Z,
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Need help for a newbie problem

    I am VERY new to all this Java programming but have really started to enjoy it.
    I have two problems with my program that I can not find answers to.
    1. I am looking to find out why my code will not select the right answers when I select the first choice in the array. The answer that is delivered turns out to be the 3rd selection. The second and third selection work great, but the first selection always turns out with the thrid answer.
    2. I know I need to do better error checking on the user input. At this point I am only checking for correct integer input, but I dont know how to fix or avoid the error for when the user would mistakedly enter letters instead of numbers.
    Any hints?
    Code to follow... I hope...
    No gui allowed for this program.
    First time posting so I hope this works and I do it the right way...
    import java.text.DecimalFormat;      //To round to 2 decimal places for payment format.
    import java.io.*;                          //Allows User to input.
    public class Wk5JimP
         //classes for keyboard inputs from user
         public static InputStreamReader reader = new InputStreamReader (System.in);
         public static BufferedReader keyboard = new BufferedReader (reader);
         //main
         public static void main (String[] args) throws IOException
              //Variables
              DecimalFormat decimal = new DecimalFormat("#,##0.00");     //Makes the decimal format for the output
              int appAmount = 200000;                                             //approved loan amount
              short rPay = 0;                                                       //repayment option
              int ps;                                                                 //payment schedule switching variable.
              //Year array and variables
              int yTerm[] = {30, 15, 7,};                                        //Term of the loan in years array
              short rOller2 = 0;                                                  //looping variable for rolling the years
              short rOller3 = 0;                                                  //looping variable for rolling the years
              //Month array and variables
              int mTerm[] = {360, 180, 84,};                                   //Term of the loan in months array
              short rOller = 0;                                                  //looping variable for rolling the months
              short rOller1 = 0;                                                  //looping variable for rolling the months
              //Interest rate array and variables
              double iRate[] = {5.75, 5.50, 5.35,};                              //interest rate array
              int liRate = 0;                                                       //looping variable for interest rate
              int liRate1 = 0;                                                  //looping variable for interest rate
              // Payment array and variables
              double mPayment[] = {
                   ((appAmount*(iRate[0]/12/100))/(1-1/Math.pow((1+iRate[0]/12/100), mTerm[0]))),
                   ((appAmount*(iRate[1]/12/100))/(1-1/Math.pow((1+iRate[1]/12/100), mTerm[1]))),
                   ((appAmount*(iRate[2]/12/100))/(1-1/Math.pow((1+iRate[2]/12/100), mTerm[2])))
                                       };                                             //monthly payment array
              int lPay = 0;                                                       //looping variable for payment incrementation
              int lPay1 = 0;                                                       //looping variable for payment incrementation
              //Dollar amounts into decimal format of two places
              String fappAmount = decimal.format(appAmount);
              //Output to screen for header information
              System.out.println();
              System.out.println("Congratulations!");
              System.out.println("You are approved for a $" + fappAmount + " loan");
              System.out.println("The three repayment options are listed below.\n");
              System.out.println("-------------------------------------------------------------------------");
              System.out.println(" Repayment\t Loan\t\t   Term\t\t  Interest\t  Monthly");
              System.out.println("  Option\tAmount\t       Years   Months\t  Rate \t          Payment");
              System.out.println("-------------------------------------------------------------------------");
              //Begin repayment option loop for calculation
              while (rOller != 3)
                        // if else loop to second and third repayment options
                      if (rOller1 <= 2)
                           // for statement loops last repayment option
                           for (rPay = 1; rPay <=3; rPay++)
                                    {mPayment[lPay] = mPayment[lPay1++];
                                     yTerm[rOller2] = yTerm[rOller3++];
                                     mTerm[rOller] = mTerm[rOller1++];
                                     iRate[liRate] = iRate[liRate1++];
                                //Output to screen for numerical repayment option info
                              System.out.println("    " + rPay + "\t    $" + fappAmount + "\t\t " + yTerm[rOller2] + "\t" + mTerm[rOller] + "\t    " + decimal.format(iRate[liRate]) + "% \t$" + decimal.format(mPayment[lPay])+ "\n\n");
                        else
                             //begin payment option selection
                             System.out.println();
                             System.out.println("Which one of the payment schedules would you like to see?\n");
                             System.out.println("Please enter 1 or 2 or 3 to see the payment schedule\nor enter any other number to exit.");
                             ps = Integer.parseInt(keyboard.readLine());
                                  switch (ps)
                                            case 1:
                                                 System.out.println("\nOption #1\n");
                                                 paysched(yTerm[0], appAmount, iRate[0], mPayment[0]);
                                                 break;
                                            case 2:
                                                 System.out.println("\nOption #2\n\n");
                                                 paysched(yTerm[1], appAmount, iRate[1], mPayment[1]);
                                                 break;
                                            case 3:
                                                 System.out.println("\nOption #3\n\n");
                                                 paysched(yTerm[2], appAmount, iRate[2], mPayment[2]);
                                                 break;
                                            default:
                                                 System.out.println("Thank you!\n\n");
                                                 System.exit(0);
                                      }//end switch
                   }//end while
              }//end main
                             //payment schedule method
                             public static void paysched(int yTerm, int appAmount, double iRate, double mPayment) throws IOException
                             //Declare variables for looped calculations
                             DecimalFormat decimal = new DecimalFormat("#,##0.00");     //Makes the decimal format for the output
                             double balance = appAmount;
                             double monIRate = iRate / 12;
                             double iPay = 0;
                             double pPay = 0;
                             short pNum = 1;
                             short year = 1;
                             //Header Output to screen for payment schedule
                             System.out.println("-------------------------------------------------------------------------");
                             System.out.println("   Payment \t   Principle\tInterest\tTotal \t\tBalance");
                             System.out.println(" Year  Month\t   Payment\tPayment \tPayment \tRemaining");
                             System.out.println("-------------------------------------------------------------------------");
                             //Loop for shceduled payment calculation for all but the final year
                             do
                                       //Apply the payment
                                       iPay = balance * (monIRate /100);
                                       pPay = mPayment - iPay;
                                       balance = balance - pPay;
                                       //Output to screen for payment information
                                       System.out.println("   " +year+ " \t " +pNum+ " \t  $" +(decimal.format(pPay))+ "\t$" +(decimal.format(iPay))+ "\t      $" +(decimal.format(mPayment))+ "\t     $" +(decimal.format(balance)));
                                       pNum++;
                                       if (pNum % 13 == 0)
                                            System.out.println("Press enter to see the next year payments.");
                                            System.in.read();
                                            System.in.read();
                                            year++;
                                            pNum = 1;
                                            //Output to screen for payment schedule
                                            System.out.println("-------------------------------------------------------------------------");
                                            System.out.println("   Payment \t   Principle\tInterest\tTotal \t\tBalance");
                                            System.out.println(" Year  Month\t   Payment\tPayment \tPayment \tRemaining");
                                            System.out.println("-------------------------------------------------------------------------");
                                            } //end if
                                    } //end do
                             while(year < yTerm);
                             //Final Year calculations
                             do
                                       //Apply the payment
                                       iPay = balance * (monIRate /100);
                                       pPay = mPayment - iPay;
                                       balance = balance - pPay;
                                       //Output to screen for payment information
                                       System.out.println("   " +year+ " \t " +pNum+ " \t  $" +(decimal.format(pPay))+ "\t$" +(decimal.format(iPay))+ "\t      $" +(decimal.format(mPayment))+ "\t     $" +(decimal.format(balance)));
                                       pNum++;
                                       if (pNum % 13 == 0)
                                            System.out.println("Please press enter to select and view another payment schedule.");
                                            System.in.read();
                                            System.in.read();
                                            year++;
                                            } //end if
                                  }//end do
                             while(year < (yTerm+1));
                        }//end class
    }//end classThis is my first post so please be gentle...
    Thanks for any help!

    When you choose Java to solve the problems, you need to adapt to the power/strategies/methodology that java offers you, and thats the way for solving problems in Java.
    Why would you put the entire implementation for calculation inside main method? You could break down the program into smaller methods which could do the calculation bit and then call them in main method.
    Anyways the reason that it is calculating for term of 7 years is that
                           // for statement loops last repayment option
                           for (rPay = 1; rPay <=3; rPay++)
                                    {mPayment[lPay] = mPayment[lPay1++];
                                     yTerm[rOller2] = yTerm[rOller3++];You are changing the value of the array yTerm[ ]. Hence once the control is out of the for loop the value of y[0]=7,y[1]=7 and y[2]=7.
    Solution 1: mark yTerm as final.
    Solution 2: set yTerm[0], yTerm[1] back as 30,15 after the for loop.
                      if (rOller1 <= 2)
                           // for statement loops last repayment option
                           for (rPay = 1; rPay <=3; rPay++)
                                    {mPayment[lPay] = mPayment[lPay1++];
                                     yTerm[rOller2] = yTerm[rOller3++];
                                     mTerm[rOller] = mTerm[rOller1++];
                                     iRate[liRate] = iRate[liRate1++];
                                //Output to screen for numerical repayment option info
                              System.out.println("    " + rPay + "\t    $" + fappAmount + "\t\t " + yTerm[rOller2] + "\t" + mTerm[rOller] + "\t    " + decimal.format(iRate[liRate]) + "% \t$" + decimal.format(mPayment[lPay])+ "\n\n");
                           yTerm [0]=30;
                           yTerm [1]=15;
                              }Futher the issue is with monthly calculation of pay back amount in switch - case statement.
    As you have not provided what the problem is and what is the criteria for calculation of monthly interest or reducing the amount etc. Its not possible (at least for me) to tell you why it would run to negative. Mathematically that is the only thing possible,
    Step 1: make those changes in your code. Make changes required to claculate the balance.
    Step 2: Execute the new code and
    Step 3: Gimme the dukes.
    Cheers
    $

  • A newbie problem - Why 'ORA-00942: table or view does not exist'

    Hi,
    I am a newbie having a very basic problem.
    I have just created a table by reading in a CSV file.
    However when I try to SELECT from it, I get an error message saying :-
    ORA-00942: table or view does not exist
    How can this be when I can see the table name ?
    I have tried a couple of things that I found in the Discussion Forum, like 'ALTER SCHEMA' and 'GRANT SELECT'.
    Neither seemed sensible because I have just created a table, and sure enough, neither helped.
    It's disappointing that something so basic can go wrong.
    I will be very grateful for any advice.
    Barry

    This tool and forum is awesome. I'm a developer that was never touched HTMLDB and now with in a month I'm developing applications quickly and when I have a question I have this active forum to ask my sometimes stupid and othertimes valid questions! This is great! I don't know where you all find the time to help out so much!
    It is a little addicting though... I find myself sitting down Saturday morning just to spend a couple of minutes reading the posts and next thing I know hours have gone by as I use what I read because I can't wait until Monday...
    Thank you all for everything!!!! HTMLDB, APEX, Javascript and now in another post I'm learning about "Fine Grained Access Control" or "Virtual Private Database".
    Enjoy, BillC :>)

  • Newbie: Problem with jdbc-odbc and MS SQL server 2005

    I'm on win vistax64 with SQLSERVER 2005 and I have set up the odbc source as system dsn using the SQL Native Client driver with SQL authentication and the connectivity test in the end succeeds.
    I'm trying to make a simple web app that will connect to the database and perform simple querries. It's a school assignment.
    I'm using the jdbc-odbc bridge because it's the simplest way to do it and it's what we were shown in class.
    I get the following irritating error:
    "Cannot establish a connection to jdbc:odb:sstmdb using sun.jdbc.odbc.JdbcOdbcDriver ([Microsoft][ODBC Driver Manager] Data source name not found and no default driver specifies)".
    I'm working with netbeans 5.5.1 and this error is what I get when in the runtime tab I try to connect with the jdbc-odbc. I get a similar error in the logs when I try to run the app on the j2ee server.
    This is the java class that establishes the connection.
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class Connector {
        private static final String dbUrl="jdbc:odbc:sstmdb";
        private static final String user="kimon";
        private static final String password="jackohara";
        public static Connection getConnection(){
            Connection conn = null;
            try {
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                conn = DriverManager.getConnection(dbUrl,user,password);
            } catch (SQLException e) {
                e.printStackTrace(); 
            } catch (ClassNotFoundException e) {
                e.printStackTrace(); 
            return conn;
    }It has worked perfectly on my school PC with winXP and MSDE2000.
    What am I missing?

    Ok, help came from an other way where I was inquiring about a different problem:
    Connectivity works fine by using User DSN instead of System DSN for the ODBC source.

  • Newbie problem with new objects and tools.

    in chapter 4 of the after effects essential training series from Lynda.com in the section about controlling animation with the pick whip. when he applies the null object the red bar immediately populates (correct usage?) the timeline to the right. when i apply the null object it's hidden to the left, under all the layer info, and i need to drag it out into view.
    ive found that whenever i have a problem, e.g., im using a tool and nothing is happening, it always comes down to this same thing: the layer is not with everything else and i need to drag it out into view.
    not only am i new to mac, but im only marginally literate and a total newb to anything more advanced than iphoto, any advice would be appreciated.

    Rick Gerard wrote:
    I'm not understanding what you are asking.
    If you have a layer in the timeline, a null, and the parenting column is visible you simply click on the pickwhip next to the layer and drag it to the name of the null layer. The Parenting box now says that Layer 1 is connected to Null 1.
    Now, when you move the null, the layer will move.
    i understand what they do and how to set them up.
    my question is more specific, but also applies more generally to other tools and layers. when Ian creates his null layer in the video (as well as other layers ive seen him create) the red bar that represents his null layer immediately appears in the timeline with the begining of the red bar at the left end of the work area. it is fully visible. when i create one the file shows up in the list of layers on the panel to the left of the time line, but it is not visible in the comp window and the red bar is hidden to the left side of the visible timeline to where you have to click its right end and drag it out from behind the panel on the left.
    this has happened with other layers ive created using other tools and before i figured out what to look for it was very frustrating. now, whenever i can't find something, or a tool that im using isnt doing anyhting (besides creating more and more layers) ive learned to look and see if theyre just hidden. it seems like it's probably a setting. but clearly, something is different: he creates a null layer and it appears in the timeline, and mine appear slid to the left.

  • Sun Java enterprise System 2005Q1 installation problems

    I have installed 2005q1 parts in my solaris 5.8 box and had some problems running sussessfully portal server and access manager. So I had to uninstall them again.
    The uninstaller from /var/sadm/prod/entsys/uninstaller did not give me option to un install all components, so I have removed some packegs using pkgrm command.
    Now I am trying to reinstall webserver/directory server/access manager again and now getting the follwoing problems.
    Screen for selecting Type of Configuration
    1. Configure Now - Selectively override defaults or express through
    2. Configure Later - Manually configure following installation
    Select Type of Configuration &#91;1&#93; {"<" goes back, "!" exits} 2
    Ready to Install
    The following components will be installed.
    Product: Java Enterprise System
    Location: /var/sadm/prod/entsys
    Space Required: 110.11 MB
    Sun Java(TM) System Web Server 6.1 SP4 2005Q1
    Sun Java(TM) System Directory Preparation Tool
    Sun Java(TM) System Directory Server 5 2005Q1
    Sun Java(TM) System Access Manager 6 2005Q1
    Identity Management and Policy Services Core
    Access Manager Administration Console
    Common Domain Services for Federation Management
    1. Install
    2. Start Over
    3. Exit Installation
    What would you like to do &#91;1&#93; {"<" goes back, "!" exits}? 1
    Please wait while the installer upgrades and installs shared components...
    Java Enterprise System
    <<<< That is all , after that system doesn't come out to next any more". It just hangs up there."
    Please ,, Please advise what i am missing??????
    Thanks
    Srini parise
    jpsrao&#64;hotmail.com

    it seems that you have not uninstalled the previous entire installation. You can clear all installation manually. first, you need remove all information about your previour installation in "/var/sadm/install/productregistry" file, and then deleted the previous installation directory , now suppose you can reinstall it successfully again, good luck!

  • PT880-FSR newbie problems

    I'm a newbie to all this, but I seem to be having problems with my memory, I think.  Here's my setup...
    PT880-FSR
    P4 3.20E
    Mushkin 512MB PC3200
    nVIDIA GeForce FX 5500
    Western Digital 15G EIDE Hard Drive
    I got XP to install once but during installation, while it was copying the setup files, a message would come up stating it could not copy the file and would ask to retry, skip file, or quit setup (always on the shell32.dll and driver.cab files).  There was no problem with the disk, since the same thing happened when I tried to install Windows 2000 first.  Nor was it a problem with the CD drive since i swapped it out and tried a different drive and still the same problem.  The one time I did get XP to install I would get stop messages saying IRQL_NOT_LESS_OR_EQUAL frequently so I reformatted and tried to reinstall but now during installation i would get a stop message saying PAGE_FAULT_IN_NONPAGED_AREA.
    Can somebody out there please help me?!

    Hey,
    I am also having some of the same problems. If anybody can help me I would greatly appreciate it. I just built my first computer and its not going very well. I have a few issues that I cant resolve.
    1)   My USB ports aren’t working w/ anything. (i.e. printer, mouse, Lexar Jumpdrive) At first I would plug in the Lexar 256mb Jumpdrive Sport and a few minutes later my screen would go blank and then my computer would restart. Now it just says that the driver needs to be installed, but then it can’t find one.
    2)   When I try to play C&C generals the game will start then a few minutes into it my screen would go blank and then my computer would restart. It also sometimes happens when I am using winplayer and on the web at the same time.
    3)   I also get two errors frequently IRQL_NOT_LESS_OR_EQUAL and PAGE_FAULT_IN_NONPAGED_AREA
    I have reformatted and reinstalled XP several times. Twice it has stopped at the 10-minute mark. I have tried Windows XP W/ SP2 then I clean reinstalled XP SP1. Is this all the same thing? Can anybody help me? I have been reading forums for the past week.
     My hardware is
      (I’m not at home right now so I only put what I am sure of)
    PT880 NEO-FSR w/ P4 3.2 hyperthreading
    KINGSTON 768 DDR
    SAPPHIRE ATI RADEON 9600 Video Card, 256MB DDR AGP 4X/8X
    ANTEC SONATA 380w true power. Power supply
    DVD drive (something speed)
    I am using the built in sound.
    I don’t remember the specs for my hard drive
    I have a SCSI card plugged in but I have not hooked up my second hard drive yet
    I will find out what my bios is and post it later if it will be helpful.
    Also, please note that my computer is setup for duel boot. XP primary and NT 4 secondary (so I can run a video capture card that isn’t compatible w/ XP.
    Again thanks for taking the time to read this. Please reply if you know anything that may be helpful.
    Revolution7

Maybe you are looking for

  • Stop "Open in Dashboard" widget from opening new Safari window when viewed

    Hi, For the first time, tried Safari's "open in dashboard" to make a widget showing an area of a webpage that updates information frequently. It worked, but now whenever the Dashboard is viewed, something in the code opens up a new Safari window, eve

  • Arabic and Hebrew sections of a .pdf document

    I need to rearrage a .pdf that contains Arabic and Hebrew pages. Acrobat will not allow the Arabic pages to be placed anywhere but at the end of the document. I am using Acrobat 7 on a PC with PC InDesign CS3 documents as the source. Any hints or sug

  • Movies in iWeb not working

    Exported iMovie to the desktop using "Share to Web" selection. Then ran it through Lillipot to set the "Fast Start" option. Dragged the movie into a new iWeb page & posted. But, alas it does not play until the entire movie is downloaded (Fast Start"

  • Cumulative Value Calculation

    Dear Experts, I extracted data with the standard datasource 0CO_OM_OPA_1. Cost from this datasource is costs by month. However, I need to have another key figure for cumulative cost. 1) How can I get cumulative values through the transformation? (I n

  • Oracle XML DB

    hi how can i check if XML DB is present on a instance kedar