Using CLDC Sun Java(TM) Micro Edition SDK 3.0 EA with netbeans

Hi ,
has anyone stumbled upon this - I just installed netbeans and Java(TM) Micro Edition SDK 3.0 and am trying to work with the examples of the sdk inside the netbeans , but when I open them I get the message : "Problem - the project uses platform CLDC Sun Java(TM) Micro Edition SDK 3.0 EA", but it was not found. Create platform named like this - I tried to do it , but it doesn't help.
Is there any way of overcoming this?

Ok , I found the solution.
I installed the Sun Java Wireless Toolkit for CLDC ver 2.5.2.2_01 directly (not as part of the SDK 3.0) , then added new platform and a new project configuration
according to the new platform.
In case someone else stumbles on that....

Similar Messages

  • Bad installation of Java Platform Micro Edition SDK 3.0 - Can't uninstall

    Hi,
    I tried installing the Java Platform Micro Edition SDK 3.0 tonight and it didn't work (I guess the thing doesn't like it when you're running Win7 x64 with the latest JDK for some reason...). Anyways, it installed fine but on first run it got stuck at the nag screen with IOExceptions, etc. and never finished starting. So I decided to uninstall and guess what? I can't uninstall it because it tells me it can't run the uninstaller program since it can't load a win32 dll on a 64-bit machine...
    So I resorted to deleting the folder and running a registry cleaner :/ However, so I can properly clean things up, I'd like to know where else the SDK put files or dlls and which ones.
    Thanks for your help!
    -LordPhoenix

    I'm having exact the same problem, but I'm using Vista x64.
    I tried to uninstall x64 version of the Java SE SDK and installed the x86 version instead, but it didn't help :/
    So could please anyone post a solution to this.
    EDIT: actually I at least managed to uninstall it using the SE SDK x86.
    But still, is there any way to use Java ME SDK on Vista x64?
    Edited by: sl2wm on Sep 13, 2009 5:18 PM

  • Help in Java Micro Edition SDK 3.0 EA...

    Hi, I am using the Java Micro Edition SDK 3.0 EA version. I have a problem that when i write code to access the RecordStore, it does not seem to work. Plus, for the FileConnection programs, where do i store the accessible file structure on the disk. In WTK, it was under the appdb of the specified emulator, but i dont know the path from where the filesystem is mounted.
    Another problem is that, I want to create a simple Java class in a separate file in the SDK. But, when i right click and select "New" on the project, it only shows options to create MIDlets or MIDlet Canvas files..
    Any help will be highly appreciated. Thanks..:-)

    About the file structure in FileConnection, in NetBeans it is in C:\Documents and Settings\[your user name]\j2mewtk\2.5.2\appdb\root
    You can change the root folder if you go to "manage emulators", then in "tools & extensions", click on "open preferences" and then select "storage". I don't know if SDK 3.0 has it too... sorry... I switched to NetBeans because it has more options...
    About creating a separate file, I always did it manually, adding a .java file to the src directory (with notepad, for example). Again with the full NetBeans, right-clicking in the project gives you an option to create a new Java class so you don't have to do it manually.
    About the record store, I don't know, sorry... But I answered 2 of 3! :)

  • Using several Sun Java Versions parallel

    I want to use several Sun Java Version parallel - is this possible and if yes how can I set this. I want to use for one program / or one website (like www.0815.com) the version 1.4.2_06 and for an other program / or website (like www.sample.com) the version 1.3.2_06 ?
    The problem is that we are using a terminal server application (3rd party) what is running better with the 1.3.2_06 and we are using an web based software which must use the 1.4.2_06 - I only know how I set one of this as an standard but not using one for this and another for this.
    thanks for your help
    c3po
    thanks for your help
    c3po

    ...just a joke...
    thanks for your help
    c3poWhy do you write that two times ?
    Why do you write that two times ?

  • Java 2 Standard Edition SDK (Software Development Kit)

    Hallo
    I bought the Brain Friendly Head First Java Guide. They recommend to install the Java 2 Standard Edition SDK (Software Development Kit) or greater.
    I click on Java ME SDK3.2 in the New Downloads menu. I read & accept the license agreement. I then go back to the overview menu option, click on download the system just take me back to accept license agreement page.
    What did I do wrong? Please assist me.
    Zelda Kuhn

    I think you're trying to download the wrong thing. This link will give you the right download:
    http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html
    --Andy                                                                                                                                                                                                                                                                                                                                                                                   

  • Code generation in Sun Java Studio enterprise edition 7.0

    I went thru the product tour of Java studio enterpise edition 7.0
    http://developers.sun.com/prodtech/javatools/jsenterprise/reference/presentations/launch_jse7_overview.html
    It says that it will generate code from UML documentation. After that can we use drag and drop feature of studio.
    Thanks
    das

    Please review UML Modeling in Sun Java Studio Enterprise Webinar's materials to get more information about it:
    http://developers.sun.com/prodtech/javatools/jsenterprise/reference/presentations/uml.html

  • SAP and Java 2 Micro Edition

    Hi Experts,
    I am currently writing a series of blogs on Mobilizing SAP using J2ME mobile client.
    Please have at my following blog and let me know your comments there about the same..
    <a href="/people/tanveer.shaikh2/blog/2006/09/28/mobilizing-sap SAP</a>
    <a href="/people/tanveer.shaikh2/blog/2006/10/19/mobilizing-sap--episode-1 SAP Episode 1</a>
    <a href="/people/tanveer.shaikh2/blog/2006/10/26/mobilizing-sap--the-j2me-way--episode-2 SAP - The J2ME Way - Episode 2</a>
    Any comments, suggestions and advice are most welcome..
    Regards,
    Tanveer S .

    Hello impseth,
    It's really your call. J2ME is really a subset of J2SE. If you take the J2SE route, much of the APIs will not be applicable to J2ME. On the other hand, most of the literature deals with J2SE. Which makes learning "Java" much easier. My recommendation would be to learn both, because a some point you might want to write server side applications or at least understand how Java works on the server side. Start with J2SE.
    Merwyn,
    Developer Technical Support,
    http://www.sun.com/developers/support.

  • Java 2 Micro Edition

    Hi
    To develop Java applications in the J2ME platform, can I develop it on the Windows platform of the desktop PC? In essence, from the download page of the J2ME, it looks like the downloads are for palmOS, etc. Can I develop the applications on the Windows platform on my desktop PC and then port them to the mobile device?
    In essence, do anyone know how to develop Java applications for the J2ME platform step by step? The tutorial provided at the Sun's Tutorial only shows me how to develop a Java application and applet using the J2SE SDK.
    many grateful thanks in advance.
    best regards
    Kher Lee

    To develop Java applications in the J2ME platform, can
    I develop it on the Windows platform of the desktop
    PC? Yes, of course you can. Download the Sun One's Studio ME for developing your midlets.
    In essence, from the download page of the J2ME,
    it looks like the downloads are for palmOS, etc. Can I
    develop the applications on the Windows platform on my
    desktop PC and then port them to the mobile device?In order to deploy your midlets, your PC needs to have an IR port. Then you send your packed JAR and JAD file over to your device.
    In essence, do anyone know how to develop Java
    applications for the J2ME platform step by step? The
    tutorial provided at the Sun's Tutorial only shows me
    how to develop a Java application and applet using the
    J2SE SDK.Yes, I do know how to do it.

  • What do you think of Java 2 Micro Edition?

    Hi,
    I would like to know, if anyone used the J2ME, and if so, what do you think of it. I am thinking of designing a middleware for mobile devices such as PDA, and I would like to know your thoughts on it.
    Thanks
    Neil

    I haven't used it yet, I am reading about it. I am not sure if you have seen this link:
    http://java.sun.com/products/cldc/
    Good Luck.

  • Wildcard Certificate use in Sun Java System Messaging Server (IMAPs/POPs)

    I'm trying to use a wildcard certificate acquired from GlobalSign and am having problems getting
    it (properly) into the cert database.
    I tried using certutil, and that didn't seem to work at all, it would list without user cert status:
    rmorneau+root@mmp1:/var/opt/SUNWmsgsr/config# /opt/SUNWmsgsr/sbin/certutil -L -d .
    GlobalSign-Ext-CA CT,c,
    *.xxxxxxxxxxx.edu ,,
    I had some success using msgcert and pk12util, but after importing it in, then seeing that it did
    have user cert status, after a quick restart of Messaging (IMAP/POP), SSL quit for IMAP and kicked all
    my IMAPs users out temporarily (until I put the original cert8.db and key3.db back).
    -------- ImapProxy_20101115.log----
    20101115 135531 ImapProxyAService.cfg (id 2590) SSL negotiation failed for IP XXX.XXX.X.XXX: Cannot connect: SSL is disabled. (-12268)
    pop.xxxxxxxxx.edu u,u,u
    GlobalSign-Ext-CA CT,c,
    *.xxxxxxxxxxx.edu u,u,u
    I truly appreciate any help on this matter.
    -Bob

    2. Does the certificate nickname in NSS match the configured certificate nickname in the product?I'm not sure, but I'll try that the next time I try this... will probably be late at night were I won't be interrupting IMAPs and POPs
    Makes sense. Prior to release 7 update 4, the servers have to be shut down before modifying certificate databases. As of 7 update 4 you can do a one-time migration to the cert9.db/key4.db format that >should allow certificates to be updated without taking the servers offline.
    This was in the log just before the other log entry that I showed before.
    20101115 135440 ImapProxyAService.cfg ASockSSL_Init: couldn't find cert imap.xxxxxxxxx.edu (-8174)
    This is the key line from the log. The server is looking for a certificate with the NSS certificate nickname of 'imap.xxxxxxxxx.edu' and is not finding that certificate so issue 2 is likely the problem.Yes, this was it. Oversite on my part, forgot they had to match and could not be a form of just domainname.edu or *domainname.edu.
    You either need to modify the default:SSLCertNicknames setting to match the nickname of the new certificate, or install the new certificate using the existing certificate nickname of 'imap.xxxxxxxxx.edu'I modified the default:SSLCertNicknames setting.
    Thank you CNewman very much for all your help.
    And, for those trolling for an answer with more detail via an Internet search (that is, if Oracle doesn't screw up these forums for anon searches)::::
    With the private key in hand (not password protected), I used 'openssl' to get it into a pkcs12 type file:
    (It is best to do this as root and not as sudo root as you might run into problems if your host
    does not have root power to write to your home dir on the/a NFS share.... you will get "unable to write 'random state'".)
    root@mmp1:/var/opt/SUNWmsgsr/config/GlobalSign-certs-new# /usr/sfw/bin/openssl pkcs12 -export \
    -in ket-wildcard-cert.pem -inkey private.key -out cert.pkcs12 -name xxxxxxxxx.edu
    Enter Export Password:
    Verifying - Enter Export Password:
    Where "private.key" is the key file, and "ket-wildcard-cert.pem" is the (pem format) cert from our cert provider,
    and cert.pkcs12 is our cert file that will be imported into the database, and xxxxxxxxx.edu is whatever you (nick)name your cert
    in the database
    (I think you could use a password protected private key if you have that password.. I don't.)
    Next, I used 'msgcert' to import the pkcs12 cert file into the database (I'm sure there is a way
    to use certutil or even pk12util to do the same, but I'm on Sun Messenger 6.3 at this time, so that's what I used.
    If someone would like to elaborate for those....?):
    (It is best, when using 'msgcert', to do it where your mailsrv user has some privs.. I took my pkcs12 cert and moved into /tmp.)
    root@mmp1:/tmp# /opt/SUNWmsgsr/sbin/msgcert import-cert cert.pkcs12
    Enter the PKCS#12 file password: (blank)
    Enter the certificate database password: (token password in sslpassword.conf)
    Make sure your (wildcard) cert nickname matches what you have in
    ImapProxyAService.cfg and PopProxyAService.cfg at the "default:SSLCertNicknames" field.
    Edit if need be.
    root@mmp1:/var/opt/SUNWmsgsr/config# /opt/SUNWmsgsr/sbin/certutil -L -d .
    GlobalSign-Ext-CA CT,c,
    xxxxxxxxx.edu u,u,u
    root@mmp1:/var/opt/SUNWmsgsr/config# grep default:SSLCertNicknames *AService.cfg
    ImapProxyAService.cfg:default:SSLCertNicknames xxxxxxxxx.edu
    PopProxyAService.cfg:default:SSLCertNicknames xxxxxxxxx.edu
    Then, of course, restart the msg service(s).
    /opt/SUNWmsgsr/sbin/stop-msg
    /opt/SUNWmsgsr/sbin/start-msg
    Edited by: 810750 on Nov 18, 2010 8:08 AM
    Edited by: 810750 on Nov 18, 2010 8:11 AM

  • Using perl Inline::Java and the BO SDK

    Hi, I'm looking for someone who's successfully used BO SDK though the Inline::Java perl module. I have only so far been able to connect to the CMS. I was hoping to see examples of report development, user management, server management, anything.
    Thank you,
    Mike

    Hi All heres the code with the propper tags i think, as for smorgasbords comment, I realise the security issue with java, but my lecturer seems to think its a good idea. Now the java applet opens a stream to my perl script and sends it parameters which the perl script uses to create the file. So java isnt making the file on any computer, perl is creating it on the server (EasyPHP actually). The example code given by my lecturer does actually work however for reasons which neither myself or the lecturer cannot see, it just doesnt create the file (or even open the perl script for that matter, as i used a file monitor to check if the 'diag.pl' file was accessed). I hope ive cleared up any questions.
    Thanks
    Dave
    void btnSendPosting_actionPerformed(ActionEvent e) { //Send Posting Event
    name = txtName.getText();
    email = txtEmail.getText();
    message = txtareaText.getText();
    path = txtFilePath.getText();
    String url = "http://localhost/cgi-bin/diag.pl";
    System.out.println("Url entered");
    try
    theURL = new URL(url);
    System.out.println("Url prepaired");
    catch (MalformedURLException f)
    System.out.println("Bad URL: " + theURL);
    try
    System.out.println("Beggining Connection...");
    URLConnection connection = theURL.openConnection();
    connection.setDoOutput(true);
    PrintWriter out = new PrintWriter(connection.getOutputStream());
    out.print("txtName="+name +"&txtEmail="+ email +"&txtMessage="+ message +"&txtPath="+path);
    out.close();
    System.out.println("End of Connection");
    catch (IOException f)
    System.out.println("Error Opening Connection");
    } //Send Posting Close bracket

  • Profile problem with platform Micro Edition sdk 3.0 in Netbeans 6.7

    When I check this platform, only can be checked PBP-1.1 profile and I need PP1.1 profile.
    Do you Know something about this?
    Thanks in advance.

    check,
    (1) C:\java\jme3.0\docs\UserGuide.pdf --> Java ME Platform SDK Features : CDC Stack
    (2) C:\java\netbeans6.7.1\mobility8\config\emulator-descriptor-inst\CDC_Java_TM__Platform_Micro_Edition_SDK_3.0.xml
    all it says,
    JME3.0 stake CDC 1.1 supports only PBP 1.1

  • Why Java Platarform Micro Edition 3.0 doesn't reflect the reality ?

    Hi guys,
    It's my first ME project and I would like to know why into version 3.0 of ME, don't have the necessity of create your access (read and write into files) methods using Threads, and in 2.5.2 I must have to use Threads ? Because my project runs smooth into 3.0 but not into my mobile (E63) and 2.5.2 emulator, after reading plenty docs, and change the emulator to 2.5.2 I did discover that have the need of using Threads. What is the right one and why the 3.0 doesn't reflect the reality ?
    There are any way that my project made with 3.0 runs smooth, how ?
    Thank you in advance.

    Hi once again,
    One example of what I'm doing, using the javax.microedition.io.file.FileConnection to save and read my files, though it only works into my 3.0 emulator.
    I'm using this method to open and read the file.
    private String loadCipher(String typedKey, String pathLoad, String fileName) throws DigestException {
            StringBuffer notFormattedText = new StringBuffer();
            pathLoad = pathLoad + fileName;
            FileConnection fc = null;
            InputStream is = null;
            try {
                fc = (FileConnection) Connector.open(pathLoad);
                is = fc.openInputStream();
                int ch = 0;
                for (int i = 0; i < fc.fileSize(); i++) {
                    if ((ch = is.read()) != -1) {
                        notFormattedText.append((char) ch);
                is.close();
                fc.close();
            } catch (IOException ioe) {
                System.out.print("Error reading!");  // Here I'll have to deal with exceptions
                System.out.print("IOException : " + ioe.getMessage());
            } catch (SecurityException se) {
                System.out.print("Error security!");  // Here I'll have to deal with exceptions
                System.out.print("Securuty exception : " + se.getMessage());
            pathLoad = FILE_ROOT;
            String myFileText = notFormattedText.toString();
            byte[] keyFromFile = readKey(typedKey, myFileText.getBytes()); // Here is where the program goes and decript my file
            return new String(keyFromFile);  // Here I return the decripted text to be compared with password or for that the user might read it.
        }I don't intend to use Thread to run it, although I'm afraid of that it's the only way and with this all program structure will have to be re-designed.
    Anyone knows if Thread is needed just to use the javax.crypto.... and javax.security..... ? Because I'm lost.
    Thank you in advanced

  • Can I install Java 2 SDK 1.4.2 with NetBeans bundle on a Laptop?

    I'm new to programming and I'm getting an Alienware notebook with WindowsXP in a few months. I just want to be sure I can install and use Java on it.
    Any recommendations for literature on programming for beginners would be great too. Something easy to get into and learn from progressively, I have no programming experience.
    I will be tinkering and learning Java for the next few months hopefully, and reading text, and then I'm getting the notebook and I'm wondering if I will be able to use the bundle on it or if I need more downloads or anything. So any info on that would be great along with some good text purchases.
    Thanks.

    The Alienware should have no problems, everything I've heard about them has been good.
    I recommend that you install just Java, without Netbeans, then go to the Netbeans site - www.netbeans.org - and install the Netbeans found there. This way the 2 products are separate, and each can be independently updated - a problem if you install the bundle. Also, you can get the latest version of each.
    Select the J2SE 5.0 Java Development Kit (JDK). The current version is JDK 5.0 Update 1. This could go to Update 2 in a few months. Download the offline installer (large bundle), it's less likely to create problems than the online installer.
    I also recommend you download and install the documentation bundle (J2SE 5.0 Documentation, another large one) as Netbeans will need it.
    I recommend Netbeans 4.0, it works well with java 5. You should avoid 4.1, as it's still not stable.
    These items will allow you to create Java programs for all but the very largest corporate systems. There are specialized libraries that you can add later, as the need arises.
    Be sure to read all of the installation instructions before you start (one for Java, one for the docs, and one for NB.) They'll help you avoid a lot of the beginner problems.
    Sun has a very good tutorial - The Java Tutorial - that starts you at the very beginning and explains it all. There are a bunch of more specialized tutorials also, when you're ready for them. Go to java.sun.com and click Tutorials and Code Camps from the left-hand column.
    You can start the Java Tutorial right now, as the first part of it (after the introductory Your First Cup of Java) is learning the basics of the language, object orientation, and inheritance. This is covered by the topics Getting Started and Learning the Java Language.
    Hope you have fun!

  • Java Micro Edition

    I am developing an application for the Palm OS, I am using Suns Studio ONE micro edition. I am having a problem setting the size of an image, I add the Image to ImageItem, ImageItem is a subclass of Item which has a setPreferredSize method, but it tells me it does not recognise the method, According to the API this feature has be included since MIDP 1.0. I also tryed setting the size on a Item object but got the same error.
    If there is anyone who can help I would be much appreciated. Or if i am asking this question on the wrong form let us know
    Thanks
    Noel

    Might better go here http://wireless.java.sun.com/
    or here http://forums.java.sun.com/wireless/

Maybe you are looking for