View Single Post
  #10 (permalink)  
Old March 29th, 2013, 11:56 PM
oma_roland oma_roland is offline
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Alonsodev,

I got mine to work by removing the package line. I expanded the Chapter 5 program to do a similar program, but I have a java file called Circuit.java and then TestLesson5.java. After I removed the package line from each file, I then did the following:

javac Circuit.java TestLesson5.java

That created a Circuit.class file and a TestLesson5.class file.

I then entered java TestLesson5

The program then execute as it did in Eclipse.
Reply With Quote