I have started but have some problems

hi :)
Heloo,
1) I downloaded the j2sdk1.4.1
2) I wrote the code in a text file and save it wit the extension .java
3) I wrote this command :
C:\j2sdk1.4.1\bin>javac HelloWorldApp.java
4) this error appeared to me:
error: cannot read: HelloWorldApp.java
5) I tried to remove the ".java" from the command but another error appeared whic is:
javac: invalid flag: HelloWorldApp
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are u
ed
-classpath <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-help Print a synopsis of standard options
So .... what is the problem ???
Question: Isnt there a java coder to avoid dealing with DOS, I hope so.. If yes ..where can I get it ?? "the link and the name fro the s/w plzzz".
Thank you very very much....

I want to tell you the complete dtory and tell me the solution for this problem
1) I create a folder, C:java , I intended to save all my java code files inside it.
2) I tried to compile my first java program by writing this command:
C:\java>javac HelloWorldApp.java
3)but this error occured.
'javac' is not recognized as an internal or external command,operable program or batch file.
4) You have gave me this link: http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html, I found the following note:
The name specified is not recognized as an internal or external command, operable program or batch file (Windows NT)
If you receive this error, Windows cannot find the Java compiler, javac.
Here's one way to tell Windows where to find javac. Suppose you installed the Java 2 Software Development Kit in C:\jdk1.4. At the prompt you would type the following command and press Enter:
C:\jdk1.4\bin\javac HelloWorldApp.java
5) I did as the note in the above link says and I changed the old command to this new one:
C:\j2sdk1.4.1\bin>javac HelloWorldApp.java
6) but this error has been occured
error: cannot read: HelloWorldApp.java
1 error
7) AFTER ALL THIS DTORY , HOW CAN I START RUN MY FIRST PROGRAM ????

