469,592 Members | 2,030 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,592 developers. It's quick & easy.

java -classpath problems

i have to learn java for college and im trying to do a programming assignment at home. in class we use a class file called InOut which simplifys input and output but i can't get the compiler to see the classfile this is the compiler output:
(the file InOut.class in in /jclass)

me@mycomputer:~/docs/programming/JAVA$ javac -verbose -classpath /jclass iotest.java
[parsing iotest.java - #1/1]
[reading java/lang/Object.class]
[analyzing iotest.java - #1/1]
[reading java/lang/String.class]
[reading java/lang/System.class]
[reading java/io/PrintStream.class]
[reading InOut.class]
1. ERROR in iotest.java (at line 2)
import InOut;
The import InOut cannot be resolved

the progrm goes as so:

input InOut;

class iotest{
public static void main (String[] args){

input 2 numbers, multiply them and output simply to test the InOut


Im using Kubuntu 6.10
Nov 23 '06 #1
0 962

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Michael | last post: by
1 post views Thread by ptaz | last post: by
reply views Thread by Markus Wollny | last post: by
5 posts views Thread by TZESENG | last post: by
12 posts views Thread by Mark Fink | last post: by
1 post views Thread by jaimemartin | last post: by
reply views Thread by oll3i | last post: by
7 posts views Thread by oll3i | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.