Can anyone tell me how  to compile java in different directory?

My javac path file is D:/java/jdk1.5/bin/
I create java file and save it in different directory eg) java file name is Main.java in f:
F:/Main
How can i compile and run the Main java file
Edited by: Sanjeevi on Mar 4, 2008 9:20 AM

C:\>D:
D:\>cd Main
D:\Main\>d:\java\jdk1.5\bin\javac Main.java
// ... some output, hopefully no errors
D:\Main\>D:\java\jdk1.5\bin\java MainAlternatively, make sure that D:\java\jdk1.5\bin is on your path and simply call javac and java.

Similar Messages

  • Can anyone tell me how to get Java installed?

    I have tried to install java several times and it says it is installed yet I cannot find it anywhere on my Mac.

    I am not sure what the permission repair is
    The short version:Go to Applications>Utilities>Disk Utility and select your volume and then select Repair Permissions.
    Same directions are also in the OS Mac Help Menu.

  • Can anyone tell me how to retrieve all reserved identifiers and keywords in

    can anyone tell me how to retrieve all reserved identifiers and keywords in oracle ???
    i want to know the syntax of query ??

    yes i do , but now i faced problem of JDBC
    thanx for the help , i am able to retrieve the keywords
    actually i want to retrieve the words in java thought JDBC
    my code is
    try ..//
    Vector  keywords =new Vector();
    String sql4=("select * from   V$RESERVED_WORDS");
    ResultSet rs7=stmt6.executeQuery(sql4);
    //  System.out.println("1");
    while(rs7.next())
    keywords.addElement(rs.getString("KEYWORD"));
    ;catch //This is giving following exception
    java.sql.SQLException: Invalid column name

  • Can anyone tell me how to get music cataloging set up properly?

    I have a lot of music on my ipod touch 5th generation but I have to look under composers, compilations, artist, album or songs in order to find different tracks can anyone tell me how to get it setup to see all artists listed under that category instead of having to jump all over to find music by the same artist?

    We have three ipods. One is my son's, one is my daughters and the other belongs to my husband. My husband put over 300 CD's on the ipod. He took it all off the Library and moved it directly to his Ipod as the computer did not have enough memory to keep it on ipod library. Now, the kids want his CD's on their ipods and we can not figure out how to move the CD's to it.
    Can you help?

  • I've used Firefox for years. 2 days ago it wouldn't open. I uninstalled it using Revo uninstaller and put it back. Its still the same. Can anyone tell me how 2 fix this or change my mail settings for I Explorer. thx

    and now it just wont open can anyone tell me how 2 change my mail going 2 firefox and start going 2 i explorer please

    For gmail there are no settings to change, you can access gmail from any browser just by going to the gmail site and logging in.
    The [[Firefox will not start]] article should help with the problem you are having with Firefox.

  • I am new to Mac Pro but am purchasing one online.  can anyone tell me how to get the information from my Toshiba onto the Mac.  there are no stores in the state I live in.  Do I need to find a location and will they do a transfer from my I Tunes etc?

    I am new to Mac Pro and am purchasing one online  tonight.  Can anyone tell me how to get my information - Itunes, photos, and videos transferred onto the Mac from my Toshiba.  the state I live in doesn't have an Apple store but I could take it to Minneapolis when I go.  Any ideas where to begin?

    You might profit from a visit to a Minneapolis Apple store. With a brand new Mac, I think they will be most helpful - not just with transferring files, but with other advice as well. And I strongly recommend you invest in a back up drive. The Apple folk can help with that as well.

  • Can anyone tell me how to I get an old account information and recorded messages from a conversation

    I am totaly confused by eircom and efibre.......last year I was in arrears with eircom to the tune of( as I thought) of €357.66and I was disconnected but in the long run I got a huge bill in my door of  €656.48 , when I had to the money to pay the original amount, I was put through to efibre who told me that remaining amount of €298.77 shouldnt have been on my account and they would take it off I was also given a new account and phone number. I have now got several bills from my old account plus a letter from a company called BCW (debt collectors) who are treathening to take legal proceeding against me...... can anyone tell me how do I get my old account information and that conversation I had that day??

    Thanks Tracey,I got a letter from the debt collectors BCW on Thursday to say if I didn't respond to that letter within 5 days they were going to take legal proceeding against me. 10 minutes from receiving the letter I got a call from BCW to say that eircom had been in touch with them to say the issue has been resolved and that I don't owe the money,I am now waiting on a letter from BCW to tell me same so as I have it in writing. So hopefully that is the end of the issue, Many thanks Confused 1

  • Can anyone tell me how to check the balance on an iTunes gift card that is not yet scratched?

    Can anyone tell me how to check the balance on an iTunes gift card that is not yet scratched or activated?

    If it's not printed on the card, then you'll need to check the receipt from the purchase of the card. There's no way to check the value from the card itself without redeeming it.
    Regards.

  • Hi, I recently changed my username for my iTunes/iCloud account. Can anyone tell me how i change the username on my iCloud iPad? When I go onto setting to change it it keeps the username grey so I can't even select it?

    Hi, I recently changed my username for my iTunes/iCloud account. Can anyone tell me how i change the username on my iCloud iPad? When I go onto setting to change it it keeps the username grey so I can't even select it?

    Welcome to the Apple Community.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
    In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
    In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > iTunes & App store, scroll down and tap your ID)
    If you are using iMessages or FaceTime, you will also need to log out and into your ID there too.

  • Can anyone tell me how to fix my iPod. I was updating it and I turned it off in the middle of the update. I tried to put it through a recovery on the iTunes but it keeps giving me 3194.When I turn it on it will go to a light blue screen.

    Can anyone tell me how to fix my iPod.I was updating it and I turned it off in the middle of the update. I tried to put it through a recovery on the iTunes but it keeps giving me 3194.When I turn it on it will go to a light blue screen.

    See the action for that error included here:
    iTunes: Specific update-and-restore error messages and advanced troubleshooting

  • Hello, can anyone tell me how to share my home macbook pro to my imac in the office? I tried file sharing but never worked for me...appreciate if anyone can help!

    Hello, can anyone tell me how to share my home macbook pro to my imac in the office? I tried file sharing but never worked for me...appreciate if anyone can help!

    I should have added to my posting (instead of using this "reply" -  it is the server passwork it is asking for and I have never known that I had one and assumed it was the passwork I always used for this type of thing.

  • I am trying to download music on to my 4th gen Ipod touch but it keeps saying that It is unable to download song/ could not download at this time. Can anyone tell me how to download my music?

    I am trying to download music on to my 4th gen Ipod touch but it keeps saying that It is unable to download song/ could not download at this time. Can anyone tell me how to download my music?

    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... (But can take Longer..)
    Release the Buttons...

  • My ipad is no longer syncing automatically when I connect to my macbook pro.  Can anyone tell me how to fix this?

    I've had an ipad since late December 2010.
    In the past, it has always automatically synced when I connect it to my macbook pro.
    Now, when i connect it...nothing happens.
    Can anyone tell me how to fix this?

    The first thing to do is to launch iTunes on your Mac. Go to Preferences - under the iTunes heading in the menu at the top. Click on Devices. Make sure that you uncheck the box next to - Prevent iPods, iPhones and iPads from syncing automatically. Quit iTunes and restart your Mac.
    Connect your iPad to the Mac and launch iTunes. Select your iPad under the Devices heading on the left side of iTunes. Then click on the Summary Tab at the top right side of the iTunes window. Put a checkmark (select) in the box next to  - Open iTunes when this iPad is Connected. Make sure that all of the other boxes are checked as you desire according to what you want to sync. Click - Apply - in the lower right corner to sync.
    Disconnect your iPad after syncing. Quit iTunes. Then connect your iPad again and iTunes should launch and sync automatically.

  • Can anyone tell me how to slow down a commerical track in Garage Band 10.00.  I was able to do it quite easily before I updated, but now find I am unable to do it.  Would be grateful for any help

    Can anyone tell me how to slow down a commercial track in Garage band 10.00  I was able to do this in the earlier version of Garage Band quite easily and it is a good tool for being able to teach new dances, but I find I am unable to do it in the new version, which has just been updated.  I would be grateful for any help.

    Just found it.
    Select your track with song imported from iTunes, open the Track Editor window, and in the head of the track editor  and press the "Flex" marker. Make sure "Enable Flex" is set,
    Then change the tempo of your project.

  • I am trying to export a video from Premiere Pro.  I have both audio and video checked and the sequence is active but only the audio exports.  There is no video at all.  Can anyone tell me how to get the video to export.  It was working fine until today.

    Premiere Pro CC has been working fine until today.  I have completed my sequence and it is active.  I have both audio and video checked when I am exporting using H.264 with Match Source Hi bitrate.  I am choosing entire sequence.  The audio exports but the video and title does not.  Can anyone tell me how to troubleshoot this so I can complete this project?  Please!

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

Maybe you are looking for

  • Is there a way to prevent users from editing their sent items in Outlook 2007, 2010, or 2013?

    Just as the title states. Any help would be great thanks.

  • Sales order stock not showing in stock overview(MMBE)

    Hi, I have a MTO scenario where against the sales order production order has been created. Production order has been delivered & the material document showing 101E movement type. After that the material has been transfered to another storage location

  • Printing issue with microsoft word and excel

    I open Microsoft 2004 Word and Excel separately and clicked on File / Open....not responding and so force quite. I went to Finder and opened the file directly and It did. But when I clicked Print, the print page doesn't show up. I closed the file. I

  • Need better regexp

    Hi, Have following data. 1. 'EVOX Ice-crystal -40 zim.kvap.ostr. 60NS' -- there is a '.' and ' ' then is string 2. 'EVOX Cinnamon -40 zim.kvap.do ostr.L2' -- there is only '.' then is string 3. 'EVOX Ice-crystal -40 SLx' -- there is only ' ' then is

  • Shockwave Player 11 - Missing text xtra

    I produce e-learning products using Director MX 2004 that are used nationally across the NHS in England. These ran perfectly in Shockwave Player 10.x but when users 'upgrade' to Shockwave Player 11, error messages appear stating that there is a missi