The Artima Developer Community
Sponsored Link

Java Answers Forum
MathOps.java from Eckel does not work

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Charles Keller

Posts: 8
Nickname: cgkeller
Registered: Oct, 2003

MathOps.java from Eckel does not work Posted: Oct 31, 2003 3:30 PM
Reply to this message Reply
Advertisement
I tried to compile and run "MathOps.java (from C03)" and I get the following 3 errors:
C:\Java>javac -classpath . -d . MathOps.java
MathOps.java:5: package com.bruceeckel.simpletest does not exist
import com.bruceeckel.simpletest.*;

MathOps.java:9: cannot resolve symbol
symbol : class Test
location : class MathOps
static Test monitor = new Test ();

MathOps.java:9: cannot resolve symbol
symbol : class Test
location : class MathOps
static Test monitor = new Test ();

3 errors

What did I do wrong?
Compiler did not create a MathOps.class file.
In my autoexec.bat I have:
Set Classpath= C:\code\C03\com.bruceeckel.simpletest.*

Your help would be appreciated.
Charles.

Topic: Mail Attachment from Client Node Previous Topic   Next Topic Topic: Connect to DB2 with Java

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use