Perry Smith

Java Questions & Answers

Home / Java Q & A Archive Page 1 / Java Q & A Archive / Java Q & A Main Page

I just downloaded JDK 1.1.6 and I followed all the Instructions, but I'm wondering where to write (javac Helloworld.java). Do I write it in MS-DOS or Notepad or is there a user interface like pascal where you can write code. That is why I am confused, I just learned pascal. And am I supposed to be able to save my code in notepad under a java file or is it supposed to be a html file, whenever I save it , it always saves it as a text file.

Bryce


Responses
9-17-98

Look here: http://steggy.minn.net/~psmith/question6.html

Let me know how it works out for you.

Perry Smith


9-17-98

you write the javac HelloWorld.java on the c: prompt under MSDos. And also you save the code under .java file not as an .html file.


9-18-98

To stop Notepad from automatically appending the .txt extension when you save a file, you have to enclose your filename in double-quotes ... like "HelloWorld.java"

Mike


Home / Java Q & A Archive Page 1 / Java Q & A Archive / Java Q & A Main Page