Aparentemente s� est� faltando voc� colocar o javax.microedition.* no CLASSPATH
----- Original Message -----
Sent: Monday, November 04, 2002 8:35 AM
Subject: [j2me-list] Iniciante - Configuracao


 
Ol� Pessoal,

Preciso de um help de voc�s.

Estou estudando o desenvolvimento de alguns projetos aqui na empresa
usando Palm.
 
Baixei o J2SDK1.4.1 e o J2ME Wireless Toolkit 1.0.4_0, instalei os dois at� ai blz estou usando o JCreator 2.5 como editor s� que quando vou compilar acontece os seguintes erros:
 
--------------------Configuration: j2sdk1.4.0 <Default>--------------------
D:\Share\Java\29102002\MIDP\HelloWorld.java:8: package javax.microedition.midlet does not exist
import javax.microedition.midlet.*;
^
D:\Share\Java\29102002\MIDP\HelloWorld.java:9: package javax.microedition.lcdui does not exist
import javax.microedition.lcdui.*;
^
D:\Share\Java\29102002\MIDP\HelloWorld.java:11: cannot resolve symbol
symbol  : class MIDlet
location: class examples.helloworld.HelloWorld
public class HelloWorld extends MIDlet implements CommandListener {
                                ^
D:\Share\Java\29102002\MIDP\HelloWorld.java:11: cannot resolve symbol
symbol  : class CommandListener
location: class examples.helloworld.HelloWorld
public class HelloWorld extends MIDlet implements CommandListener {
                                                  ^
D:\Share\Java\29102002\MIDP\HelloWorld.java:12: cannot resolve symbol
symbol  : class Command
location: class examples.helloworld.HelloWorld
    private Command exitCommand;
            ^
D:\Share\Java\29102002\MIDP\HelloWorld.java:13: cannot resolve symbol
symbol  : class TextBox
location: class examples.helloworld.HelloWorld
    private TextBox tb;
            ^
D:\Share\Java\29102002\MIDP\HelloWorld.java:29: cannot resolve symbol
symbol  : class Command
location: class examples.helloworld.HelloWorld
    public void commandAction(Command c, Displayable d) {
                              ^
D:\Share\Java\29102002\MIDP\HelloWorld.java:29: cannot resolve symbol
symbol  : class Displayable
location: class examples.helloworld.HelloWorld
    public void commandAction(Command c, Displayable d) {
                                         ^
D:\Share\Java\29102002\MIDP\HelloWorld.java:16: cannot resolve symbol
symbol  : class Command
location: class examples.helloworld.HelloWorld
        exitCommand = new Command("Exit", Command.EXIT, 1);
                          ^
D:\Share\Java\29102002\MIDP\HelloWorld.java:16: cannot resolve symbol
symbol  : variable Command
location: class examples.helloworld.HelloWorld
        exitCommand = new Command("Exit", Command.EXIT, 1);
                                          ^
D:\Share\Java\29102002\MIDP\HelloWorld.java:17: cannot resolve symbol
symbol  : class TextBox
location: class examples.helloworld.HelloWorld
        tb = new TextBox("Hello MIDlet", "Hello, World!", 15, 0);
                 ^
D:\Share\Java\29102002\MIDP\HelloWorld.java:23: cannot resolve symbol
symbol  : variable Display
location: class examples.helloworld.HelloWorld
        Display.getDisplay(this).setCurrent(tb);
        ^
D:\Share\Java\29102002\MIDP\HelloWorld.java:32: cannot resolve symbol
symbol  : method notifyDestroyed ()
location: class examples.helloworld.HelloWorld
            notifyDestroyed();
            ^
eu tenho que configurar alguma coisa em especial para compilar.
� melhor fazer por linha de comando?
Como fa�o?

O codigo do progra est� em anexo se alguem puder me dar uma for�a.

Bem. Por enquanto � isso.

Valeu!

Tomazeli.

.
____________________________________________________
  IncrediMail - O mundo do correio eletr�nico finalmente desenvolveu-se - Clique aqui

Responder a