Results 1 to 4 of 4
  1. #1
    lovearora is offline Member
    Join Date
    Feb 2009
    Location
    india
    Posts
    2
    Rep Power
    0

    Unhappy javac:file not found

    plz help how to handle javac :file not found

  2. #2
    tghn2b is offline Member
    Join Date
    Jan 2008
    Posts
    31
    Rep Power
    0

    Default

    So how have you set up your java system, having re-install windows 98 for the n+10 times, I did a file search for javac.exe then made a batch file called "makeClass.bat" and inside I have
    "C:\Program Files\Java\jdk1.5.0_02\bin\javac" assig5.java -Xstdout error.txt
    and it works good, it sends all the errors to a text file "error.txt"

  3. #3
    lovearora is offline Member
    Join Date
    Feb 2009
    Location
    india
    Posts
    2
    Rep Power
    0

    Default hiiii

    thanx for your help :)

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

    Default

    Best thing you have to do is, set the class path. Working on with bat files is not a good practice. You have to edit it time to time as well, for different Java classes.

Similar Threads

  1. javac file not found
    By teamkeff in forum New To Java
    Replies: 6
    Last Post: 06-23-2008, 10:17 PM
  2. file not found outside of Netbeans
    By annie in forum NetBeans
    Replies: 0
    Last Post: 06-21-2008, 10:10 PM
  3. javac?
    By sardare in forum Eclipse
    Replies: 1
    Last Post: 06-14-2008, 02:06 AM
  4. javac DOS
    By rdunne in forum New To Java
    Replies: 3
    Last Post: 01-01-2008, 11:49 AM
  5. Help with javaC
    By Daniel in forum New To Java
    Replies: 2
    Last Post: 07-04-2007, 02:44 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
  •