A question about Sun Microsystems Java program

  • From: "Gilbert Neiva" <gneiva@xxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Fri, 11 Jun 2010 19:21:54 -0600

How do you run a .class program using javac. When I typed javac and then the 
name of my .java file, it compiled it into a class file, but it didn't run. The 
program I'm trying to run and compile into a class file is a simulation of a 
grade sheet. It asks for a name, course number and assignment number. It then 
displays the user's name, course number and name, and assignment number along 
with various labels that display the person's score. When I typed Javac 
GradeSheet.java, GradeSheet.java being the name of my program source file, it 
didn't ask me for anything. It just compiled into a .class file. Can anyone 
help me with this problem. I made the source file with Eclipse, but the 
instructor whom I'm suppose to hand in this program will no doubt be running 
the javac program.

Gilbert Neiva

Other related posts: