Sprint Wireless Toolkit Help / Newest J2SE SDK?

I'm using the Sprint Wireless Toolkit but when ever I try to 'package' anything, which I guess is compiling it, it tells me that I need J2SE SDK version 1.6 or newer. I thought I had the newest version, but just to be safe, could someone please point me in the direction of the latest J2SE SDK download.
Thanks
Edited by: rmhughes on Feb 3, 2009 12:22 AM

just to clarify there are 2 types of Java --> The JRE (Java runtime environment) and JDK (java Development kit)
It's the JDK that you need to run the java compiler (javac). To make thinks easier, you can dlowload the whole package (URL above ^) when you try and install it will ask if you want to remove the Java already installed, click yes. (Take note on where you are installing the java files as you need it later. I didn't deploy mine using the default path, I deployed my java on the root of the C drive so the path of my java turned out to be c:\Java\bin) follow the steps, next next next click click click.... by the end you should have JRE and JDK installed.
Then you need to set the path of javac, to do this...
->open up CMD
type the following --> set PATH=%PATH%;C:\Java\bin <--- The only thing you might have to change in this is the path. This is where the bin folder is where you installed the JDK.
then try javac Hello.java

Similar Messages

  • Where can i download J2SE SDK  1.3.1_02 ??help!!

    i want use JavaTM 2 SDK, Enterprise Edition 1.3.1
    but in it's release notes
    Required Versions of the J2SE SDK
    SolarisTM 7 Operating Environment
    SolarisTM 8 Operating Environment 1.3.1_02
    Windows NT 4.0,
    Windows 2000 Professional 1.3.1_02
    Linux Redhat, v. 6.2 1.3.1_02
    there are much j2se 1.3.1_03 on web,but where 's 1.3.1_02????help!

    The thing should work with 1.3.1's newest version, 1.3.1_03 also.
    However if you are really sure to want an old version:
    http://java.sun.com/products/archive/

  • Using palm os emulator through java wireless toolkit!!.....pls help

    I have palm os emulator 3.5 installed.I am trying to integrate it wid d java wireless toolkit 2.2,in addition to d default devices provided by d toolkit.But i hav failed to integrate pose in jwtk.
    i am running midp2.0 and cldc1.1.
    Also i have downloaded d rom files required by d emulator.
    Pls anyone help me!!
    How can i use palm os emulator through java wireless toolkit?
    thanking you
    shivam sahai

    hi,
    I hope that you already have the J2ME Toolkit and that your emulator works okay. In the toolkit you get several examples to show you how to program a MIDlet. One has to do with a HTTP client server connection. Also in the API documentation for the J2ME there is a Connector class that you used to set up this communication and in the description of this class it pretty thoroughly explains how to set up an HTTP protocol client.
    However, if you want to do some other kind of networking then you are pretty much out of luck, as the TCPIP socket protocol has not been fully implemented and is optional to the J2ME specifications, only the HTTP protocol is certain to be available. This means that mobile phone companies can add other networking functionality to their phone's java virtual machine if they feel like it. This is a bummer I know.
    I hope this helps.
    Cheers,
    Mark

  • Java Wireless Toolkit Setup Help Needed

    I am interseted in mobile application development, and I have recently tried to set up the Java Wireless toolkit 2.0 on my laptop.
    I have spent gours trying to get it to work correctly - still nothing!!
    When it's all installed, I have opened up the sample projects -- e.g. Games.
    When I hit 'Build' I am given the following error:
    Project "games" loaded
    Project settings saved
    Building "games"
    C:\WTK20\apps\games\src\example\pushpuzzle\PushPuzzle.java:145: cannot access java.lang.StringBuilder
    file java\lang\StringBuilder.class not found
    alert.setString("Could not load level " +
    ^
    com.sun.kvem.ktools.ExecutionException
    Build failed
    Can someone please tell me what to do?!?
    Is it to do with setting the classpath?? How do I do that??
    What other Java tools do I need to have prior to installing the Wireless toolkit?? JVM?? Where do I get this? How do I install it correctly and set paths correctly??
    Any help would be HUGELY appreciated as I have downloaded so much stuff at this stage I have compleely confused myself!!

    Hey.
    Right, last night I downloaded the latest version of JDK - version 1.5.
    I installed it successfully.
    So in the folder C:\ Java there are two folders: Jdk-1.5_etc and JRE-1.5_etc.
    Next I downloaded and installed the latest version of the wireless toolkit.
    It saw that I had the JDK installed at th correct folder, and it installed at C:\WTK20 - said it installed correctly.
    So, next I select create project - call it hello world.
    Then I place the following code in the src folder of the helloWorld folder:
    * Copyright 2000-2001 by Sun Microsystems, Inc.,
    * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
    * All rights reserved.
    package examples.helloworld;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class HelloWorld extends MIDlet implements CommandListener {
    private Command exitCommand;
    private TextBox tb;
    public HelloWorld() {
    exitCommand = new Command("Exit", Command.EXIT, 1);
    tb = new TextBox("Hello MIDlet", "Hello, World!", 15, 0);
    tb.addCommand(exitCommand);
    tb.setCommandListener(this);
    protected void startApp() {
    Display.getDisplay(this).setCurrent(tb);
    protected void pauseApp() {}
    protected void destroyApp(boolean u) {}
    public void commandAction(Command c, Displayable d) {
    if (c == exitCommand) {
    destroyApp(false);
    notifyDestroyed();
    I hit build and it builds correctly - no errors - YAY!!.
    I hit run, the phone emulator pops up. I hit launch and:
    An error pops up on the screen of the phone.
    The error below appears in the Wireless toolkit window:
    Project "HelloWorld" loaded
    Project settings saved
    Building "HelloWorld"
    Build complete
    Running with storage root DefaultColorPhone
    Unable to create MIDlet HelloWorld
    java.lang.ClassNotFoundException: HelloWorld
         at com.sun.midp.midlet.MIDletState.createMIDlet(+14)
         at com.sun.midp
    I'm using version 1.5 of JDK - what have I not done - why won't it run.
    I keep getting Java.lang errors!!!!
    AAAGGGHHHHH!!!!!!!!!!!!!!!

  • I cannot finish installation of J2SE SDK, help!!!

    I downloaded J2SE SDK v1.4.2.05, and installed on Windows 2000 Professional with SP4.
    But the installation always waits endlessly on status:
    Finishing installation, please wait. This may take several minutes.
    It never success after my many times retries.
    I donnot know why. It's the first time I meet such a problem.
    If I terminate the installation forcely, the next J2ME installation won't find the j2se and report error.
    Do you have the same experiences?
    Please help me to resolve the boring prolem.
    Thanks.

    Did you wait for "several minutes"? This can take up to 5 minutes and longer! I also noticed this since the first 1.4 SDKs when i installed with the Windows installer. I also thought that it crashed but it continued after many minutes (5-10 minutes ...). I have no idea why this takes so long on a GHz server computer, but just give it a try.

  • Need help with Socket prog using Java wireless toolkit

    Hi, I am not able to communicate between client (Palm emulator) and server (Java on computer) using Java Wireless toolkit.
    Can anyone please tell me a site that shows an example. I have seen a bunch of examples but they all run by importing com.sun.kjava which seems to have vanished into thin air. So I cannot run them. Someone please show me some lines of code that will send just one character from client Palm emulator to server. thanks.
    Syed

    hi,
    I hope that you already have the J2ME Toolkit and that your emulator works okay. In the toolkit you get several examples to show you how to program a MIDlet. One has to do with a HTTP client server connection. Also in the API documentation for the J2ME there is a Connector class that you used to set up this communication and in the description of this class it pretty thoroughly explains how to set up an HTTP protocol client.
    However, if you want to do some other kind of networking then you are pretty much out of luck, as the TCPIP socket protocol has not been fully implemented and is optional to the J2ME specifications, only the HTTP protocol is certain to be available. This means that mobile phone companies can add other networking functionality to their phone's java virtual machine if they feel like it. This is a bummer I know.
    I hope this helps.
    Cheers,
    Mark

  • Cannot find symbol ERROR only in Sprint's Toolkit

    Hi,
    I am using Netbeans 6.5, Java 1.6_10 (because _12 was not letting me install Sprint emulator) and I have a small issue, please help me:
    The thing is that I can develop and use Sun's Wireless Toolkit normally without any error messages, but when I tried to use Sprint's... I got this message in a simple Java.Lang.comparator class:
    Compiling 1 source file to C:\Users\Marcio\Documents\NetBeansProjects\MobileApplication3\build\compiled
    C:\Users\Marcio\Documents\NetBeansProjects\MobileApplication3\src\CreateAddressBook.java:16: cannot find symbol
    symbol : class Comparable
    location: package java.lang
    class CreateAddressBook implements java.lang.Comparable {
    1 error
    C:\Users\Marcio\Documents\NetBeansProjects\MobileApplication3\nbproject\build-impl.xml:398: Compile failed; see the compiler error output for details.
    BUILD FAILED (total time: 0 seconds)
    regarding this class:
    class CreateAddressBook implements java.lang.+Comparable+ {
    I've never used Sprint's Toolkit before, but I did exactly what was said to install it and had no error messages during install, everything fine.
    The Sprint Emulator appears normally at the proprieties page, but when I click "Ok" appears that red exclamation on the class in one of the files.
    I've tried to import, no success. Netbeans gives me a yellow highlight saying that this import is not being used.
    I've checked everywhere (not this where that you're thinking, but you have to tell me)... and didn't find the possible error. I've never used Sprint with my application. That in the picture is an attempt to isolate the problem creating a new project with the only problematic class.
    Have to remember that everything works really great with Sun's Wireless Toolkit, only get's an error when I change to Sprint's Toolkit.
    Please help
    Thanks,
    Marcio

    Use code tags when you post code.
    Post the code that produces the error - the code that you posted does not.
    The code you posted has the following errors
    VolcanoRobot.java:18: ')' expected
                    System.out.println("Status: " status);
                                                 ^
    VolcanoRobot.java:18: illegal start of expression
                    System.out.println("Status: " status);
                                                        ^
    VolcanoRobot.java:19: ')' expected
                    System.out.println("Speed: " speed);
                                                ^
    VolcanoRobot.java:19: illegal start of expression
                    System.out.println("Speed: " speed);Once those errors are fixed you get the errors that you posted.
    VolcanoRobot.java:25: cannot find symbolThe number in that line (25) tells you the exact line where the error appeared. Although sometimes the cause might be a line before that.
    It also tells you specifically what it doesn't like. In this case 'showAttributes'.
    Hint: So look at that line carefully. And look at the method carefully that that is supposed to call. They are not the same.

  • Wireless Toolkit installation problem

    I have installed the SDK to the default directory, but the wireless toolkit doesn't recognise it when it installs. Consequently, I can't build projects in the wireless toolkit. Does anyone know how I can point out to the wireless toolkit where the SDK is?

    i don't think it's wrong,
    but just try installing j2se 1.4 and tghen give the path of j2se sdk 1.4 as the path for the VM that the toolkit requires while installing.
    in short, do this:
    install j2se sdk 1.4.1 or 1.4.2
    then install the toolkit
    when the toolkit asks for the path of the VM , set the path to the j2se folder.
    try this; i think it will work.

  • Null Pointer Exception and Illegal Arguement when ran with Wireless Toolkit

    The following code throws a null pointer exception after it tried to initialize the textBox. I am not sure if there is something I am not importing, or if it's just because I'm sick and my head is cloudy. :-}.
    I am using Wireless Toolkit 2.2 and Java 5.0
    Anyhelp would be appreicated. Thank You.
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class TacticalTestMain extends MIDlet implements CommandListener {
         private Display display;
         private Form formMain;
         private TextBox tbHelp;          //Text Box for help Command
         private Command cmExit;          //A button to exit midLet
         private Command cmBack;          //Go "back" to main form
         private Command cmHelp;          //Ask for help
         public TacticalTestMain()
              display = Display.getDisplay(this);
              formMain = new Form("Tactical Survey Program");
              cmExit = new Command("Exit", Command.SCREEN, 1);
              cmBack = new Command("Back", Command.BACK, 1);
              cmHelp = new Command("Help", Command.HELP, 1);
              formMain.addCommand(cmExit);
              formMain.addCommand(cmBack);
              formMain.addCommand(cmHelp);
              formMain.setCommandListener(this);
              System.out.println("Before Create Text Box");
              //Create the help textBox with a max of 25 charecters
              tbHelp = new TextBox("HeLp", "You can press the back button", 25, 0);
              tbHelp.addCommand(cmBack);
              tbHelp.setCommandListener(this);
              System.out.println("AfTER Create Text Box");               
         }//end constructor
         public void startApp()
              System.out.println("Inside StartApp()");
              display.setCurrent(formMain);
         }//end startApp()
         public void pauseApp()
         }//end pauseApp
         public void destroyApp(boolean unconditional)
              notifyDestroyed();
         }//end destroyApp()
         //Check to see if the exit button was selected
         public void commandAction(Command c, Displayable d)
              System.out.println("Inside commandAction()");
              String sLabel = c.getLabel();
              if(sLabel.equals("Exit"))
                   destroyApp(true);
    Errors from the KToolbar:
    Running with storage root DefaultColorPhone
    Before Create Text Box
    Unable to create MIDlet TacticalTestMain
    java.lang.IllegalArgumentException
         at javax.microedition.lcdui.TextField.setChars(+105)
         at javax.microedition.lcdui.TextField.setString(+27)
         at javax.microedition.lcdui.TextField.<init>(+134)
         at javax.microedition.lcdui.TextBox.<init>(+74)
         at TacticalTestMain.<init>(+134)
         at java.lang.Class.runCustomCode(+0)
         at com.sun.midp.midlet.MIDletState.createMIDlet(+19)
         at com.sun.midp.midlet.Selector.run(+22)
    Execution completed.
    743701 bytecodes executed
    23 thread switches
    741 classes in the system (including system classes)
    4071 dynamic objects allocated (120440 bytes)
    2 garbage collections (91412 bytes collected)

    Hi zoya,
    Here is the problem:
    tbHelp = new TextBox("HeLp", "You can press the back button", 25, 0);
    This line declares a maximum textbox size of 25 but in reality he is declaring a textbox of size 29.
    Thats why it is throwing the illegal argument.
    happy coding :)

  • Installing Wireless Toolkit 1.0.3 on Suse 8.0 problem

    Hello,
    I try to install Wireless Toolkit 1.0.3 on Suse 8.0. I always get the message:
    uudecode: command not found Failed to extract JavaVersionTester class.
    Walking through all Suse packages didn't help. What could be the problem and how could I solve it?
    Thanks.

    solved it! Suse 8 doesn't install sharutil packages

  • Wireless toolkit in sun one studio 4 update 1 mobile edition?

    I'm starting work on a MIDP 2.0 procect that requires the 2.1 wireless toolkit for JSR-172 (web services) support. I'm currently using Sun One Studio 4 update 1Mmobile Edition with the built-in 1.04 toolkit. Is there any way for me to setup the 2.1 toolkit to work with S1ME4_1?
    I know the Early Access release of ME 5 ships with 2.1 toolkit support, but my project extends beyond the 60 day license.
    Any help would be appreciated. Thanks. :-)

    Hi,
    1. install the WTK 2.1
    2. In your project in S1ME4_1 in the Explorer
    - select Runtime -> Device Emulator Registry -> Installed Emulators
    - click right on that and choose "Add... Emulator" and enter your path to the WTK 2.1 (normally you have then a new "installed emulator" (J2ME WTK2.1)
    3. Open the "Default Emulator" and change it by clicking right on the one mentioned.
    4. add the midpapi20.jar from the lib directory of WTK2.1 to the classpath (i.e. by mounting)
    Hope it works.
    Kay

  • How to use KAWT with "Sun Java Wireless Toolkit 2.3 Beta"?

    Hi!
    Im new to developing java for mobile devices so all of this is pretty confusing for me. I started with installing suns:s "Wireless Toolkit 2.3 Beta" and it works fine but now I want to use awt classes so I started to look it up and that�s how I found out about kawt. I followed the tutorial at http://www.kawt.de/ and i was able to use it for Java Wireless Toolkit 1.0.4_02 so that it compiled fine and was run able.
    Then I tried the same thing in v 2.3 but I got a error that looked like this "Uncaught exception java/lang/NoClassDefFoundError: awtDemo: /awt/event/ActionListener: Cannot create class in system package." when i tried to run it. It compiled fine when I pressed the build button witch wouldn�t have happened if i hadn�t installed it correctly. So I�m wondering if someone knows were to find a tutorial for installing kawt for "Sun Java Wireless Toolkit 2.3 Beta" or if anyone knows what might be wrong?
    I'd welcome any help
    Thanks!

    If using the zip install of DSEE, you need to use your own java container to host DSEE. Try downloading the latest Tomcat (http://tomcat.apache.org) and deploying your dscc in it.

  • Wireless Toolkit J2ME - changing the directory structure for your projects

    When I create a new package in the Sun Java Wireless Toolkit, the toolkit is creating a folder for the application and its subfolders in the following directory:
    C:Documents and settings/Owner/j2mewtk/2.5.2/apps/<name_of_project>....
    I am trying to change the directory for new and existing projects so that the directory is:
    C:WTK2.5.2/apps/<name_of_project>....
    The WTK is already installed directly under the C drive (C:WTK2.5.2/ )
    Any help would be much appreciated.

    I experience the similar problem.
    But got success with some mobile models and most of them fail.
    I put the following file in the web page.
    (test.html, test.jad, test.jar)
    Sony Erisson P800, install successful when accessing http://x.x.x.x/test.html, or http://x.x.x.x/test.jar
    Nokia 7650, install successful when accessing http://x.x.x.x/test.jar
    Nokia 3530 Fail,
    Does anyone know how to install java game to Nokia 3530 through Web.

  • Java wireless toolkit beta 2.5

    i have been having problems my application in a palmOne tungsten E2.so i thought may be somethin is wrong with my code, i tried installing one of the demos that came with java wireless toolkit 2.5 beta, and it have the same error.The pda cnt seem to install applications created by the toolkit, anyone know why?pls help, its urgent.
    Yusra

    have u copied soure files to src folder
    and defined midlet and it's class under seetings tab?

  • How to use assert with wireless toolkit?

    Hi,
    I am trying to find out how to use assert with wireless toolkit. I have found that I need to pass "-source 1.4" to the java compiler. But I can't find any documentation on how to do it.
    I'm using J2ME Wireless Toolkit 2.2.
    thanks
    Ludde

    Here's a quote from an article on Java World at http://www.javaworld.com/javaworld/jw-11-2001/jw-1109-assert.html
    "To support the new assertion facility in J2SE 1.4, the Java platform adds the keyword assert to the language, an AssertionError class, and a few additional methods to java.lang.ClassLoader."
    So I really think it's part of 1.4.

Maybe you are looking for

  • PRINTOUT OF QUANTITY CONTRACT

    hi friends, I want to take the print out in qty contract.  kindly give me how to take printout of the same. your suggestions are taken valuable. regards, G.V.SHIVAKKUMAR 9790986272.

  • Settlement rule validation

    I need to create a control that will restrict the abiltiy of an order to settle to only certain types of WBS elements. Currently we have a settlement profile that will only allow WBS settlement.  We need to further restrict this settlement to only sp

  • Possible Bug: Rolling Back from Flex3 to Flex2

    My Beta expired for Flex3. I was unaware that Flex 2 users could use a serial to extend their beta. Instead I disabled the Flex 3 plugin and reinstalled Flex 2. After the change eclipse essentially broke down. I had a number of errors, I wish I had r

  • Moving a shape

    Hi, I have a maze and I want to make it possible for a charachter (an image) to run through the maze. Not taking the walls in acount, he may run through walls, i don't mind i'll program that later. The maze itself is actually a 2D array filled with 1

  • PDF thumbnail generation has stopped working

    Hello Together, formerly I was using Adobe Reader X at an actual Patch Level on a 64 Bit Windows 7 system. At that time PDF thumbnails were no subject for me. Now I've upgraded to Adobe Acrobat X Pro and uninstalled Adobe Reader X. Then I wanted to u