Results 1 to 3 of 3
  1. #1
    Npcomplete is offline Member
    Join Date
    Oct 2008
    Posts
    3
    Rep Power
    0

    Default Compiles in Netbeans, error in textpad

    I am in a beginner Java class. I have had points deducted from every lab because my professor says my programs, which I wrote using NetBeans 6.1, give him error messages when he compiles them. I tried saving textpad files with the .java extension, but I get error messages saying 'file not found' when I try to compile them through the command prompt.

  2. #2
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default Let's see ...

    • What is the exact name of the java file?
    • What is the exact compile command that you are running from the command prompt?
    • What is the exact error you are seeing?
    ?

    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Copy-paste the complete error message here to see. Without doing any modification on the NetBeans file try to compile it as it is on the command prompt. You can find the source file on the src folder in your project folder.

Similar Threads

  1. NetBeans IDE 5 server error
    By aditya in forum NetBeans
    Replies: 0
    Last Post: 10-28-2008, 04:56 AM
  2. Program Compiles but Buttons do not display
    By ljk8950 in forum AWT / Swing
    Replies: 8
    Last Post: 08-11-2008, 03:41 AM
  3. NetBeans error
    By michcio in forum New To Java
    Replies: 1
    Last Post: 01-27-2008, 11:09 AM
  4. Help with using .jar files (in textpad)
    By arlemberg in forum New To Java
    Replies: 1
    Last Post: 11-20-2007, 12:34 AM
  5. about textpad
    By fred in forum New To Java
    Replies: 3
    Last Post: 08-06-2007, 06:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •