I couldn't even get this one right!

I need some help with the very basic of java, I cant manage to make the class file...
I created the file, which i called: "myprog.java" (just followed the instructions from this guide: http://richardbowles.tripod.com/java/guide/intro.htm).
But then i went into MS-DOS, you know, the little black screen in windows xp :P
Then typed in as i was instructed "Javac myprog.java" after finding the folder containing the file of course.
But the all I get is an error message: (this might not be exactly how it is written because I have an norweagon edition of windows XP).
Javac is not known as an internal or eksternal command, runable (is that a real word?) or "somthing" file.
I know its not much to go on, beacause of my bad english and, well bad english...
But if anyone could try and maybe, be able to figure this out i would be very happy.
Thanks for surviving my lousy english.

This is not a Java issue. It's a Windows installation/Path/Command prompt issue.
First, I don't know if the command prompt is case-sensitve or not. If it is, you'll want javac, not Java.
Second, you'll need to make sure that javac is in your PATH. On XP, in Control Panel --> System on the Advanced tab there's an Envrionment Variables button. Click that, and make sure that the JDK's bin directory is in your Path varaible.
Usually it will be something like C:\jdk1.5.0\bin, but you'll have to set it for the version and location of your installation.
You might want to check out the step-by-step instructions here:
Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses
I think it's under "You first cup of Java" or something.

Similar Messages

  • How to get this condition right ?

    Hi Friends,
    Please tell me , How to get this condition right.
    Current Date = Posting date (RBKP.BUDAT) + 7 (i.e. notifications are sent 7 days after the Posting date).
    I need to get the blocked invoices which are overdue for 7 days, and send these blocked invoices. How to do the declaration and get it right ...
    thanks in advance ...
    Edited by: Matt on Jan 28, 2009 2:38 PM - subject amended by moderator

    Hi, SK SIDDIQUI
    Have a look at following code will solve out your problem,
    TABLES: RBKP.
    data: it_rbkp like STANDARD TABLE OF rbkp WITH HEADER LINE,
          wa_it_rbkp like rbkp,
          p7date like sy-datum,
          p14date like sy-datum,
          p21date like sy-datum.
    p7date = sy-datum - 7.
    p14date = sy-datum - 14.
    p21date = sy-datum - 21.
    SELECT * from rbkp
      into CORRESPONDING FIELDS OF TABLE it_rbkp
      where budat <= p7date. " for 14 just Replace p7date with p14date and for 24 just Replace p7date with p24date
    Please Reply if any Problem,
    Kind Regards,
    Faisal

  • How do i get this put right?

    I hope this post is in the correct area of the forum as I technically do not have a problem with speed...............but i do
    Confusing i know    I shall try explain.
    I was with another ISP on ADSL max until 2 days ago but I noticed that BT were upgrading my local exchange to 21CN so as I was out of contract with my old ISP i decided to move to BT so that I could get better speeds from the 21CN network that was going into my local exchange. My phone line and Broadband were moved to BT on the 10th December, on that day i went into the sam knows website and checked my exchange to find that the 21CN was now enabled in my exchange...............great i thought, perfect timing............not quite it seems as when i look at my router stats I am on G.992.1 Modulation which to the best of my knowledge is the "up to 8Mb" service.
    Could someone with a little more knowledge than me please look at my line stats and confirm what I am thinking please. I appreciate my homehub is only 2 days into its 10 day learning period but from what i can see it is learning the wrong network. If what i think is correct how would i have this put right as I did not leave one up to 8Mb service just to go straight to another. 21CN was my only reason for moving to BT and seems like I am not getting it.....my exchange code is ESKGH so you can check for yourself
    ADSL Line Status
    Connection Information
    Line state:
    Connected
    Connection time:
    2 days, 02:54:57
    Downstream:
    7.938 Mbps
    Upstream:
    448 Kbps
    ADSL Settings
    VPI/VCI:
    0/38
    Type:
    PPPoA
    Modulation:
    G.992.1 Annex A
    Latency type:
    Fast
    Noise margin (Down/Up):
    12.2 dB / 30.0 dB
    Line attenuation (Down/Up):
    5.5 dB / 2.0 dB
    Output power (Down/Up):
    12.0 dBm / 12.1 dBm
    FEC Events (Down/Up):
    0 / 267
    CRC Events (Down/Up):
    62265 / 111
    Loss of Framing (Local/Remote):
    0 / 0
    Loss of Signal (Local/Remote):
    0 / 0
    Loss of Power (Local/Remote):
    0 / 0
    HEC Events (Down/Up):
    56415 / 66
    Error Seconds (Local/Remote):
    52568 / 468

    thanks seems it is enabled, so do you know what i would have to do?
    THE BROADBAND AVAILABILITY CHECKER
    Your exchange is ADSL enabled, and our initial test on your line indicates that your line should be able to have an ADSL broadband service that provides a fixed line speed up to 2Mbps.
    Our test also indicates that your line currently supports an estimated ADSL Max broadband line speed of 8Mbps; typically the line speed would range between 7Mbps and 8Mbps.
    Our test also indicates that your line should be able to have an ADSL2+ broadband service that provides a fixed line speed up to 2Mbps.
    Our test also indicates that your line currently supports an estimated ADSL2+ broadband line speed of 17Mbps; typically the line speed would range between 10Mbps and 19.5Mbps. Our test also indicates that your line could support an estimated ADSL 2+ Annex-M broadband upstream line speed of 1.5Mbps and downstream line speed of 17Mbps; typically the downstream speed would range between 10Mbps and 19.5Mbps.
    The actual stable line speed supportable will be determined during the first 10 days of use. This speed may change over time, to ensure line stability is maintained.
    If you decide to place an order, a further test will be performed to confirm if your line is suitable for the service you wish to purchase.
    Thank you for your interest.
    Please note that postcode and address check results are indicative only. Most accurate results can be obtained from a telephone number check.
    Note: If you already have a Broadband service enabled on this line and you want to switch service providers, you will need to contact both your current provider and your new provider to get your service changed over new and existing service provider to have this service transferred.
    Also provision of some services may not be allowed due to product withdrawal, please contact your service provider for further details.

  • How can i get this summation right?

    Hi experts,
    who can help me out with this task...
    I have a sub report that has a group by week.
    Each week contains totals from deliveries, production, demand and at the end of each week is a calculated stock level (running total).
    Deliveries and production increases the stock level while the demand reduces the stock level.
    It looks a bit like this;
    Week     Delivery     Production     Demand     Stock level
    1                                                                                5
    2                    2                   2               5                    4
    3                    1                   1               3                    3
    4                    2                                    1                    4
    Now what I am looking for is this;
    I want to calculate the stock level in week 3 with deduction of the totals from delivery and production from week 2.
    Instead of the totals from week 2.  
    I dont want the demand calculation be changed it must be deducted from the from the stock level in the same week the demand is. 
    So then you get this;
    Week     Delivery     Production     Demand     Stock level
    1                                                                                 5
    2                  2                    2                  5                   0
    3                  1                    1                  3                   1
    4                  2                                        1                   2
    Who can help me with the right formula to get this done.
    Thank you in advance,
    BR
    Pokey!

    Hi,
    Try this:
    Create a Formula with below content and place it in place of "Stock Level" field
    numberVar current;
    if RecordNumber = 1 then current := <Database field for Stock Level>
    else if OnLastRecord then current := <Database field for Stock Level>
    else
    current := <Database field for Stock Level> - next(<Database field for Demand>);
    current
    Please replace the <Database field for...> with your actual database fields.
    Also check whether on last record, you are getting proper value.
    Hope this helps.
    Thanks,
    Raghavendra

  • Trying to get this "One" sound with Logic pro 8

    Hi everyone i spent like 2 hours last night trying to get this sound with Logic Pro 8 soft synths trying to find a sound exactly like or close to this sound: http://home.comcast.net/~tommykry/Weezer%20-%20Troublemaker.mp3
    The sound can be heard at 00:19 and through out the song, its like a low bass synth kind of sound that drifts down when its hit, like a portamento kind of thing. In live weezer videos the bass player is hitting a pad on a keyboard so i know its a key sound not a bass guitar slide. ive heard this sound in trance and techno songs as well. I have Sonar 8 and pro tools 8 as well and can look there if i have too, also have an Access viress Ti, But im trying to do this all in Logic. Like i said i played around for like more than 2 hours going through most of all the Logic synths, patch after patch trying to find something close i could tweak, so if anyone has more experience with The Soft synths in Logic Pro 8 and can steer me in the right direction i would be greatful.
    Thanks
    Tommy

    In live weezer videos the bass player is hitting a pad on a keyboard so i know its a key sound not a bass guitar slide.
    He could just be triggering a bass slide sample...
    It's some kind of bass sound that bends down, in a similar style to what a bass player might do. Whether it's a real bass or a synth is difficult to say (and probably doesn't matter a great deal), but in any case it's certainly compressed, and grunged up dirty with some amp sim or distortion...
    Try that route...

  • HT203167 I purchased Lady Antebellum's song "Dancing away with my heart"....Showed it could not be downloaded due to an error in the file.  I purchased the entire album "We Own the Night" so I could get this one song.  Again, it did not download.  WTH?

    I love the new Lady Antebellum song "Dancing away with my heart."  Purchased it, would not download.  So, I purchased the entire album "We Own The Night, just to get this song.....It downloaded all the songs except "Dancing away with my heart!"  Error message pops up everytime I attempt to download the song again "Error - file may be corrupted."  It is listed on my IPOD and in my list of purchased music, my account was debited, yet the songs are not there.  HELP!

    Delete the contents of the <Media Folder>\Download folder
    Use Edit > Preferences > Advanced > Reset cache
    Delete the current entry from your library
    Download it again from your purchased history
    tt2

  • HT1420 Itunes wont let me authorize this computer as I already have others. However, I no longer have those computers. What do I do to get this one authorized?

    Please help me out guys.
    Itunes has updated and now it wont play my purchased items because this computer isnt authorised.
    I no longer own the other computers that I have authorised, so I'm not too sure how I get to start again.
    Very frustrating, listening to one song and then it stops, because its not authorised to play the next song.
    Thank you
    Bec.

    Deatuhorize all
    iTunes Store: About authorization and deauthorization

  • Hi apple, I have the iPod touch 4th generation and I was wondering why hasn't my iPod update to ios7 I can get all of my other updates but I'm trying to get this one and and it doesn't come uo

    My iPod is the 4th generation I my iPod can be updated to everything else but the today when I tried going on my software update iOS 7 is not showing up can u help me fix that or can u update it for me

    iOS 7 apparently requires at least 512MB of RAM. The fourth generation iPod touch only has 256MB, and therefore won't get it.
    (89462)

  • Can't get this one site to work in IE8

    I'm convinced I have the current version of Flash working properly - IE8 reports Flash Shockwave Object 10.2.153.1 , Shockwave ActiveX Control 11.5.9.620 and the Adobe test page seems to confirms this. All seems fine with all other sites, but there seems something wrong with the following link - it reports "Flash Player 9 needed - you don't have it installed"
    http://www.slideshare.net/iaea/summary-of-reactor-unit-status-12-april-2011-1430-utc
    Yet this same page works in Firefox 4.0..(and I have viewed previous versions of the page successfully with IE8)!
    Is it just an error on the site?
    Thanks for any advice..

    Hi, I know some websites don't have information that's needed. I don't know if that site had a contact us or not.
    Flash Player this last time had some new Technology in addition to Security updates so maybe that website hasn't updated yet. That does happen.
    Hopefully you'll be able to find another site that's comparable.
    Thanks for marking your thread answered, which there  would have been a better answer:-)
    Regards,
    eidnolb

  • Cannot even get Safari to open

    Last night Safari was working fine. Today when I tried to open it nothing happened. I've clicked and clicked on it and nothing. I went to applications and clicked on the icon there and all I got was a spinning rainbow ball. Finder finally came on and said you can't do that. When I got the spinning ball I couldn't even get the apple force quit option to come up. Firefox still works fine. Don't know which Safari version I have because it won't open. Also can't put it in the trash and if I try dragging a new one from applications it just jumps into the old one. I'm not a whiz with computers, just basic knowledge. Right now running Tiger. Any ideas?

    st Name: Macintosh
    Date/Time: 2010-07-21 17:06:34.910 -0700
    OS Version: 10.4.11 (Build 8S165)
    Report Version: 4
    Command: ???
    Path: ???
    Parent: ??? [0]
    Version: ??? (???)
    PID: -1
    Thread: Unknown
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNPROTECTIONFAILURE (0x0002) at 0x000000a0
    (null)
    Unknown thread crashed with PPC Thread State 64:
    srr0: 0x0000000001550ec4 srr1: 0x000000000200f030 vrsave: 0x0000000000000000
    cr: 0x44422242 xer: 0x0000000000000007 lr: 0x0000000001550ec4 ctr: 0x0000000002109860
    r0: 0x0000000001550eb4 r1: 0x00000000bfffe3f0 r2: 0x0000000000000000 r3: 0x0000000000000000
    r4: 0x0000000000748ce8 r5: 0x000000000b0705c0 r6: 0x0000000000748858 r7: 0x0000000000748ce0
    r8: 0x0000000000748848 r9: 0x0000000000748cd0 r10: 0x00000000042c0a3c r11: 0x0000000000748848
    r12: 0x0000000002109860 r13: 0x0000000000000000 r14: 0x0000000000000001 r15: 0x0000000000000001
    r16: 0x0000000000000000 r17: 0x0000000000000000 r18: 0x000000000006226b r19: 0x0000000000000000
    r20: 0x0000000015c1f158 r21: 0x0000000000000000 r22: 0x0000000040000000 r23: 0x0000000040000000
    r24: 0x000000000b070380 r25: 0x0000000000000004 r26: 0x000000000b070380 r27: 0x000000000a86ab40
    r28: 0x000000000ad77498 r29: 0x000000000a86abf4 r30: 0x000000000ad77310 r31: 0x0000000001550d34
    Binary Images Description:

  • When I try to copy files from my computer (just pics) to my iPhone's media folder via Finder under 10.7, I get this error...

    I'm using MacFuse to connect via Finder. It worked before, even on 10.7. But since I cannected th eiPhone to my Windows 7 dual boot partition, now it won't work! Maybe it was just a coincidence, not sure. Just returns this error:
    "The operation can’t be completed because an unexpected error occurred (error code -8003)."
    I get this one when I try to copy files OFF of the iPhone:
    "The operation can’t be completed because an unexpected error occurred (error code -8072)."
    Sounds like a permissions error to me. So I fixed permissions on my Mac with disc utility, but same problem. Then chmod with terminal the media folder. Did nothing. So I can't change permissions, and they're not broken. What could've happened? I'm like, locked out of my device!

    Repair Apple Application Support.
    START/CONTROL PANEL/PROGRAMS N FEATURES/highlight APPLE APPLICATION SUPPORT, then click the REPAIR button

  • How can I get this effect?

    Hello! Good day to all.
    I was wondering if any of you experienced photoshop users can help me to learn how to get this effect.
    Here is the "before edition" image:
    And here is the "after edition" image:
    I got this effect playing around with filters in my Adobe Elements, but now that my father bought Photoshop CS6 Extended, I took advantage and installed it on my laptop aswell. The problem is, I have no idea how to use most of it.
    I've been learning some tricks on YouTube tutorials and courses, but I just can't find the way to get this one effect.
    I'm very gratefull for you taking the time to reading this and helping me, and I wish you a great day.

    Lots of ways to do that. After applying the Threshold adjustment, you could use Gaussian blur followed by levels and drag the black and white sliders toward the center like this:
    Or
    You could use the Magic wand with Contiguous un-checked, and select the blacks.  Then use Refine Edge, and add some Smoothing, and wee bit of feather.  OK that and fill with black  (Alt/Opt backspace with black as your foreground colour)
    Now invert the selection (Ctrl Shift i or Cmd Shift i) and fill with white.  You will loose fine detail acording to the settings you use in Refine edge - especiall the amount of Smoothing.
    Or
    Copy the layer with Ctrl/Cmd j
    Add a new background layer, and fill with white.
    Select the blacks with the magic wand (remember to uncheck contiguous in the Options bar), and with the selection in place, add a layer mask.
    Now completely fill the layer (not the layer mask) with black.
    You can now adjust the effect with the Mask Properties panel.  If you can get it right with Feather you can make as many adjustments as you like to fine tune, but if you use Mask edge, you only get one go because it is destructive editing.  

  • How to get this 2004 PMG5 back up and running?

    Hello all,
    My girlfriend and I picked up a bunch of Power Macs the other day: 1x G5 Quad, 1x G5 2004 Dual 1.8 and a G4 MDD 2003. The G4 works great and I upgraded the graphics to a lovely Geforce 3 Ti200 card. Great OS9 machine!
    The G5s though, are a different story. The Quad has the infamous Delphi LCS, which broke. The logic board is undamaged, but the previous owner was not kind to this machine. The red LED near the top RAM slot shows the ill fate of this machine.
    My question is mainly about the 2004 Dual 1.8Ghz machine. It POSTs fine, but once it tries to boot from a disk or a DVD, it hangs at the Apple logo. No spinning wheel, just an immediate freeze. The fans go turbo as soon as the open firmware is loaded.
    Specifications:
    G5 Dual 1.8Ghz from 2004
    2GB PC3200 (2x 1GB, tested as working properly in other machines)
    Radeon 9600XT
    Disks tested include several SATA drives as well as a Kingston HyperX SSD. DVDs include 10.4.6 Tiger and 10.5.6 Leopard, universal versions.
    What have we tried so far:
    - PRAM reset (machine doesn't respond to the command, just continues it's boot attempt)
    - Safe mode / single user mode / verbose mode (again, machine does not respond to the commands)
    - Replacing the PRAM battery
    - Booting into Open Firmware (works fine, the multiboot section works fine as well, and the install DVDs are detected)
    - dev /memory .properties command in Open Firmware (shows SPI data as expected, RAM appears functional)
    -  PCI SATA card to rule out a defective SATA controller.
    What we haven't tried yet:
    - Apple Hardware Test to diagnose any remaining problems.
    So, dear Apple community, is there something else we're missing here? I can get a Dual 2Ghz logic board + CPUs on the cheap if need be, but I'd rather get this one back up and running.

    I am delighted that you are someone who practices the reuse and recycle idea. Up until yesterday, I did not know that a Power PC version of the Mac was even made. I had been using a Intel imac that I bought new in 2007, and the shop that I had it at said that it would be too expensive to fix - so they were willing to let me have this power pc G5 for what I had put down for the repair. It looks like this PPC G5 is just about new - and I suspect because it was made non-upgradable from almost the git go.
    I am wondering if you have found anything that will adapt your machine to newer operating systems? I am wondering if you have tried an external hard drive possibly?
    If you are familiar with the Meet Up network - I am a member of the Okanagan Mac Users Meet Up group. I was thinking that it might make a lot of sense to make a proposal to Apple that the outfits that are making counterfeit software should be given an alternative that would be legit. I am thinking that these rogue software developers could be invited to make a budget line of adaptive software that could make use of the power pc hardware - and could be linked with some kind of software that would be able to interact with the advanced platforms. I would like to be able to get my system to run Chrome and Google docs. I also need to connect my HP Officejet 7610 wide printer.
    Anything you care to respond about is gratefully received,
    Alan Blanes
    Kelowna

  • HT4859 Once I back up my photos music mail etc. to icloud what do I do with that data on my iphone and iPad Delete it  for some reason I have a mind **** about this one

    I just dont understand icloud I guess.  I can't wrap my mind around this one.  Once I back up all my data to icloud what do I do with the data on my phone as far as pictures,music ,mail etc. I have an ipad, mac and an iphone.  Love them all just cant get this one.  I bought forty dollars worth of extra memorey for this as I trhought that was my problem.  It is still sitting there not used waiting to expire ...Please help and thank you for your time

    Do not delete anything from your devices, if you do it will be deleted from the cloud.
    Think of the cloud as the master copy for data you keep synced between devices.

  • I am getting this message, "Your computer must be restarted to complete a previous upgrade of Firefox."

    I have rebooted my computer several times and I am still receiving this message. Please advise as to how I can correct this problem. I even get this message when trying to uninstall Firefox.

    I had the same problem and went round and round in circles trying to uninstall FF5. Nothing worked. I eventually downloaded a free "Uninstaller" programme, i.e. Revo which did the job and I have since downloaded a fresh Firefox 5 which is working perfectly.

Maybe you are looking for