Ive been trying for days

hi guys.
im a complete beginer at java and only have any experience in html and basic. ive got a problem which is really winding me up. i have tried using three or four different programs but none of them work. i have used the command javac First on this code:
public class First
public static void main (String[] args)
System.out.println ("This is my first Java Program!!!");
it works fine and makes a file called First.class
i then try the command java First and it gives me this error.
Exception in thread "main" java.land.NoClassDefFoundError: First
every one is just telling me that ive cased it wrong but its definately right. when i said that people stoped replying. pleease help!!!

Here's what happens, unfortunately, that isn't well documented:
By default, java will assume that your current directory is part of the class path (it automaticallly looks in the current directory for your class files).
But then you read somewhere that you can set your classpath environment variable, so that you don't have to specify the classpath all of the time. So you do this, and all of a sudden, java doesn't check the current directory anymore. It looks only in the classpath as you've specified it.
The typical solution is to put '.' as part of your classpath environment variable.
- Adam

Similar Messages

  • HT2155 Ive been trying for days now to set up gmail.  I always get the message "user name or password for imap.gmailcom is in correct" I know for a fact that my onfo is correct.

    I have been trying for a long time to set up my gmail account.  So far to no avail.  I get a message that says "User name or password for Imap.gmail.com is incorrect.  Any sugesstions?
    thanks

    Try unlocking your account here: https://accounts.google.com/DisplayUnlockCaptcha.

  • Im trying to update my iphone 3g and i keep getting error 1015 that its unable to restore it what can i do ive been trying for 3 days now

    im trying to update my iphone 3g and i keep getting error 1015 that its unable to restore it what can i do ive been trying for 3 days now

    See Here...
    https://discussions.apple.com/message/15341923#15341923
    From the  More Like This  on the right...

  • Hi, I've been trying for days to download Windows support software via Bootcamp assistant, but it always failed with message 'Can't install Windows Support Software because it is not currently available from the Software update server.' Any advice welcome

    Hi,
    I've been trying for days to download Windows support software via Bootcamp assistant but it always fails with message 'Can't install windows software because it is not currently available from the software update server.'
    Anyone else had problems or success with this?
    Thanks in advance.

    9thdoc wrote:
    I'm getting a similar but distinct error message in snow leopard: Download could not continue. "The windows support software is not available" and have no original snow leopard instal disc with me.
    Your issue is completely different. You are running Snow Leopard. There is no download for Windows Support software for Snow Leopard, hence the error you see. Snow Leopard Windows Support software is on the Snow Leopard installation disk.
    You need the Snow Leopard installation disk or a replacement for it.

  • I have been trying for days to upgrade Flash Player on my Mac (Mac OS 10.8.3, Safari 6.0.4

    I have been trying for days to upgrade Flash Player on my Mac (Mac OS 10.8.3, Safari 6.0.4, current Flash Player version 11.6.602.180), but each time that I download the installer and run it, there is a "General installation error" soon after starting the "Installing" phase.
    Each time, the installer completes the "Creating Install" and "Downloading" phases, but soon after starting the "Installing" phase, an error occurs "Error: General installation error" and Safari is opened tohttp://get.adobe.com/flashplayer/completion/aih/?exitcode=30&type=inst all&appid=500
    Is it unusual for another "Install Adobe Flash Player" app to open?  When the "Installing" phase begins, a second flash installer box icon appears in the dock, but then closes immediately and then the first installer shows the "Error: General installation error" page.

    Try this installer http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_flash_playe r_11_osx.dmg

  • I went to turn on my device but it says i need to activate it even though i already did like 2 years ago and when i go to put in my apple id to reactivate it it says the activation servers are down but ive been trying for hours I 3 runon sentences.

    i went to turn on my device but it says i need to activate it even though i already did like 2 years ago and when i go to put in my apple id to reactivate it it says the activation servers are down but ive been trying for hours I <3 runon sentences.

    Wow!

  • HT2693 My computer will not allow me to install itunes. i have changed my pop-up setting. ive been trying for 2 hours. help!?

    I had itunes downloaded but i needed to update it inorder to transfer music to my iphone 3g. It would not let me, after several trys i just uninstalled it. then i went back and tryed to download the newer version. I clicked download now and it went to the page saying it has downloaded. So then i searched the progams and it was not there. At the bottom of that enternet page it asks if having trouble click here. I clicked and it said to change pop-up settings to medium, so i did, still does not work. i change it to low, still nothing. I have been trying for 3 days now. please help.

    Did you try the suggestions mentioned in this article? iOS: Device not recognized in iTunes for Windows
    Did you already try to remove all Apple related software and install iTunes again, as described in this article?
    Removing iTunes, QuickTime, and other software components for Windows Vista

  • HT201303 I have a new bank card and cannot change my old details to my new ones in app store. Every time i try it says payment method denied. Does anybody have any advice ive been trying for ages!!!

    How can i change my bank details in the app store on my i phone 4s hv been trying for ages and it just keeps saying payment method declined even tho im putting in all the correct details. please can someone help as i hvnt been able to download apps for months.

    I've created a new library on the same computer as my existing account and I've also created a new apple Id for my mum. But now I'm being told that I have to put in bank details because its new I don't want to enter them as I'm only ever going to use a voucher. But I cannot go any further until I enter them. This is really annoying me as I never did this when I first got my ipod. Plase help me with this. Thanks

  • I bought the mountain lion app and i have been trying for days to install it someone help i am going crazy up in here!

    I bought the mountain lion since last week and have been trying for hours to install it but i am not even getting to install it someone HELP!!!

    I wonder, if you may want to clean up your system first. You could try to scan and repair permissions on that machine, make sure no disc errors, and also do a final pram reset. Then try to re-install again.
    If the install still halts, then re-download the installer.

  • I installed an AU workstation for logic, and i put the component in the components folder, but no matter what I will do, it does not show up in logic for audio units.. ive been trying for 3 days so please help

    Ive literally tried everything no joke

    Is it an instrument or an insert effect? My guess is you've been trying to find it amongst the insert effects, where it actually is an instrument, which can only  be loaded in the Instrument Slot.

  • There is a message stating itunes cannot connect to itunes store.An unknown error has occured  (-3212). Make sure network is connected(which it is!) and try again. What can I do. I have been trying for days to purchase music...help! Please:)

    See above. My computer is online but not itune. What can i do???
    There is amsg stating itunes cannot connect to itunes store. An unknown error has occured (-3212) Please make sure the network is connected, which I've been on-line the whole time I;ve been trying to fix it . . Please help..ive been on this project for days. Thanks

    Hello Buck
    If you are having issues with the iTunes store, check out the article below.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Ive been trying for hours now but illustrator wont allow me to create clipping mask

    I have created the attached logo wit the pen tool. I then cut the middle bit out using the shape builder tool.
    I imported this onto a new document containing an image/object i want to clip it to . I select both go to object> make clipping mask.
    Both objects suddenly go blank and i can see the no fill/ no stroke icons. If this doesnt happen then ai will plain and simply say "cannot make clipping mask".
    This has been bothering me for a couple days now.
    Anyone have any ideas?
    Thanks in advance.

    herms-ra.
    You can do it in a quite different/similar way with Cliping masks, without or with the purple/flamelike/smoky coloured background.
    Note: There was an error in the first suggestion in post #18: In Step 5) you should select C) (the purple/flamelike/smoky coloured background to cut from) instead of D) (the underlying texture of the dripping black parts), sorry, I just spotted it.
    You may (reusing part of the first suggestion):
    1) Go back to, or start anew with, the following basic parts (starting with this stacking order):
    A) The Compound Path forming the inner dripping black part (in the A),
    B) The Compound Path forming the outer dripping black parts,
    C) The purple/flamelike/smoky coloured background to cut from,
    D) The underlying texture of the dripping black parts,
    E) The underlying texture of the inner letter parts;
    2) Select A) and B) and copy them both at the very top of the stacking order, then release both Compound Paths and delete the inner path from A) and the outer path from B), then make them into a new Compound Path consisting of the inner letter shapes (you may use Pathfinder>Minus Front or Object>Compound Path>Make);
    3) Move E) (the underlying texture of the inner letter parts) up just below the new Compound Path from 2), select both, and Object>Clipping Mask>Make, then hide;
    4) Select A) (the Compound Path forming the inner dripping black part (in the A)) and B) (the Compound Path forming the outer dripping black parts) and Object>Compound Path>Make;
    5) Select the combination from 4) and D) (the underlying texture of the dripping black parts) and Object>Clipping Mask>Make;
    6) Show 3).
    C) The purple/flamelike/smoky coloured backgroun, if you keep it, or any other background will will be visible wherever it is not covered.

  • I have paid for adobe but everytime i try to upload a pdf to adobe and convert it to word it fails !!! i have been trying for days now

    I have paid for adobe but everytime I try to upload a pdf to adobe and convert it to word I get a fail message after about 5 minutes waiting

    Hi Scott,
    I'm sorry to hear that you're having trouble using your Acrobat.com subscription. I've checked your account, and there are no issues there.
    Is the problem specific to one PDF file, or are you running into the same problem with multiple files? How large is the file (or files) that you're trying to upload? Are they complex (large number of pages; mix of text and graphics)?
    Let's start with some basic troubleshooting:
    Clear the browser cache and try again.
    Try a different browser (see System requirements | Acrobat.com for a list of supported browsers).
    Make sure that there are no firewall or proxy settings that are limiting your access to the Internet.
    Let us know how it goes. If you're still having trouble, we can take a closer look at the files that you're trying to convert.
    Best,
    Sara

  • How do I add Videos to my NEW 80GB iPod? HELP! I've been trying for days!!!

    I purchased a music video and two TV episodes from iTunes. It a long time to download and after it was finished, it disappeared from iTunes. It wasn't found in iTunes or on my iPod. I also downloaded videos from a third party website, got the videos on my iPod but when I went to play them, it played as an audio file with no video showing. How do I resolve this?

    Since you have a new computer, launch iTunes. From the menu bar click Store / Authorize This Computer.
    Now select Music in the source list on the left side of the iTunes window. If your purchase isn't there, go back to the menu bar click Store / Check for Available Downloads.
    Connect your iPod to your computer. You should be able to sync your iTunes media.
    Syncing music to iPod or iPhone

  • Can't create an account on Itunes store it says it is 'temporatily unavailable' to process my details ive been trying for a week

    I get as far as the page where I enter my bank card details and it keeps telling me to try again later as it was unable to process it, its really annoying me!!!

    Close itunes
    Check your internet settings.
    Control Panel – Internet Options – Advanced
    Check SSL 3.0 and TLS 1.0
    Uncheck “Check for server certificate revocation (requires restart)”
    Click Apply
    Click Okay
    Open itunes and try again.
    You will need to allow itunes in your security software firewall.

Maybe you are looking for