first of all import the java.io.* package
the ntry the following code
System.out.print("Enter name of the file to read from: ");
String InpFile = read.GetString();
try {
File fileIn = new File(InpFile);
//Open the input file as a buffered input stream
BufferedReader fIn = new...
there r some commands in JavaScript that work differntly with IE and Netscape. most probably this is the reason y u r facing this problem. u need to look out for this
Just download the jdk1.3 or jdk1.4 (recommending because they r the latest versions)from javas' sun website
"www.java.sun.com" or any other website. it's free and this package contains everything u need. also look out for this site for the free tutorials as they can prove to be very...
as you have stored ur java source files in d drive in a folder named 'javasource' just follow the following steps to set the path
just do the following:
d:/>javasource/path=c:/jdk1_3_1/bin
this will set the path and u will see this on the prompt:
d:/>javasource/
now just compile ur java...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.