i have problem after complinig Applet code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dan01
    New Member
    • Dec 2013
    • 1

    i have problem after complinig Applet code

    Please help me i am practising java free tutorial and i had this problem that stop me. i have tried little method that i think in solving the problems but still not solve help .the problem is this i tried compling Applet but not complied. At present the following error show up after typing javac Demo1.java and i get the follwing "javac file not found: Demo1.java" and each time i trying typing "Dir\java" i saw the "Demo1.java " in the directory
  • zmbd
    Recognized Expert Moderator Expert
    • Mar 2012
    • 5501

    #2
    All questions posted to the forum are to be handled within
    the forum.

    PMing code is against the site rules unless pre-aranged via a site admin/moderator due to the sensitivity of information.

    (post requesting the code was removed)

    Comment

    • chaarmann
      Recognized Expert Contributor
      • Nov 2007
      • 785

      #3
      If the file "Demo1.java " shows up when typing "dir \java", then it is not in the current directory, but in a subdirectory called "java". So you should switch to this directory with "cd java" before, by typing "javac Demo1.java".
      Or alternatively you can type "javac java\Demo1.java "

      Comment

      Working...