How can i set the dos can compile and excute the jar file?please help?

How can i set the dos prompt can compile my .java file and execute my jar file.

Go to where you downloaded your Java SDK. Look around for a button labled "Installation." Click the button. Download the installation instructions. Read them. Then read them again.

Similar Messages

  • I'm getting this problem when trying to update my iphone 3gs it says that the iphone software could not be contacted and I went on youtube got some advise to go into my hard drive to fix the error I have nothing in my host file please help me if you can

    I'm getting this problem when trying to update my iphone 3gs it says that the iphone software could not be contacted and I went on youtube got some advise to go into my hard drive to fix the error I have nothing in my host file please help me if you can this is all new to me.

    Read this: iOS 4: Updating your device to iOS 5 or later
    ... oh I think it is a 3gs or a 3
    This makes a difference. What does it say in Settings > General > About?

  • I just got the iPhone 5 and noticed that the message alerts will only alert once . I have it set up as 3 times and its not working . Please help. I'm running 6.0.2 and I really starting to get ****** off with apple products

    I just got the iPhone 5 and noticed that the message alerts will only alert once . I have it set up as 3 times and its not working . Please help. I'm running 6.0.2 and I really starting to get ****** off with apple products

    Instead of getting annoyed, read the User's Guide and try basic troubleshooting.

  • Trying to get my iphone5 to backup with icloud. i tried the set up the way the tutorial stats but still when i try it says backup was unable to complete. i have anipad running with the same icloud account and it has no problem. please help.

    trying to set up icloud on my iphone5 and it keeps saying that its unable to complete the back up.. i have it running on my ipad just fine.. please help. i followed all the steps in the tutorial.. thank you

    Hi DesCoop,
    You must initiallly activate iCloud from an IOS device or a Mac. You cannot inititally activated from a PC.
    Sorry.
    GB

  • How to Read from two file and write to another file --Please help !!

    Hi all,
    Please suggest me where i'm goin goin wrng.
    I have 2 flat files. one of them is the main file(Ann.dat) has a about 150,000 lines (each line has unique ID from 00001 to 45000) of data and the the other(Miss.dat) has a just a list of IDs that are no longer in use & have to be deleted from the first file(NewAnn.dat). (Note that Ann.dat is a tab delimitted file and Miss.dat is just a list of all invalid IDs)
    Below is my code. It doesn't do what I'm supposed to. Please suggest me or help me with a code to do it. What I'm trying to do is read each of the lines from the 2 files compare the ID in ann.dat with all the IDs in Miss.dat & if it doesn't match with the ID in Miss.dat write the whole line to NewAnn.dat. And do the rest with all the lines in Ann.dat.
    It could be a real dumb question. since i'm not a software professional, I consider myself to be newbie to programming. I desperately need your help.
    import java.io.*;
    import java.util.*;
    public class anntemp{
         public static void main(String[] args)
              String keyAnn ="";
              String keyMis="";
              String recAnn =null;
              String recMis =null;
              try{               
              FileReader fr=new FileReader("C:\\Tom\\Ann.dat");
              BufferedReader br=new BufferedReader(fr);
              int couter=0;
              while ((recAnn = br.readLine())!=null)
                   couter++;
                   keyAnn = recAnn.substring(0, recAnn.indexOf("\t"));
              FileReader fr1=new FileReader("C:\\Tom\\Miss.dat");
              BufferedReader br1=new BufferedReader(fr1);
              while((recMis = br1.readLine())!=null){
              keyMis = recMis.substring(0, recMis.indexOf("\t"));
                   if(keyAnn.equals(keyMis)){
         FileWriter fw=new FileWriter("C:\\Tom\\NewAnn.dat",true);
         BufferedWriter bw=new BufferedWriter(fw);
         PrintWriter pw=new PrintWriter(bw);
         StringBuffer writeValue = new StringBuffer();
         writeValue.append(recAnn);
                                                 pw.println(writeValue.toString());
         pw.flush();
              }catch (Exception expe){
                   System.out.println("In Exception ");
                   expe.printStackTrace();
    Thank you all in advance,
    br

    I think you need to close the files when you are done in the inner loop. Plus I think you'll be overwritting the file in the inner loop if more than one match. It might be easier to read the unused id file into a map at the start, and then loop up the id's from the master file in the map. You can put the unused id's in as the keys, and a Boolean.TRUE as the value (value won't matter). Then just check if the map contains the key for the id read from the master file. That should cut down on disk activity. This assumes the unused id file is smallish.

  • ISP has floating IP and changes several times a day - how do I set Foxfire to automatically detect and update the IP when I attempt to open the browser?

    If I log off my ISP automatically changes the IP address, when I used Windows Explorer I was able to tell it to automatically detect the new IP so I did not have a problem. With Foxfire I have to manually go out get the new IP and then open the browser - this is a PIA.

    When entering the URL either as your home page or new tab page, I suggest using the full URL https://www.google.com/ since otherwise there is a slight delay as Google redirects Firefox to the secure page.

  • How do i filter the blog by year and not just month? Please help A.S.A.P!

    Hey Everyone!
    Does anyone know any code so that i can filter by year in the blog feature in business catalyst? right now i can only do it by month.
    Help fast would be greatly appreaciated!
    Thanks!
    James

    Hi James,
    Are you talking about filtering so it has blog posted filtered yearly? 
    If so I suggest creating tags for the "years" then assigning blog post accordingly. 
    Once completed it'll appear like this on the front-end within your overall blog layout. 
    Hope this helps!
    -Sidney

  • I have a iPad 4 on iOS 7.0.4 and every time I go to the spotlight search my iPad would respring just after typing in one letter in the spotlight search bar and it keeps d..please help I have to give this iPad to my grandma for her birthday on January 6

    It would respring after typing in one letter at the spotlight search bar...how do I get rid of this...I have noticed this change about 1 day ago

    You will need to look elsewhere
    Jaigosh00 wrote:
    ... I think my cousin jailbroke the iPad without my knowing because there is a weird icon that says Cydia...
    Sorry... But...
    The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
    Unauthorized modification of iOS  >  http://support.apple.com/kb/HT3743

  • On my older I-MAC (2005) the computer turns on, but all I see is a grey screen with a small file that has a question mark and smiling FINDER face on it. Then the fan comes on and becomes very loud. Please help...

    My older I-MAC gives me a grey screen and flashes a question mark and smiling FINDER face inside a FILE icon. Then the fan begins to run and becomes very loud...and thats as far as it will let me go.

    See KB Articles:  http://docs.info.apple.com/article.html?artnum=106805 Mac OS X: "Broken folder" icon, prohibitory sign, or kernel panic when computer starts
    http://docs.info.apple.com/article.html?artnum=31355 Mac OS: Flashing Globe When Computer Turns On or A folder that has an alternating flashing question mark
    http://docs.info.apple.com/article.html?artnum=301733 iMac G5: How to Reset the SMU (iMac G5, the iMac G5 (Ambient Light Sensor), and the iMac G5 (iSight)).

  • HOW TO - Create new from clipboard and process multiple files - please help

    Need help - have new version of photoshop on trial only ATM...
    Want to know - HOW TO:
    1. Create new from clipbaord
    2. Process multiple files
    Please help.

    For clipboard copy, I start with File > New and the size will be set to what's in the clipboard. Then once the new file is opened, Edit > Paste will place the clipboard contents as a layer in the new document.
    You must remember to use the command Layer > Flatten Image of you want to save as jpeg or any other file format that doesn't support layers.
    For processing multiple files,
    File > Automate > Batch or
    File > Scripts > Image Processor...
    Check the User guide or google information for those commands if you have specific needs.
    Gene

  • How can I set up an older airport express using the newest airport utilities?

    How can I set up an older airport express using the newest airport utilities? Seems like there isn't an option to set this up.  Normally you could add/set up this in the airport setup assistant- but that doesn't exsist any longer.
    Thanks for any suggestions 

    How can I set up an older airport express using the newest airport utilities?
    Unfortunately you can't, since Apple dropped support of the older AirPorts with AirPort Utility 6.x.
    Using some workarounds....not supported by Apple.....you might be able to download and install an older version of AirPort Utility that would allow you to administer the older AirPort.
    See this thread for more details and instructions:
    https://discussions.apple.com/message/21397085#21397085

  • How can I set a gap in a JTextField, before the active Textfield starts?

    Hi,
    how can I set a gap in a JTextField, before the active Textfield starts?
    I'll avoid, that the input text starts immediately after the border of the JTextField.
    Btw, how can I set the height of the JTextField in a BoxLayout?
    Thx.
    Hans

    Yes, that was also my thinking, but nothing happens.
    Maybe You have an idea :-)
    Thx, Hans
    Here a part of my code:
      private JPanel createEntry(String label, JTextField jtf, String initJtf, boolean editable) {
        jtf.setColumns(15);
        if (editable) {
          jtf.setEditable(true);
          jtf.setBackground(new Color(191, 191, 255));
        else {
          jtf.setEditable(false);
          jtf.setBackground(SystemColor.control);
        jtf.setText(initJtf);
        jtf.setForeground(Color.black);
        jtf.setBorder(BorderFactory.createLoweredBevelBorder());
        jtf.setMargin(new Insets(50, 20, 50, 40));   // <-  The PROBLEM
        JPanel panel = new JPanel();
        GridLayout gl = new GridLayout(1, 2);
        gl.setHgap(1);
        panel.setLayout(gl);
        panel.add(BxpCdmUtils.Utils.createLabel(label, Color.darkGray, Font.BOLD, 11));
        panel.add(jtf);
        JPanel superpanel = new JPanel();
        superpanel.setLayout(new BoxLayout(superpanel, BoxLayout.X_AXIS));
        superpanel.add(panel);
        superpanel.add(new JLabel(" "));
        return superpanel;
      }

  • Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Gavin Lawrie wrote:
    Once it had been established that the iWork rewrite had resulted in some features being lost and others broken, and once Apple had acknowledged the concerns* and suggested they are working on fixes**, I'm not sure what else there is to achieve.
    You are writing that in the perspective of having read about it here already. Repeated often enough that you encountered it somewhere in the posts.
    Users are flooding in here and don't know any of this. Of course we have to repeat everything endlessly.
    Because I like to give precise, understandable and workable answers to repeated questions, and Apple doesn't allow sticky posts here, I created a separate forum which users can consult to look up real answers, and contribute for themselves if they have something valuable to add:
    http://www.freeforum101.com/iworktipsntrick/
    There is a section purely devoted to Pages 5. Add whatever answers you feel will lighten the problems of Apple's 'upgrades'.
    Peter
    * Where have they acknowledged anything?
    ** They have barely anything listed, compared to the massive list of deleted features, and nothing but an extraordinarily long time frame considering they created the problems here and now. Apple has not said they will do anything at all about fixing the real issues, the biggest of which is that the new iWork apps break virtually all the work of existing users.

  • HT201269 hi, my new device was set up in the store that I bought it from. How can I transfer all old text messages over to my new device? I have followed the icloud back up steps on this page. Please help, thank you.

    hi, my new device was set up in the store that I bought it from. How can I transfer all old text messages over to my new device? I have followed the icloud back up steps on this page. Please help, thank you.
    Its an iPhone 4
    Message was edited by: zzziggy85

    Here is how
    http://support.apple.com/kb/HT2109

  • When I listen to music on Apple TV 2 my pictures from iPhoto come in, but always the same album (which I nevr asked for), always in random order and always in a different format. How can I control what is going on and choose the album myself.

    When I listen to music on Apple TV 2 my pictures from iPhoto come in aafter about ten minutes, but always the same album (which I never asked for), always in random order and always in a different format. How can I choose a different album myself and control the order and format?

    Thank you Winston for a helpful response and for reminding me of something which I found nearly a year ago and then lost (in my mind) because I did not use it. I am grateful for a correct answer but it still only achieves part of what I wanted.
    I can now choose my photos, decide how long they stay on screen and choose one of a variety of presentations. Two things I still can't do.
    One is to get it to play the photos in the chronological order in which I have carefully set them in an album; it still tends to be random and repetitive. The other is that I cannot get any of them them to saty on screen for more than about 20 seconds. I guess this is all due to the way Apple TV is constructed.
    But still thanks, nevertheless.
    Alec

Maybe you are looking for

  • ORA-00600: internal error code, arguments

    Hi, I got this error: ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], [] when i execute this SQL select * from br_portal_bill from Java to Oracle9i and I got correct result from PL/SQL, may I know how to fix this pr

  • Internet Sharing from Macbook Pro to iPad???

    Trying to get my wife's iPad to connect to the internet in a hotel that has wired high speed internet but no wifi. My MacBook Pro connects just fine. So I turned on Internet Sharing for both Bluetooth and wifi (with WEP password for wifi). The iPad c

  • Every time I close my computer, i have to re-connect to my wifi when i open it back up.

    So I can connect to wifi just fine, but when I close my mac, I have to re-connect when I open it back up. It's really annoying especially when I'm in a hurry. How can I make it stay connected, even when it's closed?

  • Does audigy value oem have bass and treble contr

    Hi guys, i just bought an audigy value oem today and i'm using vista x64, for some reason i can't seem to find the sliders for bass and treble control, i've installed the 64bit drivers for vista and the sound card works like normal, but i upgraded fr

  • Flash 8 video encoder + SWF

    Hi, I need to convert some video file with the flash 8 video encoder but i need an SWF output instead of a FLV. I know FLV is the best for internet use but we can't integrate those type of file in director so I really ned a swf file. I was wondering