Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.net

 
Bill Ceglia
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bill Ceglia
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic