aspose file tools*
The moose likes Beginning Java and the fly likes java.net Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java.net" Watch "java.net" New topic
Author

java.net

Bill Ceglia
Ranch Hand

Joined: Dec 13, 2001
Posts: 30
I am trying to import the java.net.* package but CodeWarrior is stating:

"Error : Package java.net not found in import.
CellTrack.java line 14 import java.net.*;"
How do I set the CodeWarrior IDE to use/find this package?
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

Whoa, that's twisted. Could you post the relevant code in context? I bet it's a typo.
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
Bill Ceglia
Ranch Hand

Joined: Dec 13, 2001
Posts: 30
Below are the imports and specifically the java.net.* package I'm trying to include. I don't have any code written using that package because I continually get this error.
package com.mot.j2me.midlets.celltrack;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.io.*;
import java.net.*;
import java.io.*; // for Input/OutputStream

Originally posted by Michael Ernest:
Whoa, that's twisted. Could you post the relevant code in context? I bet it's a typo.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.net