Java ME SDK 3.0 Math Class

Using Eclipse and Java ME SDK 3.0
When the Application Descriptor configuration is set to use DefaultCldcPhone1 or other emulators in the Java ME SDK 3.0 many of the Math class methods such as Math.sqrt(double arg0) are not available. However if I change the configuration to use a Nokia emulator all the Math class methods become available.
This issue has just shown up since moving from WTK25 to Java ME SDK 3.0
Note:
Under Eclipse/Preferences/Java ME/Device Management the Configuration of all the emulators from the Java ME SDK 3.0 is listed as CLDC-1.0 whereas the other emulators from Nokia and from the Sun Java Wireless Toolkit 2.5 are listed as CLDC-1.1.

It is related to the configuration of the emulator (CLDC 1.0 or CLDC 1.1)...
If the configuration is CLDC 1.0 all the floating point data types (float, double, Float, Double) will not be available...
If you change the configuration to CLDC1.1 , then all the previous types will be available.
PS: I don't know how to do this in EclipseME

Similar Messages

  • Using java math class  for power's SQ rt and rounding.

    Hey all
    ive attempted to use maths class to create a program a user can enter a number and then the output shows
    The number rounded to the nearest integer
    The Square root of the number
    and finaly the number to the power of 6
    So far i have the following code but im a bit thick to what im missing ....
    import java.util.*;
    public class Mathclass
         public static void main(String[] args)
         Scanner kybd = new Scanner(System.in);
         double num = kybd.nextInt(); // kybd is an instance of Scanner
         public static double ceil (double num);
         public static double sqrt (double num);
         public static double exp (double num);
    }}Please be kind i know the outputs arnt there yet but im getting 15 errors in javac
    Thankyou

    Javaman01 wrote:
    i can understand that you feel this way , i just have a lot of programs i need to complete for a portfolio tommorow , so i need all the help i can get.Well, then I guess you started too late. Talk to your teacher that you won't be able to get it done on your own. Start learning your course book or the basic tutorials I posted and try to do the assignments again. I really think you know too little to get this done.
    Javaman01 wrote:
    if you wish not to help the please dont comment as i fear this will put others of helping me when i need it most.I did help you! And you have nothing to say about me posting here or not. Just as I can't stop you from trying to get others to do your homework.
    Javaman01 wrote:
    thankyouYou're welcome.

  • Java Math Class

    Looking for a math class method to calculate prime numbers up to 1000 and also perfect numbers up to 1000. Anybody know if one is available ?

    You can try the following if you think it might help:public class MyMaths extends Homework {
        public static int[] primesUpToN(int n) {
            researchTopics.add("Eratosthenes' Sieve");
            researchTopics.add("Prime Numbers");
            addKnowledge(researchTopics.performResearch());
            Algorithm al  = codeAlgorithm(knowledge, skills, resources);
            while (!al.testsSuccessful()) {
                Bug bug = al.debug().getNextBug();
                bug.quash();
            return al.apply(n);
        public static void main(String[] args) {
            System.out.println(primesUpToN(1000));
    }-- Scott

  • Simple integer generation  using java math classes

    I want to generate a integer which should be combination of 2 integer and one int
    and anytime I call generate it should generate same value for same input and for different combinations it should generate different value.
    for example I passed to the service two integers 24, 25 and one int 76
    assume it generated 242576
    I restart jvm to the service pass the same values mentioned above it should return me same output 242576.
    I want to do this using some math functionality not using string concatinating ?Any suggestions on acheiving this? any help is greatly appreciated.
    miro

    How would you arrive at 242576 from 24, 25 and 76 when performing the operation by hand, on paper? What calculations would you need to perform?
    Your other requirements are standard properties of programming: unless you go out of your way to make it otherwise, methods/functions tend to produce the same output based on the same input.
    BTW, you won't need any math classes for this, just mathematical operators like +, -, *, / etc.

  • Focus issue with CardLayout (Java 2 SDK, Standard Edition 1.4.0_01)

    I am having an issue with focus and CardLayout with Java 2 SDK, Standard Edition 1.4.0_01. I have created a small sample application to illustrate my problem. In general, I am trying to create a "Wizard" that the user will enter information and then press a "Next" button to proceed to the next step.
    When the first card is displayed, the focus is on the first text field as expected.
    When I go to the next card by clicking "Next", the focus is not on the text field that has requested it (through the requestFocusInWindow method). The focus is on the "Cancel" button, which is the next component to receive focus after the "Next" button on that panel. I do notice that if I use my mouse to bring focus to the window the text field will gain focus.
    Similarly, when I proceed to the last card, the focus is not on the "Finish" button until the mouse moves over the window.
    Is there something I am doing wrong or is there a bug with focus and CardLayout?
    One other problem I have noticed is that the buttons no longer respond to the "Enter" key press and instead respond to the space bar. Any suggestions as to why this is the case?
    Thanks,
    S.L.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class CardWindow extends JFrame implements ActionListener {
    public CardWindow() {       
    setTitle("Focus Problems with CardLayout");
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    cards = new JPanel();
    cardLayout = new CardLayout();
    cards.setLayout(cardLayout);
    cards.add(createFirstNamePanel(), "FirstNamePanel");
    cards.add(createLastNamePanel(), "LastNamePanel");
    cards.add(createFullNamePanel(), "FullNamePanel");
    getContentPane().add(cards,BorderLayout.CENTER);
    getContentPane().add(createButtonPanel(), BorderLayout.SOUTH);
    resetButtonPanel();
    pack();
    private JPanel createFirstNamePanel() {
    JPanel panel = new JPanel();
    JLabel lblDescriptionProjectName = new JLabel("Please enter your first name:");
    txtFirstName = new JTextField(20);
    panel.add(lblDescriptionProjectName);
    panel.add(txtFirstName);
    return panel;
    private JPanel createLastNamePanel() {
    JPanel panel = new JPanel();
    JLabel lblDescriptionProjectName = new JLabel("Please enter your last name:");
    txtLastName = new JTextField(20);
    panel.add(lblDescriptionProjectName);
    panel.add(txtLastName);
    return panel;
    private JPanel createFullNamePanel(){
    JPanel panel = new JPanel();
    lblFullName = new JLabel();
    resetTextOnFullNamePanel();
    panel.add(lblFullName);
    return panel;
    private JPanel createButtonPanel() {
    buttonPanel = new JPanel();
    btnPrevious = new JButton("< " + "Back");
    btnPrevious.setMnemonic('B');
    btnPrevious.addActionListener(this);
    btnNext = new JButton("Next" + " >");
    btnNext.setMnemonic('N');
    btnNext.addActionListener(this);
    btnCancel = new JButton("Cancel");
    btnCancel.setMnemonic('C');
    btnCancel.addActionListener(this);
    btnFinish = new JButton("Finish");
    btnFinish.setMnemonic('F');
    btnFinish.addActionListener(this);
    buttonPanel.add(btnPrevious);
    buttonPanel.add(btnNext);
    buttonPanel.add(btnCancel);
    buttonPanel.add(btnFinish);
    return buttonPanel;
    private void resetTextOnFullNamePanel(){
    lblFullName.setText("Your name is: " + getFirstName() + " " + getLastName());
    private void resetButtonPanel(){
    Component c[] = buttonPanel.getComponents();
    for(int i = 0; i < c.length; i++){
    c.setVisible(false);
    switch(iWizardStep){
    case FIRSTNAMEPANEL:
    btnPrevious.setVisible(true);
    btnNext.setVisible(true);
    btnCancel.setVisible(true);
    break;
    case LASTNAMEPANEL:
    btnPrevious.setVisible(true);
    btnNext.setVisible(true);
    btnCancel.setVisible(true);
    break;
    case FULLNAMEPANEL:
    btnFinish.setVisible(true);
    break;
    buttonPanel.validate();
    public void actionPerformed(ActionEvent e) {
    Object object = e.getSource();
    if (object == btnNext) {           
    btnNextPressed();
    } else if (object == btnPrevious) {           
    btnPreviousPressed();
    } else if (object == btnFinish) {
    System.exit(0);
    } else if (object == btnCancel) {
    System.exit(0);
    private void btnNextPressed() {       
    switch (iWizardStep) {
    case FIRSTNAMEPANEL:
    setFirstName(txtFirstName.getText());
    break;
    case LASTNAMEPANEL:
    setLastName(txtLastName.getText());
    resetTextOnFullNamePanel();
    break;
    iWizardStep++;
    resetButtonPanel();
    this.cardLayout.next(this.cards);
    switch (iWizardStep) {             
    case LASTNAMEPANEL:
    txtLastName.requestFocusInWindow();
    break;
    case FULLNAMEPANEL:
    btnFinish.requestFocusInWindow();
    break;
    private void btnPreviousPressed() {
    iWizardStep--;
    resetButtonPanel();
    this.cardLayout.previous(this.cards);
    public void setFirstName(String value) {
    firstName = value;
    public String getFirstName() {
    return firstName;
    public void setLastName(String value) {
    lastName = value;
    public String getLastName() {
    return lastName;
    public static void main (String[] args) {
    CardWindow c = new CardWindow();
    c.show();
    private CardLayout cardLayout;
    private JPanel cards, buttonPanel;
    private JTextField txtLastName, txtFirstName;
    private JLabel lblFullName;
    private JButton btnNext, btnPrevious, btnCancel, btnFinish;
    private String firstName = "";
    private String lastName = "";
    private int iWizardStep = 0;
    private static final int FIRSTNAMEPANEL = 0;
    private static final int LASTNAMEPANEL = 1;
    private static final int FULLNAMEPANEL = 2;

    Manfred,
    Thanks for your reply. I tried requestFocus() and it gives the same results. Also Sun's 1.4.0 API (http://java.sun.com/j2se/1.4/docs/api/) mentions the following with respect to the requestFocus() method in the JComponent class:
    Because the focus behavior of this method is platform-dependent, developers are strongly encouraged to use requestFocusInWindow when possible.
    That is why I used requestFocusInWindow.
    S.L.

  • Java ME SDK 3.0 doesn't start - java.lang.reflect.InvocationTargetException

    I want to migrate from NetBeans 6.7.1 to Java ME SDK 3.0 for several reasons.
    However when trying to start it hangs for a couple of minutes and then this message come up in a pop-up box:
    "A java.lang.reflect.InvocationTargetException exception has occurred. Click Show Details or see the messages.log file located in your C:\Documents and Settings\admin\javame-sdk\toolbar\3.0\var\log folder."
    Log file contant here. I' have read the UsersManual but this seems different.
    I run Windows XP Pro SP3. I have a F-Secure Internet 2010 FW application. Please enlighten me on what setting I shoud set in the FW or other part of my system.
    BR
    /Per
    Log Session: Friday, January 15, 2010 4:02:04 PM CET
    System Info: Product Version = Java(TM) ME Platform SDK 3.0
    Operating System = Windows XP version 5.1 running on x86
    Java; VM; Vendor = 1.6.0_17; Java HotSpot(TM) Client VM 14.3-b01; Sun Microsystems Inc.
    Runtime = Java(TM) SE Runtime Environment 1.6.0_17-b04
    Java Home = C:\Program Files\Java\jdk1.6.0_17\jre
    System Locale; Encoding = sv_SE (cdctoolbar); Cp1252
    Home Directory = C:\Documents and Settings\admin
    Current Directory = C:\Java_ME_platform_SDK_3.0\bin
    User Directory = C:\Documents and Settings\admin\javame-sdk\toolbar\3.0
    Installation = C:\Java_ME_platform_SDK_3.0\toolbar\javamesdk1
    C:\Java_ME_platform_SDK_3.0\toolbar\ide10
    C:\Java_ME_platform_SDK_3.0\toolbar\java2
    C:\Java_ME_platform_SDK_3.0\toolbar\mobility8
    C:\Java_ME_platform_SDK_3.0\toolbar\profiler2
    C:\Java_ME_platform_SDK_3.0\toolbar\platform9
    Boot & Ext. Classpath = C:\Program Files\Java\jdk1.6.0_17\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_17\jre\classes;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\sunpkcs11.jar
    Application Classpath = C:\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\boot.jar;C:\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\org-openide-modules.jar;C:\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\org-openide-util.jar;C:\Program Files\Java\jdk1.6.0_17\lib\dt.jar;C:\Program Files\Java\jdk1.6.0_17\lib\tools.jar
    Startup Classpath = C:\Java_ME_platform_SDK_3.0\toolbar\platform9\core\core.jar;C:\Java_ME_platform_SDK_3.0\toolbar\platform9\core\org-openide-filesystems.jar;C:\Java_ME_platform_SDK_3.0\toolbar\javamesdk1\core\locale\core_cdctoolbar.jar
    VARNING
    --- cut of Warnings and Info---
    [ 680219] ERROR - un.jme.toolkit.bootstrap.Batch - Problem calling start() on DeviceManagerConnection
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.jme.toolkit.bootstrap.Batch.invoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)
         at org.netbeans.modules.javame.common.container.Module.start(Module.java:21)
         at org.netbeans.modules.javame.common.container.ContainerSupport.startModule(ContainerSupport.java:67)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManagerConnection

    I have tried to switch off the FW -> the SDK 3.0 hangs in the initial startup splash. The red line stops at ca 75% done
    I have tried to open the port 1299 -> the SDK 3.0 hangs in the initial startup splash. The red line stops at ca 75% done
    /Per

  • Java 2 SDK problem under Redhat 7.0

    I'm using RedHat Linux 7.0 (kenerl 2.2.16.22, libc-2.1.92.so).
    I downloaded Java 2 SDK v 1.2.2_008 for Linux from sun.java.com, and installed it to /usr/local/jdk1.2.2
    However, I couldn't run any Java command. When I try to compile any java source code, for example:
    /usr/local/jdk1.2.2/bin/javac HelloWorldApp.java
    I always get error message:
    Segmentation fault (core dumped)
    Please give me some idea as soon as possible.
    Thank you for your help!
    Attach: HelloWorldApp.java
    Class HelloWorldApp {
    public static void main(String[] args) [
    System.out.println("Hello World!");
    Tony T.

    update your kernel, redhat 7.0 is full of bad links and missing links

  • Installing java 2 SDK,SE v1.4.2_01

    i installed this in the windows offline version, in my add remove programs i have
    java 2 sdk,se v 1.4.2_01
    and also
    java 2 runtime environment, se v1.4.2_01
    does this package install both or did i leave the runtime enviornment installed by mistake before i installed this one. LOL thank's

    Hello, Well i got the hello world application to work and turn to a class file.
    but
    im getting an error while trying to do the hello world applet, the error message is error: cannot read: HelloWorld.java
    1 error
    here is the code.
    import java.applet.*;
    import java.awt.*;
    * The HelloWorld class implements an applet that
    * simply displays "Hello World!".
    public class HelloWorld extends Applet {
    public void paint(Graphics g) {
    // Display "Hello World!"
    g.drawString("Hello world!", 50, 25);
    <HTML>
    <HEAD>
    <TITLE>A Simple Program</TITLE>
    </HEAD>
    <BODY>
    Here is the output of my program:
    <APPLET CODE="HelloWorld.class" WIDTH=150 HEIGHT=25>
    </APPLET>
    </BODY>
    </HTML>

  • Import J2ME source into Java ME SDK 3.0

    Hi,
    Im new to Java ME.
    The internet has lots of J2ME examples for games(but none for Java ME SDK 3.0), and im trying to import these into Java ME SDK 3.0 . I click on new project and select 'Import Wireless Toolkit Project', but it doesn't detect a project. Ive tried this with several popular J2ME samples.
    Anyone know how to do this right, so I can import J2ME projects into Java ME SDK 3.0 completely, with classes, packages and resources intact?
    I tried making a new project, and then copying the files into the relevant directories too. All the classes show up in the SDK, but on running the program no app is displayed in the emulator.

    Don't double post. I've removed the thread you started in the Java Programming forum with the identically same question.
    db

  • How to deocde a Base64 String in Sun Java ME SDK 3.0(Urgent)

    Hi there, I want to decode a base64 encoded String in Sun Java ME SDK 3.0 , but cant find any solution to this, after doing search related to this I found that it's very easy to decode a Base64 string in Sun Wireless Toolkit 2.5 using following code:
    import com.sun.midp.io.Base64;
    byte[] data = Base64.decode(EncodedString);
    But I found that it's not possible in Java ME SDK as com.sun.midp.io.Base64 is not available there, anyone please give me some alternative of above code so that I can decode a Base64 String in Java ME SDK.
    Eagerly waiting for the possible solution.

    Can you please let us know as how you solved the problem? Since we are developing a blackberry app, we found base64 class for blackberry development. We have plans of doing the same in android, not sure whether they have this. As long as we have generic base64 class that can be used in any client device, that would be great. I did a lot of research and could not fine. Please give us the solution.

  • Java ME SDK 3.4 problem running IMP-NG Midlets

    Hello!
    I downloaded and installed the Java ME SDK 3.4 and I'm having trouble running a IMP-NG JAD. I don't know if it's a environment problem or a SDK bug...
    If I make a JAD IMP-NG, I get a IllegalArgumentException when launching, even if we run using the Device Selector window, right-click on IMPNGDevice1. If I make it a IMP-1.0, it runs on simulator, but doesn't show in right-click on IMPNGDevice1... It seems to be checking the version (IMP-NG is 2.0, and simulator is 1.0?) but I don't see what's wrong.
    Thanks for any help!
    Stacktrace:
    Installing suite from: file:///C:/devel/ecl_ng2/workspace/Hello1/.mtj.tmp/emulation/Hello1.jad
    TRACE: <at java.lang.IllegalArgumentException>,
    java.lang.IllegalArgumentException
    - com.sun.midp.installer.Version.initFromComponents(), bci=149
    - com.sun.midp.installer.Version.<init>(), bci=22
    - com.sun.midp.installer.Version.createFromString(), bci=33
    - com.sun.midp.installer.Version.compare(), bci=6
    - com.sun.midp.installer.Installer.matchVersion(), bci=81
    - com.sun.midp.installer.Installer.isSupportedProfile(), bci=23
    - com.sun.midp.installer.Installer.matchProfile(), bci=212
    - com.sun.midp.installer.Installer.installStep10(), bci=19
    - com.sun.midp.installer.Installer.performInstall(), bci=188
    - com.sun.midp.installer.Installer.resumeInstallation(), bci=7
    - com.sun.midp.installer.MidpInstaller$StartAction.run(), bci=10
    - com.sun.j2me.security.AccessController.doPrivileged(), bci=12
    - com.sun.midp.installer.MidpInstaller$InstallThread.run(), bci=9
    - java.lang.Thread.run(), bci=5
    JAD
    MIDlet-Version: 1.0.0
    MIDlet-Vendor: MIDlet Suite Vendor
    MIDlet-Jar-URL: Hello1.jar
    MicroEdition-Configuration: CLDC-1.1
    MIDlet-1: Hello1,,mobi.v2com.zion.test.Hello1
    MicroEdition-Profile: IMP-NG-2.0
    MIDlet-Name: Hello MIDlet Suite
    Midlet
    package mobi.v2com.zion.test;
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.midlet.MIDletStateChangeException;
    import com.oracle.util.logging.Level;
    import com.oracle.util.logging.Logger;
    public class Hello1 extends MIDlet {
      private Logger logger = Logger.getLogger(getClass().getName());
      public Hello1() {
      // TODO Auto-generated constructor stub
      protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
      // TODO Auto-generated method stub
      protected void pauseApp() {
      // TODO Auto-generated method stub
      protected void startApp() throws MIDletStateChangeException {
      logger.log(Level.INFO, "Hello1");
      System.out.println("Hello!");

    I had the same problem and I got it to work by removing the "-2.0" in MicroEdition-Profile line in JAD file "by hand":
    MicroEdition-Profile: IMP-NG
    But it's not possible to achieve this using the combo box to select the Microedition Profile. Only changing the file in text mode.

  • Java 6 sdk info and features

    I dowloaded the java 6 sdk beta to play around with it, however i couldnt find any resources on new features or just general info on it on suns site. all i found were how to use other tools with it, any one have a link or something to some resources for jse6?

    noteable password prompting supportThere goes possibly the oldest running java "bug". (Although, Sun, the
    Console class is still a good long way from providing good cross-
    platform console support. There are much more important things to be
    attended to like getting Windoze widgets to be just the right shade of
    gray, their sizes precise to the nearest billy-meter.)

  • Trig functions in the Math class

    One of the techniques suggested to master for the Java Programmer exam is using the trigonometry methods in the Math class. Does that mean that on the exam I would need a trigonometry knowledge or is it enough to be familiar with their signature ?

    No trig knowledge - just questions on the Java language, including method signatures. Check out the various mock exams such as at http://www.javaranch.com/certfaq.jsp

  • Filepath probs running Java w/ DOS and Java 2 SDK

    Please help! I have been trying to get a .class file to run for the past four days, using DOS to run the file. I have tried to enter every filepath I can -think- of, and the program still will not run. I have even tried running the file on others' computers that also have a Java 2 SDK...and still cannot get the file to run. However, I know for certain that the file is correct and is able to be run....so that means that somehow I am not putting in the right filepath. I guess my question is....what's the file path?
    Here's what I was told to do...which has not worked thus far...
    My Java SDK filepath is: C:/Java2SDK1.4.0
    I was instructed to open DOS, then, to get to here:
    C:\Documents and Settings\Administrator\Desktop>I did so, and as instructed entered the filepath to the javac file inside the java sdk and after it, to put the filename with a .java extension. However, I ONLY have a class file. I don't have the .java file, nor was it ever handed to me.That filepath requested is: C:/Java2SDK1.4.0/bin/javac MathPrac.java
    I entered the filepath, so my DOS prompt looked like this before I hit the enter key:
    C:\Documents and Settings\Administrator\Desktop>C:/Java2SDK1.4.0/bin/javac MathPrac.javaI hit enter, and it gives me a LONG list of garbage. I even tried reversing the slash marks. Please help? This thing is due Monday and my instructor is refusing to return my emails. I don't want to fail this course due to an instructor being unwilling to assist a student, and a student having tried just about everything she could think of before finally coming here and asking for help.
    Would it matter if the SDK for some reason won't recognize my .java files either? I even tried doing the filepath with a file I KNOW should work...and on computers it should have worked on...and could not get it to accept my filepath.
    Any help would be very very very highly appreciated. Thanks!

    Author: philip_ross
    To run a .class file you have to use the java command (javac is the compiler which creates .class files from .java files). Try running
    C:\Java2SDK1.4.0\bin\java MathPrac
    Thank you for the suggestion, however when I attempted to run it, I got an error that said: Exception in thread "main" java.lang.NoClassDefFoundError: MathPrac
    Isn't this an error that states that the name of the file and the class name inside the file are not the same? And if so, how can I check to see if they are the same if I don't have the .java file? I did double-check my spelling, tried it four times just to be sure.
    To ChuckBing:
    Hey, thanks for the tutorial! I'll take a look at that, too. It always helps to have other resources.
    To jwenting:
    <Grin>. Duly noted, and thanks. I was trying to keep from being -too- technical in my explanation of what was going on.

  • My Java Dev. System Has No Class

    I'm installing j2sdk1.4.2_03 and it's NOT creating a class directory.
    Took me a bit of time to figure that out.
    Any clues? (This is on a Win XP Home system).

    Here is the directory structure that is created by an install of the current SDK on a Windows machine. There is no folder named "classes". (This information is from the Sun installation document, viewable from where you downloaded the SDK
    Installed Directory Tree
    The Java 2 SDK has the directory structure shown below.
                      j2sdk1.4.2_<version>
                           |
    |    |    |    |    |   |     |      |   |
    |    |    |    |   bin lib    |    demo  |
    |    |    | LICENSE |   |     |         jre
    |    | COPYRIGHT              |        __|__
    |  README.txt              include    |-----|
    readme.html                           bin   lib

Maybe you are looking for