• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.net

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.


reply
    Bookmark Topic Watch Topic
  • New Topic