Results 1 to 1 of 1
- 12-18-2007, 05:38 AM #1Member
- Join Date
- Dec 2007
- Rep Power
problem from sun's java to eclipse
All my code compiles fine with Sun's JDK but i need to be able to compile at school which is using a Eclipse compiler.
The problem I am getting is as follows:
i have a folder structure that goes as follows
and in this directory I have 3 files: ConsoleReader.java ConsoleWriter.java and ConsoleManager.java
and at the top of all three I have the following:
ConsoleReader and ConsoleWriter are compiling fine
However in ConsoleManager I am using these classes ConsoleReader/Writer and It compile fine for me on a windows JDK in cywin, but when I try this on a Fedore6 system with an Eclipe Java Compiler v_686_R32x, 3.2.2 release I have the following error:
ConsoleWriter cannot be resolved into a type
when I try the following line: ConsoleReader reader = new ConsoleReader( System.in );
I tried importing cs.uwm.client.io but that didnt' work. I couldn't find anything on the forums here if you are trying to use a class defined in your package inside your package the way I am.
I am guessing that this is a problem specific to Eclipse compiler
I am using the Eclipse compiler on a command line.
Any help would be great!
- By abhibh_1 in forum EclipseReplies: 5Last Post: 11-08-2008, 07:15 AM
- By rajesh058 in forum Advanced JavaReplies: 3Last Post: 07-25-2007, 11:19 PM
- By Albert in forum EclipseReplies: 1Last Post: 07-05-2007, 06:47 AM
- By JavaForums in forum EclipseReplies: 0Last Post: 05-22-2007, 09:34 PM
- By sandor in forum EclipseReplies: 2Last Post: 05-10-2007, 03:26 PM