PLease Help


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: PLease Help

  1. #1
    KSA Guest

    PLease Help


    At our school, textpad is used in conjunction with java in order to write
    programs. I have downloaded java and textpad to my computer. When i pull
    up an appliction in java and press Compile, a messege comes up that says:
    BAD COMMAND OR FILE NAME
    PROCESS COMPLETED SUCCESSFULLY

    Please help me. I have no idea what is going on. I am not that intelligent
    with computers. If you can help me, i sure would appreciate it.

  2. #2
    Guest

    Re: PLease Help

    to compile java code, you must type 'javac programname.java' at the prompt.


    "KSA" <lander_gal@yahoo.com> wrote in message
    news:3aa54fb3$1@news.devx.com...
    >
    > At our school, textpad is used in conjunction with java in order to write
    > programs. I have downloaded java and textpad to my computer. When i pull
    > up an appliction in java and press Compile, a messege comes up that says:
    > BAD COMMAND OR FILE NAME
    > PROCESS COMPLETED SUCCESSFULLY
    >
    > Please help me. I have no idea what is going on. I am not that

    intelligent
    > with computers. If you can help me, i sure would appreciate it.




  3. #3
    Guest

    Re: PLease Help

    in addition, make sure that you save your code with a .java extension.


    <tony> wrote in message news:3aa55953@news.devx.com...
    > to compile java code, you must type 'javac programname.java' at the

    prompt.
    >
    >
    > "KSA" <lander_gal@yahoo.com> wrote in message
    > news:3aa54fb3$1@news.devx.com...
    > >
    > > At our school, textpad is used in conjunction with java in order to

    write
    > > programs. I have downloaded java and textpad to my computer. When i

    pull
    > > up an appliction in java and press Compile, a messege comes up that

    says:
    > > BAD COMMAND OR FILE NAME
    > > PROCESS COMPLETED SUCCESSFULLY
    > >
    > > Please help me. I have no idea what is going on. I am not that

    > intelligent
    > > with computers. If you can help me, i sure would appreciate it.

    >
    >




  4. #4
    JohnB Guest

    Re: PLease Help


    "KSA" <lander_gal@yahoo.com> wrote:
    >
    >At our school, textpad is used in conjunction with java in order to write
    >programs. I have downloaded java and textpad to my computer. When i pull
    >up an appliction in java and press Compile, a messege comes up that says:
    >BAD COMMAND OR FILE NAME
    >PROCESS COMPLETED SUCCESSFULLY
    >
    >Please help me. I have no idea what is going on. I am not that intelligent
    >with computers. If you can help me, i sure would appreciate it.


    Unbeknownst to some of the readers, TextPad has a built in 'link' to the
    Java compiler, IF IT IS PROPERLY INSTALLED! My first suggestion is to uninstall/reinstall
    TextPad. You might also want to check to make sure Java is properly installed,
    especially your environment CLASSPATH variable. Any decent beginning book
    on Java can explain CLASSPATH.


  5. #5
    Javier Guest

    Re: PLease Help


    You should check your classpath. If you haven't set it as a system variable
    in your autoexec.bat or in your control panel you could do it directly in
    yor Textpad.

    Go to Configure -> Preferences -> Tools -> Compile Java

    In the parameters field should type (the following is where I installed my
    jdk1.3, be sure to modify the path to your own installation path):

    -classpath ".;D:\jdk1.3\lib\tools.jar" $File

    Good luck!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center