Similar Messages

  • I have some problems when turning on my iphone5.  The screen turns black and so white and when I start an app it suddenly turn itselves off.  This happens every time when I turn it on.  After I have turned it on several times it acts normal...Anyone??

    I have some problems when turning on my iphone 5.  The screen turns black and then white and the appli is red and when I finally get in and start an app it turnes itselves off.  This happens every time when I turn it on.  After I have turned it on several times it acts normal.... But something is wrong...Anyone???

    Try reset
    Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data
    If no joy, restore backup using iTunes.
    Finally last attempt, rsetore as new and sync content back manually.

  • Hi, in my asus memo pad hd 7 i have some problems whit the videos, they run but whit many stripes in image

    hi, in my asus memo pad hd 7 i have some problems whit the videos, they run but whit many stripes in image.
    what can a i do?
    the firefox is apdated.
    thank you

    Thank you for the update, the fix will be in the release version of Firefox on 2015-02-24.
    In the mean time if you want to continue using Firefox beta our Sync service may be helpful getting your Firefox release data into Firefox beta. https://support.mozilla.org/en-US/kb/how-do-i-set-up-firefox-sync

  • I use LabVIEW 7.1 but I have some problem when, I use LabVEW to read the data from serial communication

    I use LabVIEW 7.1 but I have some problem when, I use LabVEW to read the data from serial communication.
    I use LabVIEW to read the data from serial communication then, i open the example (.vi) from Serial Communication - Advanced Serial Write and Read  from LabVIEW Example. BUT it have some error message that : Error - 1073807202 occured  at property node in visa configure serial port (instr).vi -> advance serial write and read .vi
    this error code is undefined. no one has provide a description for this code, or you might have wired a number that is not an error code to the error code input.
    I don't know why? please help me. thank you.

    When I copy that code into "Explain Error" I get: "VISA:  (Hex 0xBFFF009E) A code library required by VISA could not be located or loaded."
    You may have a bad install of VISA or the wrong version of VISA loaded. Try re-installing VISA. You can get the latest version from the NI support site: http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C0E91?opendocument&node=1....
    Also ensure that you are not pointing the example towards a serial port that does not exist.
    Please let us know what you find and what gets this working for you.
         Rob

  • My iPhone 4S mobile have some problem I didn't touch any button but some time my phone asking continuously Siri service not available how can I stop this problem. Even I try to to Siri service also this problem coming again please give me a solution

    My iPhone 4S mobile have some problem I didn't touch any button but some time continuously my iphone distrubing Siri not available please give further soliton even I try to stop Siri service as well it is coming again again please give solution

    Kline25 wrote:
    So even if I just ask to pay them to replace the lock button they won't because my screens are third-party?
    Apple does not repair devices beyond replacing the screen on some models or a battery replacement.  They replace the ENTIRE device.
    For the Out of Warranty replacement cost, you could have gotten a fully functional replacement device.  Instead you chose to spend less to get only the screen replaced and continue to live with additional issues.
    Apple will not touch the device now.  They will know that it was opened elsewhere and that the replacement screen is not original.

  • I hav som problem with my appstore n ibook dey just dont load i thought i need 2 upi date but now in mavericks updates r connected with appstore it opens up but it doesnt load sam with my ibook app and ye my date and time is fine any solutions?

    i have some problem with my appstore and ibook they just dont load thought i need to update but now in mavericks updates are now connected with appstore so i cant do that it opens up but doesnt load just blank same with ibook store it says cannot connect and yea my date and time is fine any solutions?

    Hi, James.
    Yes, the iBook should run even with no battery installed.
    These are the four most common possibilities when the battery will not charge:
    (1) there is something wrong with your battery
    (2) there is something wrong with your power adapter
    (3) there is something wrong with your power input board (the part that contains the port where you plug in the adapter)
    (4) there is something wrong with your logic board
    Since you have eliminated all the possibilities except (4), it is likely that your logic board is having problems. The PMU (Power Management Unit) is part of the logic board, and it may be going out (hence, temporarily working again when you reset it). Since the iBook is not running reliably without the battery in place (as it should), replacing the battery most likely would be futile.
    When a computer gets to be five years old, it seems a bit short-sighted to pay very much for repairs, just to have something else go wrong sooner rather than later. Have you had a look at the hugely improved specs on the new MacBooks? Is it time for a new portable to avoid embarrassment during your presentations? It sounds like that could be your best option.

  • HT1937 my headphone have some problems ,but your Customer service staff cant solve the problem for me ,my iphone5s in within warranty period

    apple inc:
                  how are you . i am a buyer from chengdu city of china ,i bought the iphone5s in February ,2014. i have used five months ,suddenly ,my iphone5s have some problems with the headphone.the main cause is the sound of the headphone is becoming smaller and smaller ,then i took it to apple Customer service center to check it ,at last ,they told me that some liquid get into the headphone of my iphone5s ,i am very angery to hear that ,i havenever got liquid into the headphone,and my iphone never touch any liquid.so that they canot mend the iphone for me .
                 this is the question what i meet now ,i hope you can give me a solution ,because the result is not made by me .i hope i can get your company reply as soon as possible.
                          thanks
                  zhaolong
              chengdu city,in sichuan province ,in china
                phone:13540823419
                email:[email protected]

    hi:
      friend,thanks for your reply ,can you tell me how to contact apple inc sercer?i am looking forward to your reply
    thanks

  • Can i install Illustrator CC with Photoshop CS6 and Indesign CS5.5 or can i have some problems of compability? I use Windows 7. Thank u...

    Can i install Illustrator CC with Photoshop CS6 and Indesign CS5.5 or can i have some problems of compability? I use Windows 7. Thank u...

    Generally this should work, but of course there may be occasional compatibility issues across the different programs and their different versions.
    Mylenium

  • Hi guys. i have some problem with a link from a pdf on-line,when i click on it,the page adds a "%" at the and of the link and says "page not found" because of it

    Hi guys. i have some problem with a link from a pdf on-line,when i click on it,the page adds a "%" at the and of the link and says "page not found" because of it.
    This happens only when a load my pdf file on my server, because if i click on the link when the file is on my iPad, the page opens without problem.
    Any help please?
    thanx

    the % sign is often used when there's a space in a name. HTML doesn't like spaces so it fills them with % or %20
    try, on the end of that link, see if there's a space built into the page or the link when the page was made
    On the web address you may be able to 'backspace' at the end and erase that space to get the address, but whomever made the page possibly put a mistake in the link

  • I have some problems with work in Flash cs6

    I have some problem with my game when I created it using adobe flash cs6
    When the duck hits the screen, like from right to left it shows
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at Duck/ducksmove()
      at flash.utils::Timer/_timerDispatch()
      at flash.utils::Timer/tick()
    This is the code so please help check which is wrong
    package  {
      import flash.display.MovieClip;
      import flash.utils.Timer;
      import flash.events.TimerEvent;
      import flash.events.MouseEvent;
      public class Duck extends MovieClip {
      var moveDuck:Timer = new Timer(10);
      var speedX:Number;
      public function Duck() {
      this.addEventListener(MouseEvent.CLICK,KillDuck);
      moveDuck.addEventListener(TimerEvent.TIMER,ducksmove);
      moveDuck.start();
      speedX = 10;
            function ducksmove(evt:TimerEvent):void
      this.x -= speedX;
      if (this.x <=0)
      moveDuck.stop();
      moveDuck.removeEventListener(TimerEvent.TIMER,ducksmove);
      this.parent.removeChild(this);
      function KillDuck(evt:MouseEvent):void
      var p:MovieClip = this.parent as MovieClip;
      p.setScore();
      p.updatecount();
      this.removeEventListener(MouseEvent.CLICK,KillDuck);
      this.parent.removeChild(this);
      moveDuck.addEventListener(TimerEvent.TIMER,ducksmove);

    You appear to be trying to remove the same object twice, first in the KillDuck function and then in the ducksmove function.  If it is removed already you can't try to remove it again because it is no longer in the display list.

  • I have some problem about wifi sync with iOS5

    Hi~everbody~
    I have some problem with wifi sync, and still don't know how to resolve it. Please Help Me~
    First,I using Windows 7 64-bit, the latest iTunes 10.5, and iPod touch 4 with 5.0(9A334), and of course a WIFI AP in my room.
    Here is my major problem:
    When I setted up enable wifi sync in iTunes summary, the iTunes had identified my iPod and show at left side in iTunes,
    even when I unplug  my iPod touch 4 from my computer, the iTunes still shows there.
    But after one day when I came home, I opened the iTunes want do a wireless sync, but the iTunes did not found my machine.
    I have tried restart computer, restart WIFI AP, disable anti-virus software, close MSN, close teamviewer, and any software may caused some unstable network issue between iTunes and iPod touch 4, but when I done these whole things, the iTunes still not found my iPod.
    So I want to know do Wifi Sync needs any specific net port ? like 80 port or some port else?
    Wish there are somebody can help me fix this, very appreciate.
    BTW: Even iTunes did not found my iPod touch 4, but I can still using "Remote App" to control iTunes music play, so I really confuse why it just can't do wifi sync ?

    This error has got nothing to do with rmi.
    The StackOverflowError means the Java VM stack is filled up. The
    stack is used for keeping track of method calls. An easy way to
    produce a StackOverFlowErrer is the following code:
    class Test {
    public static void main(String[] args) {
    a();
    static void a() {
    a();
    So if you call method a() within the same method, the stack
    fills up quickly.

  • Hi! Everyone, I have some problems with JOIN and Sub-query; Could you help me, Please?

    Dear Sir/Madam
    I'm a student who is interested in Oracle Database and
    I have some problems with JOIN and Sub-query.
    I hope so many of you could help me.
    if i use JOIN without sub-query, may it be faster or not?
    SELECT field1, field2 FROM tableA INNER JOIN tableB
    if i use JOIN with sub-query, may it be faster or not?
    SELECT field1,field2,field3 FROM tableA INNER JOIN (SELECT field1,field2 FROM tableB)
    Thanks in advance!

    Hi,
    fac30d8e-74d3-42aa-b643-e30a3780e00f wrote:
    Dear Sir/Madam
    I'm a student who is interested in Oracle Database and
    I have some problems with JOIN and Sub-query.
    I hope so many of you could help me.
    if i use JOIN without sub-query, may it be faster or not?
    SELECT field1, field2 FROM tableA INNER JOIN tableB
    if i use JOIN with sub-query, may it be faster or not?
    SELECT field1,field2,field3 FROM tableA INNER JOIN (SELECT field1,field2 FROM tableB)
    Thanks in advance!
    As the others have said, the execution plan will give you a better idea about which is faster.
    If you're trying to see how using (or not using) a sub-query affects performance, make the rest of the queries as similar as possible.  For example, include field3 in both queries, or ignore field3 in both queries.
    In this particular case, I guess the optimizer would do the same thing either way, but that's just a guess.  I can't see your execution plans.
    In general, simpler code is faster, and better in other ways, too.  In this case
    tableB
    is simpler than
    (SELECT field1, field2  FROM tableB)
    Why do you want a sub-query in this example?

  • HT3702 Dear Customer Support... I have some problem with In-App Purchases and i can not Report a Problem  in Itune

    Dear Customer
    I has one Iphone and I have some problem with In-App Purcases Because my sister purchased In-app when she play
    and i can not report a problem in Itune,
    I inadvertently purchased all of this application in Order Number: MH*****4H5  Date: 04/09/12 ,Order Total $36.81
    So i can't use App store on my phone Because have problem Billing info and i dont want this order, I inadvertently purcased all of this application
    Hopefully I can ge help from you as well.
    Best Regards
    <Edited By Host>

    These are user-to-user forums, you are not talking to Apple here. All purchases are considered final, but you can try contacting iTunes support and see if they will refund or credit you : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • My iPhone 5 the speaker probably doesn't work, I feel upset because my friends said to me don't buy it because the software of iPhone 5 have some problems and I didn't listen to them , now I would like to see how apple will help me !!!!!

    The speaker of my iPhone 5 probably doesn't work and I don't know the reason although some of my  friends said to me don't buy it because the software of iPhone 5 have some problems but I didn't listen to them

    Check this support document for SIM issues http://support.apple.com/kb/TS4148. No one here is Apple, we are users like you. We can only recommend you try Apple again, unless you are close to an Apple store and can make an appointment to go in there.

  • My Iphone screen have some Problem

    Dear Sirs,
    My phone was buyed at Sep.2012 at toronto, now the screen have some problem you can see below picture, i need to fix it but i am in China they can not support me to change the screen and let me contach with you .
    Could you please provide me a solution for how can i fix my phone.
    do you need some information for checking? like part No. or IMEI/MEID numer .
    I can sending my phone through Post office , could you please give me a address ? due to I can not go to toronto.
    waish you reply. Many Thanks.
    BR
    Chai Jia Dong

    Nope
    One needs to press the home and sleep / wake keys together for the phone to reset
    The other thing I could recommend
    Let the battery run out and the phone completely "die"
    It may take a day or two with it not being used
    Then plug it in to charge and see if there is any change in behavior
    If you cannot get this to work - you may need to bring it to an Apple store

  • My iphone have some problem

    My iphone 5 have some problems. Whenever I turn on its camera , after two or three snaps phone turns off itself , and only turns on After 10 or 15 minutes.

    Hello there, Salmanxrg.
    When having issues with an app not functioning as expected, such as the Camera app, the following Knowledge Base article offers up some great steps for troubleshooting:
    iOS: Not responding or does not turn on - Apple Support
    If a single application is not responding or stops responding when it opens, you can force it to close.
    If the device is unresponsive or if certain controls aren't working as expected, restart your device.
    If the device remains unresponsive or does not turn on (or power on), reset your device.
    If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
    If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
    Let it charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
    If the screen displays a red battery icon, continue charging the device until the battery is fully charged. Learn more about charging iPhone and iPod touch, or iPad.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more about restoring iOS software.
    If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
    If the above steps do not resolve the issue, contact Apple.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

Maybe you are looking for

  • Login issue in 11.5.10.2

    Getting below error while login in oracle.apps.fnd.framework.OAException: java.lang.NullPointerException      at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)      at oracle.apps.fnd.framework.webui.OAWebBeanHelper.proc

  • How to backup pictures from 'photo library"

    I've been to 3 different stores across the US and no one can answer my questions or just say that my pictures are pretty much lost. I had a 3G and a 15 MBP that had pictures of my daughter on them at birth. I had to send my MBP back to apple to get f

  • PDF opens with areas highligthed (bright blue, yellow, red)

    Since my last upgrade, I have noted my PDF documents not opening properly - the areas of the form that I am opening - PDF - are highlighted, as you would with a highlighter...very strange.  Our IT has looked into the issue, but no one can help me, so

  • What is a good, safe and free converter for converting csv flies into ofx or qfx flles

    I am considering to buy HomeBudget. However my bank only supplies CSV files. I need a good free and safe converter to convert csv files to ofx or qfx file format. Any advice? Thanks.

  • HP Pavilion g6-2235us onboard keyboard not completely working

    HP Pavilion g6-2235us. The top row function keys work. The rest of keyboard does not. Scanned for virus's and worms. None found. Did a go back.and  Reloaded drivers. Did not help. Keyboard works in bios setup. Reset by  pulling battery and pwr. Hold