Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-18-2007, 06:38 AM
Member
 
Join Date: Dec 2007
Posts: 2
doood123 is on a distinguished road
problem from sun's java to eclipse
Hello,

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

cs/uwm/client/io

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:

package cs.uwm.client.io;

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!
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hibernator with eclipse : Problem in establishing the connection abhibh_1 Eclipse 5 11-08-2008 08:15 AM
how to debug java code in eclipse rajesh058 Advanced Java 3 07-26-2007 01:19 AM
java Sample 77 3 when using Eclipse Albert Eclipse 1 07-05-2007 08:47 AM
Building A Java Project In Eclipse JavaForums Eclipse 0 05-22-2007 11:34 PM
eclipse classloader problem sandor Eclipse 2 05-10-2007 05:26 PM


All times are GMT +3. The time now is 02:04 PM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org