I'm a bit stuck with throwDice() here

Hi there!
I've got this task here. Create a new class which should simulate a dice (called Dice).
a. The dice class should use one of JAVA's pre-defined classes from the class library called Random. You have to import this from java.util.Random before it could be used.
b. The dice class should contain the metodh int throwDice() that should return a random number from 1 to 6. Random already got a method called nextInt() that could be used for this.This is my code this far:import java.util.Random;
public class Dice {
    private Random generator;
    public Random() {
        int throwDice = new Random();
    public void throwDice() {
        int throwResult;
        int throwResult = throwDice.nextInt();
        return this.throwResult;
}But I'm getting this error:invalid method declaration; return type requiredAny tips for what I could do? :)

Why does this works?import java.util.Random;
public class Dice {
    private Random throwResult;
    public Dice() {
        throwResult = new Random();
    public int throwDice() {
        Dice dice1 = new Dice();
        Dice dice2 = new Dice();
        dice1.throwDice();
        dice2.throwDice();
        int dice1Score = dice1.nextInt(6) + 1;
        int dice2Score = dice2.nextInt(6) + 1;       
        int DiceResult = dice1Score + dice2Score;
        return DiceResult;
}*Error:* cannot find symbol method nextInt(int)
When this works...import java.util.Random;
public class Dice {
    private Random throwResult;
    public Dice() {
        throwResult = new Random();
    public int throwDice() {
        int DiceResult = throwResult.nextInt(6) + 1;
        return DiceResult;
}

Similar Messages

  • Stuck with these methods

    Hello everyone.
    the reason of this post is that I am a bit stuck with this class where I need to implement two methods and it is not working so far.
    The class in question is:
    public class MyPuzzle
        public static final int GRIDSIZE = 5;
        private int[][] squares;
        private String[][] rowConstraints;
        private String[][] columnConstraints;
        public MyPuzzle()
            squares = new int[GRIDSIZE][GRIDSIZE];
            rowConstraints = new String[GRIDSIZE][GRIDSIZE - 1];
            columnConstraints = new String[GRIDSIZE][GRIDSIZE - 1];
            for (int row = 0; row < GRIDSIZE; row++) {
                for (int column = 0; column < GRIDSIZE - 1; column++) {
                    rowConstraints[row][column] = " ";
            for (int column = 0; column < GRIDSIZE; column++) {
                for (int row = 0; row < GRIDSIZE - 1; row++) {
                    columnConstraints[column][row] = " ";
        public void setSquare(int row, int column, int val)
            if ((1 <= val) && (val <= GRIDSIZE)) {
                squares[row][column] = val;
            else {
                System.out.println("Error - Illegal value " + val);
        public void setRowConstraint(int row, int col, String relation)
            if (relation.equals("<") || relation.equals(">")) {
                rowConstraints[row][col] = relation;
        public void setColumnConstraint(int col, int row, String relation)
            if (relation.equals("<") || relation.equals(">")) {
                columnConstraints[col][row] = relation;
        public void fillPuzzle()
           setColumnConstraint(0, 1, ">");
           setRowConstraint(4, 0, "<");
           setRowConstraint(4, 2, "<");
           setColumnConstraint(4, 3, "<");
           setColumnConstraint(4, 2, "<");
           setRowConstraint(3, 1, "<");
           setRowConstraint(1, 3, ">");
           setSquare(4, 0, 4);
        public void printPuzzle()
            for (int row = 0; row < GRIDSIZE - 1; row++) {
                drawRow(row);
                drawColumnConstraints(row);
            drawRow(GRIDSIZE - 1);
        private void printTopBottom()
            for (int col = 0; col < GRIDSIZE; col++) {
                System.out.print("---   ");
            System.out.println();
        private void drawColumnConstraints(int row)
            for (int col = 0; col < GRIDSIZE; col++) {
                String symbol = " ";
                if (columnConstraints[col][row].equals("<")) {
                    symbol = "^";
                else if (columnConstraints[col][row].equals(">")) {
                    symbol = "V";
                System.out.print(" " + symbol + "    ");
            System.out.println();
        private void drawRow(int row)
            printTopBottom();
            for (int col = 0; col < GRIDSIZE; col++) {
                String symbol;
                if (squares[row][col] > 0) {
                    System.out.print("|" + squares[row][col] + "|");
                else {
                    System.out.print("| |");
                if (col < GRIDSIZE - 1) {
                    System.out.print(" " + rowConstraints[row][col] + " ");
            System.out.println();
            printTopBottom();
    [/code]
    The two methods I am trying to implement are:
    -isLegal should return a boolean value that tells us whether the puzzle configuration is legal or not. That is, if there is a repeated value in any row or column, or if there is an incorrect value (the number 1024 for instance) anywhere, or if any of the constraints is violated isLegal should return false; otherwise it should return true.
    -if the puzzle is not legal, getProblems should return a String describing all the things that are wrong with the configuration.
    If anyone may help, I will be eternally gratefull.
    Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hello everyone.
    the reason of this post is that I am a bit stuck with this class where I need to implement two methods and it is not working so far.
    The class in question is:
    public class MyPuzzle
    public static final int GRIDSIZE = 5;
    private int[][] squares;
    private String[][] rowConstraints;
    private String[][] columnConstraints;
    public MyPuzzle()
    squares = new int[GRIDSIZE][GRIDSIZE];
    rowConstraints = new String[GRIDSIZE][GRIDSIZE - 1];
    columnConstraints = new String[GRIDSIZE][GRIDSIZE - 1];
    for (int row = 0; row < GRIDSIZE; row++) {
    for (int column = 0; column < GRIDSIZE - 1; column++) {
    rowConstraints[row][column] = " ";
    for (int column = 0; column < GRIDSIZE; column++) {
    for (int row = 0; row < GRIDSIZE - 1; row++) {
    columnConstraints[column][row] = " ";
    public void setSquare(int row, int column, int val)
    if ((1 <= val) && (val <= GRIDSIZE)) {
    squares[row][column] = val;
    else {
    System.out.println("Error - Illegal value " + val);
    public void setRowConstraint(int row, int col, String relation)
    if (relation.equals("<") || relation.equals(">")) {
    rowConstraints[row][col] = relation;
    public void setColumnConstraint(int col, int row, String relation)
    if (relation.equals("<") || relation.equals(">")) {
    columnConstraints[col][row] = relation;
    public void fillPuzzle()
    setColumnConstraint(0, 1, ">");
    setRowConstraint(4, 0, "<");
    setRowConstraint(4, 2, "<");
    setColumnConstraint(4, 3, "<");
    setColumnConstraint(4, 2, "<");
    setRowConstraint(3, 1, "<");
    setRowConstraint(1, 3, ">");
    setSquare(4, 0, 4);
    public void printPuzzle()
    for (int row = 0; row < GRIDSIZE - 1; row++) {
    drawRow(row);
    drawColumnConstraints(row);
    drawRow(GRIDSIZE - 1);
    private void printTopBottom()
    for (int col = 0; col < GRIDSIZE; col++) {
    System.out.print("--- ");
    System.out.println();
    private void drawColumnConstraints(int row)
    for (int col = 0; col < GRIDSIZE; col++) {
    String symbol = " ";
    if (columnConstraints[col][row].equals("<")) {
    symbol = "^";
    else if (columnConstraints[col][row].equals(">")) {
    symbol = "V";
    System.out.print(" " + symbol + " ");
    System.out.println();
    private void drawRow(int row)
    printTopBottom();
    for (int col = 0; col < GRIDSIZE; col++) {
    String symbol;
    if (squares[row][col] > 0) {
    System.out.print("|" + squares[row][col] + "|");
    else {
    System.out.print("| |");
    if (col < GRIDSIZE - 1) {
    System.out.print(" " + rowConstraints[row][col] + " ");
    System.out.println();
    printTopBottom();
    }The two methods I am trying to implement are:
    -isLegal should return a boolean value that tells us whether the puzzle configuration is legal or not. That is, if there is a repeated value in any row or column, or if there is an incorrect value (the number 1024 for instance) anywhere, or if any of the constraints is violated isLegal should return false; otherwise it should return true.
    -if the puzzle is not legal, getProblems should return a String describing all the things that are wrong with the configuration.
    If anyone may help, I will be eternally gratefull.
    Thanks.

  • Stuck with my phone :(

    Hell started once I joined Verizon. Joined my sister plan to bundle up and supposed to save money. Went to the store and left happy thinking we got a great service. My sister gave me her Iphone 4 and she upgraded to the Iphone 5 and that was that everything was supposed to be dandy carried over with insurance plan and everything. Load and behold out first bill comes, notice it was about 20$ more than the verizon guy said it was going to be. We later figured out that he explain the prices a bit off but that fine he did a little mistake, we try to call customer service and tell them nothing they said he was right but said and wrote down wrong info. They did nothing so we lived with it, thinking oh well that 240 dollar we wont be able to get back. Then another hit to the face, they never carried over my sister insurance to the new line. So now I just stuck with a cracked phone and sadness from a company full of lies. They wouldn't ever offer the new contract deal for the new phone I need, contract was start less that 4months ago. I will most likely just cancel the line and take the 200 dollar hit and go back to t mobile, will end up being the same price as buying a new one from Verizon.  Just had to vent.

    Why would they give you a new contract when you are only four months into your first one? Imagine if they did allow this, and let you tack an additional two years on your existing contract. You would now be bound to a 40 month contract with the device you picked. Then add another two years when that phone breaks...you could be in contract with Verizon for a LONG time if this was allowed. It doesn't make sense, so Verizon simply doesn't offer it.  It sounds like your sister took advantage of you, adding a line so she could upgrade early, leaving you with an old phone and no options. I would suggest finding out when her upgrade is and use that when you can, and In the meantime,  buy a used phone if yours is no longer functioning correctly.

  • I desperately would like to update Firefox to version 10 from version 9 but each time I try, I am stuck with FF10 checking addons for comparability and the Welcome page opening every time I start the browser.

    Windows 7 64 bit
    I desperately would like to update Firefox to version 10 from version 9 but each time I try, I am stuck with FF10 checking addons for compatability and the Welcome page opening every time I start the browser. I continue to have to revert to version 9 to resolve this issue.

    Sorry to be a while getting back! Tried all of that with no sucess so this AM, bit the bullet and deleted the FF folder from programs and downloaded and installed FF 10.01. Still was plagued with the same problem. Went into the appdata folder and there were two sessionstore.js files. Deleted them both, restarted the browser and no compatibility check for add-ons was done at start up and the extra tab for Welcome to FF was no longer opening Everything seems to be working as it should and I did not loose any of my settings.. Thank you for trying to help and I hope my solution helps anyone else who might experience this in the future. Here's hoping the next update goes smoother!

  • HT1212 My ipad mini has been crashing a lot recently so I started a system reset. However, it's now stuck with the progress bar less than a quarter gone: this has been the case for several days now. I have tried resetting from itunes but it needs the pass

    Now it's stuck with the progress bar less than a quarter full. I have also tried resetting through itunes which works right up to the point where itunes states that it needs the passcode to be inputted into the ipad to connect to it. At which point it then sticks at the same progress bar point. HELP!! please, this ipad is really important to my work.

    Well the term "hotlined" I have never heard before. In any case many states (like NY) just passed regulatory powers to the State Public Service Commission of which it may be called something different in your state. You could file a complaint with them. Or file a complaint with your state attorney generals office, they also take on wireless providers.
    The problem here is the staff you speak to are poorly trained, in days gone by it took one call to them and they pulled up your account and see the error and had the authority to remove any errors. They did not remove legitimate account actions, but used their heads instead of putting a customer off or worse lying to the customer.
    Its a shame you have to go through what you going through.
    Good Luck

  • When i first got my ipod touch 4th generation i connected it to itunes but on my computer said new device found but on itunes there are no devices found so im stuck with the connect to itunes symbol on my ipod

    i got my ipod touch 4th generation and when i first connected it to itunes it would say device found on my computer but on itunes it would say no device found so im stuck with the connect to itunes symbol on my ipod touch like when u first turn it on

    Try here.  Start with the one the best fits your symptoms.
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
    iPod not recognized in 'My Computer' and in iTunes for Windows
    iPod: Does not appear in Windows or iTunes and Device Manager is empty

  • HT201210 I am stuck with "The iPad could not be restored because the firmware file was corrupt" message.

    Hi
    I have an iPad mini and it was on iOS 6.1.3, my friend came and he said that he knows how to install iOS 7 for me. I gave it to him and he tried to install it, but apparently he failed to do so and an "Activation Error" is appearing on the screen now asking me to register in the developers program.
    Now, we are trying to restore it back to iOS 6.1.3 using iTunes, the software downloads well and it starts restoring but that I keep getting this error message "The iPad could not be restored because the firmware file was corrupt.".
    I am sure that the file is not corrupted because it's downloaded via iTunes regular download and it's not from an outside source.
    I am stuck with this now and my iPad is useless this way.
    Please any suggestions ?

    basselsamo wrote:
    Please any suggestions ?
    Yes, don't download Beta Software that you have no business or legal right to download and quit taking bad advice from friends.
    Now to maybe get you out of the restoring jam, the only thing that I can think of that might work is to use recovery mode, unless you already tried it and it didn't work.
    You can read about it here, but the instructions are posted below.
    http://support.apple.com/kb/ht4097
    Disconnect the USB cable from the iPad, but leave the other end of the cable connected to your computer's USB port.
    Turn off iPad: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for iPad to turn off.
    If you cannot turn off iPad using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the iPad turns off, release the Sleep/Wake and Home buttons.
    While pressing and holding the Home button, reconnect the USB cable to iPad. When you reconnect the USB cable, iPad should power on.
    Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears you can release the Home button.
    If necessary, open iTunes. You should see the recovery mode alert that iTunes has detected an iPad in recovery mode.
    Use iTunes to restore iPad.

  • Is Windows 7 64-bit Compatible with This iMac late 2013 ?

    Is Windows 7 64-bit compatible with this computer?
    Hardware and software:
    • Late 2013 iMac 27", 3.5 GHz I7, 32 GB memory, 1 TB hard drive Flash
    * 4GB Graphic Card
    • Mac OS 10.9.1
    • USB thumb drive 2.0 16GB
    • Boot Camp Assistant 5.1.0
    • Windows 7 64-bit install disk iso image
    Install steps:
    1. Use Boot Camp Assistant to install Windows 7 install (from iso image) and Apple Support Software (creates WININSTALL USB drive)
    2. Use Boot Camp Assistant to create Equal partition (500GB) on iMac internal drive and start Windows install
    3. Complete initial install steps until given option to select install partition
    4. Select 500 GB partition. Error message that partition is not formatted correctly. Use Advance Options to format (presumably to NTFS)
    5. Select 500 GB partition again and click "Next"
    6. Get error message "Setup was unable to create a new system partition or locate an existing system partition. See the Setup log files for more information."
    7. Install quits at this point
    I'm wondering if Windows 7 and/or Boot Camp is compatible with this iMac. Any suggestions will be appreciated.
    Many thanks.
    Joe

    Hi, Indeed. I am selecting the Bootcamp partition, and If I do Format, It informs me that all we be deleted, ok fair enough. then I can click the NEXT button, but I got then a msg stating :
    Setup was u nable to create a new system partion or locate an existing system partition. See the Setup Log Files for more informations.
    I have not more option here, I can delete, then create a new one with same size then format again, but same message at the end. this is my issue.
    A guy done a Youtube video http://www.youtube.com/watch?v=vD7dbSl9-b8
    I am all ok up to 5min 50 on the video. Then My issue is what he has....
    However, when he format the partition he does not have my error msg stating Setup was unable to create. etc...
    This is my issue.

  • Acquiring 24-bit sound with a third-party sound card... truncation issues.

    I am having a very strange problem when using LabVIEW to acquire audio
    data via the Windows API from a Creative Professional E-MU 1616m sound
    card.  The goal is to acquire sound in 24-bit resolution. 
    When capturing sound in 16-bit mode (as set in the LabVIEW software),
    the E-MU 1616m behaves as expected, with a 105dB SNR and approximately
    -130dB noise floor, after dithering.  However, when switching to
    24-bit capture mode, a very severe truncation occurs.  This sends
    the harmonic distortion and noise through the roof.  After
    investigating fairly deeply in our LabVIEW code, I am wondering what
    might be the problem.
    I have compiled a number of screenshots which showcase the problem in more detail.
    Here is a background of the experiment:
    For these tests, both the analog and digital audio was generated by an
    Audio Precision System Two system, and was passed directly into the
    respective line-level or digital audio inputs.  Digital audio was
    tested using both coax and optical cable.  In the sound card
    control software, the audio was sent directly from the input channel
    into the WAVE IN L/R (via the Windows API, I assume).  The
    sampling rate for the profile was 96kHz.
    The sampling rate in all LabVIEW functions was set to 96kHz.  The sample rate set in the AP Digital generator was 96kHz.
    ANALOG 20dBu 96kHz 16bit.jpg
    In this test, everything looks fine.  The audio input is at
    Full-scale for the E-mu's ADCs.  It is exhibiting expected 16-bit
    performance (with dithering).
    ANALOG 20dBu 96kHz 24bit.jpg
    Now we instruct the driver to capture sound in 24 bits.  Notice
    that the noise floor and THD+N go up considerably.  Effects of
    truncation become visible on the time-domain display.
    ANALOG -20dBu 96kHz 16bit.jpg
    Now we drop the input level to -20dBu.   The performance
    starts to look a little messy but is still acceptable.  Note,
    however, the high peaks on the odd harmonics.
    ANALOG -20dBu 96kHz 24bit.jpg
    Now we try to capture at 24 bits.  The effects of truncation are extreme at this low signal level.
    ANALOG -60dBu 96kHz 16bit.jpg
    Now we are at extremely low signal levels.  Individual
    quantization levels can be seen on the signal.  Dither is also
    present.  Performance is still good.
    ANALOG -60dBu 96kHz 24bit.jpg
    However, when increasing the resolution to 24 (which should increase
    the number of quantization levels), our signal is reduced to a square
    wave.  Obviously something is wrong.
    DIGITAL 0dB 16bit 96kHz 16bit.jpg
    Now on to the digital tests.  We start with full-scale.  We
    used an AP outputting a properly dithered 16-bit signal over an optical
    cable.  The soundcard is instructed to receive in 16 bit
    mode.  It looks good.
    DIGITAL 0dB 16bit 96kHz 24bit.jpg
    Using the same input, we change to 24 bit receive mode. 
    DIGITAL 0dB 24bit 96kHz 16bit.jpg
    Now we set up the AP to output a properly dithered 24-bit signal at
    full-scale.  The dips in the frequency domain show us that
    something is wrong.
    DIGITAL 0dB 24bit 96kHz 24bit.jpg
    Receiving in 24-bit mode.  Same story as before.
    DIGITAL -90dB 16bit 96kHz 16bit.jpg
    Now we decrease the amplitude to a low level.  Well-implemented dither is shown here clearly.
    DIGITAL -90dB 16bit 96kHz 24bit.jpg
    However, receiving in 24-bit mode reduces the signal to a dithered square wave.
    DIGITAL -90dB 24bit 96kHz 16bit.jpg
    Here is the low-level signal with the AP generating a 24-bit
    signal.  Dither is applied, but vanishes in the e-mu 1616m. 
    It seems the dither level has been changed.  This is the cause of
    our dips from before.
    DIGITAL -90dB 24bit 96kHz 24bit.jpg
    And finally, we transmit and receive in 24-bits.  Here are the results.
    We have achieved similar results using several of your breakout boxes and soundcards.
    Attached are all screenshots, as well as the main VI (AP Test.vi) and
    the dependent vi's.  There are a number of SVT vi's in the
    project, but they can be ignored since they are not related to the
    problem.
    Any help would be greatly appreciated.
    Best Regards,
    Brett Gildersleeve
    Attachments:
    AP Test.zip ‏2381 KB

    Hi Brett,
    I took a look at the code you attached, but it appears that you may have left out the subvi that actually acquires the sound. When you say Windows API, I assume that you are calling a DLL at some point. How are you configuring the inputs (or what function are you using)? It could be (and this is just a guess) that when you specify 24 bits, the DLL returns the data in a very specific format. If you don't interpret the bits that are returned correctly, LabVIEW may not know what to do with them, as LabVIEW does not have a native 24-bit datatype. If there is any documentation for these function calls, our answer might there...
    Just some thoughts -- thanks for posting your solution!
    Charlie S.
    Visit ni.com/gettingstarted for step-by-step help in setting up your system

  • Stuck with the apple and the scrolling gear while booting

    Hi there
    i am using my mac for more than 2 years , i did not format it or even fix any thing into it but now something bad happend...
    accdentaly my genius friend preesed the power putton for more than 5 seconds to start up the computer and i heared a sound and a the normal flashing light under the track pad and suddenly i was stuck with the apple gray booting screen and the scrooling gear and the computer does not go further .. i left for 2 hours and it still stuck with the same screen ... try to restart do any thing no results also ...
    NOTE: THE BIG PROPLEM IS THAT I PUT A PASSWORD FOR THE FRIMWARE AND I FORGOOT IT SO I CAN NOT USE THE FOLLWOING:
    1-the ability to use the "C" key to start up from an optical disc.
    2-the ability to use the "N" key to start up from a NetBoot server.
    3-the ability to use the "T" key to start up in Target Disk Mode (on computers that offer this feature).
    4-Diagnostic volume of the Install DVD.
    5-mode by pressing the Command-S key combination during startup.
    6- a reset of Parameter RAM (PRAM) by pressing the Command-Option-P-R key combination during startup.
    Requires the password to use the Startup Manager, accessed by pressing the Option key during startup (see below).
    7- Safe mood.
    8-Single mode acsses and the other one i forrgot its name.
    SO I FIGURED THERE IS NO WAY BETER THAN THE PRIVIOUS WAYS TO SOLVE THE PROPLEM
    IF YOU HAVE ANY IDEAS OR ANY THING SO I CAN FIX THIS THING ?
    Thanks in advance >>>
    iBook G4 Mid 2005   Mac OS X (10.4.8)  

    I was mistaken about the PMU..with a little more digging I found that Open Firmware password can be removed if you change the amount of memory installed.
    I found this info here: http://archive.macosxlabs.org/documentation/firmwaresecurity/faqs/faqs.html#remove_passwordprotection
    The following is a link from Apple's site to download the user's manual for your iBook:
    http://manuals.info.apple.com/en/iBookG4(Mid2005)_UsersGuide.pdf
    It provides the instructions to add or remove memory from the machine. If you do have additional memory installed then you'll be able to remove the memory, and reset the PRAM, that way your password is gone. Hopefully from there we can figure out and fix your startup issue.
    Ben

  • Stuck with the recovery mode - unknown error 3004

    I recently tried to update my ipad mini 2 ios forn 7.0.4 to 7.1. everthing goes fine untill i downloaded the updated software through itunes 11.1, it ask me to restore ipad and intall software then 'the ipad could not be restored. an unknown error occured(3004)' appears..my ipad mini 2 stuck with recovery mode, can't go beyond that..help me..my internet connection is fine. there is no problem to connect to the itunes store. i am using windows 8.

    This is usually realted to itunes not being able to reach Apple's update servers. Read here for details and troubleshooting tips: http://support.apple.com/kb/ts3694#communication

  • Stuck with SPUM4 in ERP 6.0 Upgrade

    Dear All,
    We are doing a ERP 6.0 Upgrade:
    System Details: SAP 4.6C Oracle 10G on HP UX with MDMP (9 Languages installed)
    Completed Preapre and started with SAPUp, and we are stuck with SPUM4 stage.
    Consistancy check is all green, then we proceed with remaining scan and for few big tables we were getting job canceled so we deleted the contects of the table and continue with the scanning jobs.
    All scanning completed with some vocablury warnings but still SPUM4 status is not getting green. I checked all the requirments all jobs completed no job in running scheduled or released status.
    I have already gone throuhg the post from SDN regarding but nothing is working for me.
    If I delete the contents of thetable I have to ren this whole consistancy and remaining scans again?
    Do I missing something here?
    Regards
    Shailesh

    hi,
    there're many changes since ERP 5.0
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/e2/f16940c3c7bf49e10000000a1550b0/frameset.htm
    Have you tried trx <b>FS10</b>
    pls reward useful answers
    thank you
    A.
    Message was edited by: Andreas Mann

  • Stuck with intersecting paths and shaped gradients - instructions requested

    Hi guys,
    I'm new to this forum as this is my first post here, but I'm stuck with a problem in Illustrator and haven't been able to find the specific solution in other places on the net so far.
    Please have a look at the following design (can't seem to get the image up on this forum):
    http://www.mediafire.com/?pq7mjm4yx65r5cv
    This design has been first created in GIMP and now I want to redo it in Illustrator. I'm using CS6. I haven't been using Illustrator for very long, and I can't seem to get this part right.
    The areas highlighted in red (the shadows) are the major issue. To be able to get a 'folded' effect, I would like to apply subtle shadows on the visible areas of the lower ribbons, where they intersect with the ones on top, as the sample illustrates.
    I don't know how to achieve this effect. This is what I have tried so far:
    - Simple drop shadows, but of course they run outside of the visible areas of the ribbons.
    - I have also tried rectangular selections with a gradient from black to transparent, but for some reason those look right on the silver part of the design, but turn out brown-ish on the blue part. Besides, this is a lot harder to do on the curved sections you can see in the middle.
    Is there a simple way to do this in Illustrator? I have a gut feeling the solution lies somewhere in the pathfinder tool and/or clipping masks, but I'm not really confident as to how to make those work for me.
    As a secondary issue, I would like to get the same 1px bevel/emboss effect as the sample image shows. I have tried the 3D effect in Illustrator, but I can't get the right result that way. What would be the best way to do this?
    I would really appreciate it if someone could write me some short step-by-step instructions for this.
    Below is the sample file for Illustrator. It only has the main shapes and the general colors applied and nothing else.
    CS6 version: http://www.mediafire.com/?skpgfsmy2hxqi6s
    CS5 version: http://www.mediafire.com/?gxxix6el5wcnaad
    My infinite thanks in advance for any help given.
    ~ ID Graphics.

    Start with your simple drop shadows, and then use a clipping mask. Group your letters, and make a copy of the group. Femove shadows from the copy andhange the copy to a black fill. Apply the mask like this: All the unwanted parts of the shadow will be hidden.

  • Stuck with query on dba_tab_partitions because of long .

    Hi,
    I'm trying to dynamically generate split partition sql but stuck with error ORA-00932: inconsistent datatypes: expected NUMBER got LONG.
    Here is my code.
    select 'alter table ' || table_owner || '.' || table_name || ' split partition P_MAX at ' || high_value
    from (
    select rownum rnum, t.* from (
        select t.* from dba_tab_partitions t where t.table_owner = 'TEK' and t.table_name = 'TAB' order by t.partition_position desc
                    ) t 
    where rnum between 2 and 5 and (num_rows != 0 or empty_blocks != 16383);Basically I'm trying to generate new partition with high_value = high_value + 3000 .
    That long is really annoying .
    My DB is 9.2.0.8 .
    Regards.
    Greg

    Not sure if this is the best way, but I think it'll work:
    create a dummy table that holds the data of dba_tab_partitions but using to_lob(high_value) as high_value.
    then issue your select from this dummy table using to_number(high_value)
    Hope this helps.

  • Stuck with svg file !....

    hi every user
    i stuck with svg file
    after import external svg file with layers ( created with adobe Ai ) in An , how can i modify color and strok , path  , and also animate that !?... without using any .js

    Hi sudeshna sarkar
    i tried that , the EdgeCommons is great but Its application to work with Svg files is limited ,i tried to use Snap.Svg and finally found true way .
    but have problem here : when i used that without any goal div , work perfectly in every modern browser but make svg file outer of the stage !!! , and with a goal div that work only in FF , IE and stuck in chrome and dont work correctly !!!!
    In the annex link i have sent the test files .
    i tried everything to fix this but I am stuck and cant find where's the wrong ! pls help me to solve this problem
    https://www.dropbox.com/s/w0xwrcx4zz0mbkr/Snap-svg.zip
    thanks in advance

Maybe you are looking for