Perry Smith

Java Questions & Answers

Archive

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

High scholl how to use javac
Monday, 01-Mar-99 04:48:36

152.163.213.184 writes:

ok i wrote a small program tried to use javac that came with jdk 1.o but get an output along the lines of:_____ cant read helloWorld
im under win 98 and totaly new to programing almost frustrated im sure it has something to do with path; oor bin/java willing to pay for help

sincerly,
a day lost ignorance (well actualy 13hrs thanx all)

mike


Response
Re: High scholl how to use javac
Monday, 01-Mar-99 11:02:51

208.16.89.75 writes:

Post the Java code you have so that someone can help you correct it.

Perry Smith


Re: High scholl how to use javac
Tuesday, 02-Mar-99 13:44:26

148.5.110.71 writes:

It sounds like you just need to add .java to the file name in your command line. Note that the case of your file name should match that of your class.

      Class foo
      {
      }

      javac foo.java
Also make sure that your paths are setup correctly.

Perry is right. It would help to have more detail as to the error you are getting, the command you are using, your path setup, etc.

Scott_M2


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