Results 1 to 4 of 4
Thread: javac:file not found
- 02-05-2009, 05:35 PM #1
Member
- Join Date
- Feb 2009
- Location
- india
- Posts
- 2
- Rep Power
- 0
- 02-05-2009, 08:54 PM #2
Member
- Join Date
- Jan 2008
- Posts
- 31
- Rep Power
- 0
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"
- 02-08-2009, 02:13 PM #3
Member
- Join Date
- Feb 2009
- Location
- india
- Posts
- 2
- Rep Power
- 0
hiiii
thanx for your help :)
- 02-09-2009, 03:20 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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
-
javac file not found
By teamkeff in forum New To JavaReplies: 6Last Post: 06-23-2008, 10:17 PM -
file not found outside of Netbeans
By annie in forum NetBeansReplies: 0Last Post: 06-21-2008, 10:10 PM -
javac?
By sardare in forum EclipseReplies: 1Last Post: 06-14-2008, 02:06 AM -
javac DOS
By rdunne in forum New To JavaReplies: 3Last Post: 01-01-2008, 11:49 AM -
Help with javaC
By Daniel in forum New To JavaReplies: 2Last Post: 07-04-2007, 02:44 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks