Personal java v.s j2me?

Can somebody explain the difference between personal java and j2me?
Thanks!

PersonalJava was the "first Micro Edition technology". Because PersonalJava has been around for a while now, you'll find more products with a version of it installed. But Sun has replaced the existing PersonalJava technology - based on Java 1.1 - with a new release based on Java 2 and incorporate it into the J2ME concepts of configuration and profile components.
In fact Personal java will be superseded by the Personal Profile which stands upon CDC which is part of J2ME.
Bye

Similar Messages

  • JavaCard applications on SIM accessing personal Java applications

    Are personal java applications also applets just like Java Card Applets.
    Also i am programming the SIM of the mobile phone which is a Java Card.
    How can a Personal java application on the phone communicate with a JavaCard application on the card or vice versa. Please Note that for the user they are similar.i.e. they exist side-by-side on the same menu of the phone with the user having no clue that the application resides on the phone ( a personal java application) or on the card( a javacard application).
    Can anyone tell me of some way for one personal java application to access a JavaCard application?
    Thanks
    SKhan

    At the moment there exist no way to access the Java Card / smartcard in a J2ME/personal Java device. Currently we are working in JSR177 on the problem.

  • Personal Java For PalmOS

    Is there a Java VM for the Palm OS and how do I get it. I would like a free one if possible.

    Currently, there is no Personal Java VM for the PalmOS. The present Palm hardware doesn't meet the PJ spec minimum requirements. The MIDP4Palm download is a J2ME/CLDC implementation which allows you to build MIDP applications.
    The new Palm Tungsten series includes a new, faster processor, but current configurations lack sufficient memory to implement a full PJ spec. The upcoming PDA profile will most likely also support MIDP applications and will, presumably, have implementations on both Palm and PocketPC PDAs. (maybe even Linux based pdas as well.)
    There are no reported plans for a PalmOS, Personal Java or the succeeding "J2ME/CDC/Personal Profile" implementation in the future.
    If you need to develop for the PalmOS, MIDP is your best choice right now. If you need to develop in Personal Java, go with PocketPC, if you can get a Personal Java VM for it...

  • How to compile my java application for Personal Java??

    i write a simple program and want to run it in PJEE.
    program is:
    import java.awt.*;
    public class TestApp {
    public static void main(String[] args) {
    Frame f = new Frame();
    f.pack();
    f.setSize(300,300);
    f.show();
    and i compiled it using JDK1.4
    javac TestApp.javathen i want to test it by using pjava
    pjava TestAppbut i got a error message:
    Error loading class TestApp: Bad major version numberplease tell me what it is mean and how i can debug it, thanks.

    hi, all
    i have resolved my question by myself.
    because:
    |-> personal java
    |
    jdk1.1 -> jdk1.2 -> jdk1.4
    so, i must compile the java file by using jdk1.1.x
    :)

  • JDOM, JDK1.1.8 and Personal Java...

    Has anyone succeeded in building a class with JDOM (XML), compiled with JDK 1.1.8 to run on a Personal Java ?
    I'm trying to make a class that use JDOM, but I didn't even compile it on a JDK 1.1.8..

    Yes. I'm using JDOM extensively on PJava platform. I have recompiled jdom.jar (there were some problems with the version available from the download site for jdk1.1.8), collections.jar (to be in java.uitl package) and crimson.jar.
    It works fine.
    Stan Berka

  • How Can I get personal java example source?

    i want to know how to program with p-java.
    How Can I get personal java example source?
    and where can i get them?

    pjava is pretty much the same as regular java 1.1.x, so you could just look at any java examples. www.javasoft.com has a learning center with tutorials if that's what you're looking for

  • Problems with JDBC on personal Java

    Hi,
    I am a PhD student in Napier University and work with PDAs and Java. I have installed Jeode 1.9 Runtime Environment which is a certified implementation of 1.2 Personal Java on my HP IPAQ PDA.
    I have the following code that works fine on my desktop, however produces an exception on my PDA (ERROR: java.lang.ClassNotFoundException: sun/jdbc/odbc/JdbcOdbcDriver)
    Thanks for your help!!!
    The code:
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.sql.*;
    public class WhoAmI2
    public static void main (String[] args)
    String LocalIP = new String();
    String LocalHome = new String();
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    /* the next 3 lines are Step 2 method 2 from above - you could use the direct
    access method (Step 2 method 1) istead if you wanted */
    String filename = "c:/CompInfo.mdb";
    String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
    database+= filename.trim() + ";DriverID=22;READONLY=true}"; // add on to the end
    // now we can get the connection from the DriverManager
    Connection con = DriverManager.getConnection( database ,"","");
    Statement s = con.createStatement();
    s.execute("create table Details ( OSName String, OSArch String, OSVer String, JavRunNam String, JavVMVer String, UserName String, UserCountry String, UserLang String, JavVMSpec String, JavRunVer String, JavVer String, Graphics String, SunArchDat String, SunCPUEnd String, SunUni String, SunCPUISA String, MainIP String, MainHost String, LocalIP String, LocalHost String )"); // create a table
    try
    // Properties p = new Properties(System.getProperties());
    // System.getProperties().list(System.out);
    InetAddress localaddr = InetAddress.getLocalHost () ;
    System.out.println ("OS Name : \t\t" + System.getProperty("os.name")) ;
    System.out.println ("OS Architecture : \t" + System.getProperty("os.arch")) ;
    System.out.println ("OS Version : \t\t" + System.getProperty("os.version")) ;
    System.out.println () ;
    System.out.println ("Java Runtime Name : \t" + System.getProperty("java.runtime.name")) ;
    System.out.println ("Java VM Version : \t" + System.getProperty("java.vm.version")) ;
    System.out.println () ;
    System.out.println ("Username : \t\t" + System.getProperty("user.name")) ;
    System.out.println ("User Country : \t\t" + System.getProperty("user.country")) ;
    System.out.println ("User Language : \t" + System.getProperty("user.language")) ;
    System.out.println () ;
    System.out.println ("Java VM Spec : \t\t" + System.getProperty("java.vm.specification.name")) ;
    System.out.println ("Java Runtime Version : \t" + System.getProperty("java.runtime.version")) ;
    System.out.println ("Java Version : \t\t" + System.getProperty("java.version")) ;
    System.out.println ("Graphics : \t\t" + System.getProperty("java.awt.graphicsenv")) ;
    System.out.println () ;
    System.out.println ("Sun Arch Datamodel : \t" + System.getProperty("sun.arch.data.model")) ;
    System.out.println ("Sun CPU Endian : \t" + System.getProperty("sun.cpu.endian")) ;
    System.out.println ("Sun Unicode : \t\t" + System.getProperty("sun.io.unicode.encoding")) ;
    System.out.println ("Sun CPU ISA : \t\t" + System.getProperty("sun.cpu.isalist")) ;
    System.out.println () ;
    System.out.println ( "main Local IP Address : " + localaddr.getHostAddress () );
    System.out.println ( "main Local hostname : " + localaddr.getHostName () );
    System.out.println () ;
    InetAddress[] localaddrs = InetAddress.getAllByName ( "localhost" ) ;
    for ( int i=0 ; i<localaddrs.length ; i++ )
    if ( ! localaddrs[ i ].equals( localaddr ) )
    System.out.println ( "alt Local IP Address : " + localaddrs[ i].getHostAddress () );
    System.out.println ( "alt Local hostname : " + localaddrs[ i].getHostName () );
    System.out.println () ;
    LocalIP=localaddrs[ i].getHostAddress ();

    I have the following code that works fine on my
    desktop, however produces an exception on my PDA
    (ERROR: java.lang.ClassNotFoundException:
    sun/jdbc/odbc/JdbcOdbcDriver)It looks as though Jeode doesn't come with the JDBC/ODBC bridge JDBC driver. You'll need to find another JDBC driver to use.

  • Problems with porting to Personal Java

    Hi all,
    I'm currently trying to port a java application to Personal Java to run on the jeode jvm. The application needs certain packages from Java standard Edition, packages like java.util.Properties.class etc. However when I add this package to the core jar of classes for jeode, my program still cannot see it. I keep getting a NoSuchMethod Error on java.util.Properties.setProperties. This method does exist, and I am calling it correctly.
    I'm just wondering if anyone has met this sort of a problem with jeode? Also packages like java.lang.object and java.lang.string don't appear in the main jar file for jeode? Does anyone know if this is correct?
    Many thanks for yor help in advance,
    Shane

    Hi all,
    I'm currently trying to port a java
    a java application to Personal Java to run on the
    jeode jvm. The application needs certain packages
    from Java standard Edition, packages like
    java.util.Properties.class etc. However when I add
    this package to the core jar of classes for jeode, my
    program still cannot see it. I keep getting a
    NoSuchMethod Error on
    java.util.Properties.setProperties. This method does
    exist, and I am calling it correctly.
    I suppose you mean java.util.Properties.setProperty(String, String) ? This API was added to Properties in Java 2, so it is not available in Personal Java. You will have to use put(Object, Object), which Properties inherits from Hashtable.
    As a suggestion, try running JavaCheck on your project to find uses of APIs not contained in the pjava spec.
    Regards,
    Alex

  • How to 'STOP' a running java thread in J2ME?

    Dear All,
    How to 'STOP' a running java thread in J2ME?
    In the middleware viewpoint, for some reasons we have to stopped/destroyed the running threads (we have no information how these applications designed).
    But in J2ME, Thread.destroy() is not implemented. Are there other approaches to solve this problem?
    Thanks in advance!
    Jason

    Hi jason,
    Actually there are no methods like stop() and interrupt() to stop the threads in J2ME which is present in normally J2SE Environment.
    But the interrupt method is introduced in Version 1.1 of the CLDC.
    So, we can handle the thread in two ways.
    a) If it is of single thread, then we can use a boolean variable in the run method to hadle it. so when the particular boolean value is changed , it will come out of the thread.
    for eg:
    public class exampleThread implements Runnable
    public boolean exit = false;
    public void run()
    while(!exit)
    #perform task(coding whatever u needed)
    public void exit()
    exit = true;
    b) If it is of many threads then we can handle using the instance of the current thread using currentThread() method
    for eg:
    public class exampleThread implements Runnable
    public Thread latest = null;
    public Thread restart()
    latest = new Thread(this);
    latest.start();
    public void run()
    Thread thisThread = Thread.currentThread();
    while( latest == thisThread )
    #perform some tasks(coding part);
    public voi d stopAll()
    latest = null;
    while ( latest == thisThread )
    performOperation1();
    if( latest != thisThread )
    break;
    performOperation2();
    Regards,
    Prathesh Santh.

  • How to download Personal Java and how to run the application

    Hi,
    From java.sun.com, which file has to be downloaded for develpoing the application in personal java.
    How to run an application in peraonal java?
    If you give me the steps it will be more helpful to me.
    I couldn't find the samples for personal java anywhere?
    If you give me links for basic samples with source code such as hello world and small games, it will be more helpful to me.
    All of my doubts are very basic one.
    Please help me.
    Thanks in advance.
    Regards,
    Nagaraj.

    Sun has a beta implementation available for download (http://developer.java.sun.com/developer/earlyAccess/personaljava/) which will allow you to run Personal Java on a MIPS/SH3/StrongARM or XScale device running WindowsCE 2.0 or greater. You can also download the Personal Java Emulation environment (http://java.sun.com/products/personaljava/pj-emulation.html) which will allow you to develop and run personal java applications in a Windows or Solaris environment.
    Most JDK1.1.8 compliant applications will run on Personal Java, so a Hello World program would look like the regular.
    public static void main(String[] args) {
    System.out.println("Hello World");
    System.exit(0);
    You can also purchase a full blown commercial implementation of Personal Java for PocketPC at handango.com. Do a search on Insignia Jeode for Dell. You can use this on any PocketPC/XScale pda.
    To run a Personal Java program on Pocket PC. Deploy your jar to the Device and create a shortcut similar to this:
    50#"\program files\Java\bin\pjava.exe" -setcwd "\program files\Java\pjtest" -classpath "\program files\Java\pjtest\pjtest.jar" -file "pjtest.testmain.class"
    The number is arbitrary, but the paths need to point to the directory where you installed Personal java and your jar/application respectively.

  • Personal Java VM on WinCE - Problems...

    Hello!
    I'm trying to get Personal Java to work on my Handheld PC (HP Jornada 720) running with Windows CE 3.0.
    The Installation works - but I'm not able to run any other programs than those demos that are delivered with this JVM...
    If I try to run a Java app - no matter if it is a .class , .jar - the JVM tells me something like
    "Java Error - Cannot find class "<Classname>" "
    I compiled everything with an old JDK 1.1.8 - but even a simple "Hello World" program does not work!
    The strange thing is, that a Demo Programm delievered with NSIcom CrEme simulating a 3D rubic cube does work!
    Does anyone know how I can get Personal Java to work or any FREE alternatives for running Java Apps on WinCE? (I already used NSIcom CrEme - this works fine but it isn't free)
    Bye,
    DSH

    I have same problem as you. Did you solve it?. I�ve installed Personal Java and demos work, but no my java applications. I�ve used all kinds of jdk versions, such as pjee3.1, or jdk 1.1.7, whta is similar, but always the same message. Message you wrote in your message. Neither a simple HelloWorld works fine. So, any help will be appreciated

  • Limitations of Personal Java

    Hi guys,
    could anyone clarify whether Personal Java allows :
    1) Dropdown list
    (2) Check boxes
    (3) Radio button
    (4) Menu bar
    (5) Buttons with its size & no. limitations
    (6) Calendar access
    (7) Child window
    (8) Vertical Scroll
    (9) Horizontal Scroll
    (10) Big Droplist within a window
    (11) tables with title column
    (13) color
    (14) 'value' increment-decrement toggle
    (15) 'page' increment-decrement toggle.
    (16) audio
    (17) animation

    Don't know what a Big Droplist within a window means. AWT has Frames, Containers, Dialogs, and dropdown lists.There's no ready-made drop down list in AWT, however you can build one.
    As for Dialogs and Windows, how many you can use at a time depends on the actual PJava implementation. With minimum level support, you will only be able to have one at a time. SUN's PJava reference implementation has max. support, i.e. you can have as many dialogs and windows as you want. That may not be the case on other vendor's PJava runtimes.
    Regards,
    Alex

  • Personal java and iPAQ

    Hi, I am confuse after reading all these stuff about personal java. I want to know, what do I need to do if I want to download personal java on my ipaq that uses windows CE. do I need to download jeode too or not. I appreciate any help.

    I don't know if I'd go that far exactly...
    I've had the most success with Jeode, but there is also Sun's pjava (beta, and not a full implementation), as well as CrEme: http://www.nsicom.com/products/creme.asp
    -Brad

  • Personal Java and Jeode??

    Once there is no Personal Profile available for Windows platforms, one solution I've heard about is using Personal Java and Jeode VM.
    As I can see, Jeode is a very good VM and supports some versions of standards Java versions..and Personal Java is no longer supported by Sun, but it's functional.
    Is there anybody who knows wich versions are usable? Looks like jdk 1.1.8..is there one newer?
    Any help appreciated.
    Thanks
    Ricardo

    There is a certified Win32 (and PocketPC) version of Personal Profile available with IBM's WSDD 5.6 Tech Preview. See:
    http://www-3.ibm.com/software/wireless/wsdd/upgrades_migrations.html

  • Personal Java and XMLLight

    Hi,
    I've developed an application for a PDA with Windows CE, and the application run correctly in my PC with "pjava", but in my PDA no, because no search the xml file, and this file exist in the same directory that the class files.
    Thanks, Please Help me

    Ok,
    what is the main directory? If I install the xml file in the root directory, I've the same problem, my source is this,
    public void Buscar(int codigo){
         XMLLight.debug=true;
         String doc;
         String inFileName="\\proyecto.xml";/*select the xml file*/
         try{
              File inFile=new File(inFileName);/*Here the program fail*/
              if(!inFile.exists())
                   cod.setText("NFile");
                   return;
              FileInputStream inStream=new FileInputStream(inFile);
              int inBytes=inStream.available();
              byte inBuf[]=new byte[inBytes];
              int bytesRead=inStream.read(inBuf,0,inBytes);
              inStream.close();
              doc=new String(inBuf);
         catch(Exception e)
              cod.setText("E:"+e.getMessage());
              return;
              String clearDoc=XMLLight.clearComments(doc);
              Element elemRoot=XMLLight.getElem(clearDoc,"pfc");
              Element elemPubli=elemRoot.getElem("Publicaciones");
              Element elemRecor=elemPubli.getElem("RECORD");
              while(!elemRecor.isNull() && buscar==1){
                   Element elemCodi=elemRecor.getElem("Codigo");
                   Element elemAsig=elemRecor.getElem("Asignatura");
                   Element elemPre=elemRecor.getElem("Precio");
                   int valor;
                   tac=elemCodi.getText();
                   valor=Integer.valueOf(tac).intValue();
                   if(valor==codigo){
                        buscar=0;
                        des=elemAsig.getText();
                        pre=elemPre.getText();
                   elemRecor=elemPubli.getElem("RECORD");
    Personal Java has installed the classes to work with another files?

Maybe you are looking for

  • Container element for Count in Parallel Approval Workflow

    Hi Gurus, We are using ECC 6.0 and I have this below requirement. Please share your thoughts on how we can achieve this. We are using a User decision step in parallel workflow to generate and send individual work items to multiple approvers. that is,

  • Is there a utility to manage/view connected devices to my Apple Airport Extreme from my mac?

    MacBook Air 13" 1.7ghz i5 4gb ram 128 ssd. Latest version of mac os x and all software up to date.

  • Compiling packages in linux

    Hi I have been struggling with this for the last three days. I have tried multiple searches in the forums but cannot make head nor tail of setting the classpath in linux when compiling a package. in the following directory "/home/tamtam/Java/Course/U

  • Filter Data with Merged and non merged columns in one

    Hi there, I have an excel spreadsheet that has got merged and non merged columns. What I want to be able to do is, filter a row that has got merged column and non merged columns. But when I filter it only takes the first line, rather than the merged

  • Air Port Cuts in and Out

    I have a APX that will work for some time then it seems to go through a cycle of connect and disconnect. If I have my modem plugged in to it or my speakers. It seems to kick me off only when I try to play some music or go on line. If it is not moving