Personal Java on an HP Jornada 728

Greetings,
I've recently downloaded the Personal Java suite for the strong-ARM processsor (on my HP Jornada 728); the CAB file installed flawlessly but when I try to fire up the vm (using pjava.exe), all I get is a nasty 'cannot execute pjava.exe'. I've installed everything on a CF storage card. Rumours say that it must be able to run on this device ...
can some kind soul please tell me what I'm doing wrong?
thanks in advance and
kind regards

Thank you for your reply -- I feared that I was the only one in this universe having problems with PJ. I managed to install the entire suite finally (it's a bit of a hack though). After a lot of fiddling, I figured out that the following steps actually do install PJ on my Jornada 728 --
1: install the cab file (say "\Storage Card\Program Files\Java")
2: open the cab file again on your workstation/pc and locate two files:
- Wcecom~1.003
- pjava.002
both are located in a "wce211\" subdirectory. Check the two corresponding files on your device, located in \Storage Card\Program Files\Java\bin" and replace them with the two files mentioned above, renaming them to
- wceCompat.dll
- pjava.exe
respectively. If you start pjava.exe, the jvm (sort of) works. Two nasty bugs remain though -- whenever stdin or stdout is used, by means of the System.in and System.out class objects, a 'console' window pops up, the cursor in that window moves accordingly, but no output characters are visible as if both foreground and background colors are set to white.
The other bug is a real showstopper -- when the vm is started from a command line (cmd.exe), a panic dialog shows up, telling (this is verbatim) 'cannot suspend 1024 (more?) threads'. If/when the jvm is started by double clicking a .class file, this dialog doesn't show up.
The silly thing is, I haven't been able to find any article/documentation etc. about this misbehaviour, even after googling myself silly. I found out that PJ-1-1-beta has been superceded by JME2 Personal Profile, but Sun hasn't released a version for the strongARM processor suite yet ... It's driving me nuts.
kind regards

Similar Messages

  • 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

  • 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 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.

  • 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.

  • 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?

  • URL for Personal Java Runtime 1.1 beta 1

    Hi ppl,
    I'm new to Personal Java, I could not find the PJava Runtime for version 1.1. Could anyone please point me to the URL.
    Thanks.

    http://developer.java.sun.com/developer/earlyAccess/personaljava/
    but i think youve got to login to the developer connection first

  • Linux + Personal Java on StrongArm(iPaq or SA1111)?

    I have watched the discussion here, it seems that mostly run the personal java in WinCE, so anybody successfully getting it work in Linux? As my SA1111 or iPaq is running in Linux and want to run with Personal Java with AWT support.
    Can anybody help?

    This was announced a while back...
    The Blackdown Java-Linux Team is happy to announce the availability of
    the release candidate 1 of Java2 SE v1.3.1 for Linux/ARM:
    Please choose one of our FTP mirrors for downloading:
    http://www.blackdown.org/java-linux/mirrors.html
    Besides the J2RE there's a second file: additional-ipaq-stuff.tar.gz
    It contains libraries and other files which are required to run Java
    but are not part of the standard familiar distribution (libXp.so,
    libXm.so, libBrokenLocale.so, 'standard symbols l' font)
    The unmodified J2RE needs about 18m, if you remove one of the two
    included VMs (classic green & classic native threads VM) and files you
    don't need (candidates are for instance soundbank.gm, i18n.jar
    libJdbcOdbc.so, libpreemptive_close.so, libioser12.so, ...), you may
    get it down to 12 or 13M. You should be able to save even more space
    by removing unneeded classes (e.g org.omg.*) from rt.jar.
    * No SDK yet, I didn't have time to run the compiler testsuite yet
    (the test-run will take approximately two weeks)
    * MouseEvent.isPopupTrigger() and JPopupMenu.isPopupTrigger() are
    somewhat useless on the iPAQ as they are bound to the right mouse
    button. Any idea for a more sensible trigger?
    * The default fonts are too large for the small display
    * The default maximum heap size is 64m, you may want to reduce that
    with to a smaller value (e.g. -Xmx20m)
    * Some stuff is terribly slow (e.g. HTML rendering). If somebody
    feels like writing a JIT compiler or porting HotSpot to ARM let me
    know...
    * No Mozilla plugin yet ;-)
    * A small demo is available from http://blackdown.de/~jk/arm/IPAQDemo.jar

Maybe you are looking for

  • AA 1.5 Consolidate tracks in one location, how to do it?

    I have a bunch of tracks spread out in an unorganized fashion. I'm trying to find a way in AA 1.5 to consolidate or put them all in a new folder, organized. Thus far, save as doesn't work, and the only method I've found is exporting each track as a n

  • Double alerts in Mail when using Exchange for gmail

    I am using the Exchange type account in Mail for my gmail so that it plays nice with labels.  But now when I get an email in the inbox Mail sees an identical copy in All Mail and I get two audio notifications.  This was amusing at first, but the nove

  • NLS - National Language Support - English (Canada) [en-ca]

    Hello, My Application Primary Language is "English (United States) [en-us]" My Application Language Derived From is "Browser (use browser language preference)" My Internet Explorer 6.0 Language Preference is "English (Canada) [en-ca]" Should'nt this

  • Record Voice in Flex Using Red5

    Can any1 post me the code for recording voice in flex using red5 or else brief me the procedure how to record voice in flex using red5.....

  • VMWare Server and SBS2011 Essentials

    Trying to configure SBS2011 Essentials on VMware Server (was told it can be done) first I notice there is only the option to install Win Server 2008 / R2 and lower operating systems, is it possible to install SBS2011 on VMWare Server? If not which VM