View Full Version : Java webstart [b]javaws[/b] on pocketpc with J9
Hallo,
I have tried for many days. Read the excellent tutorials of Menneisyys and some IBM specialists on J9.
Here is the link I would like to start from PocketPc:
https://fx1.oanda.com/java/beta.jnlp
I installed it on my thinkpad from:
C:\Programme\IBM\WEME\runtimes\61\wm50-arm-midp20\_jvm\jre\javaws
Than I copied the jre Folder to the MDAII but it does not start. javaws not found. But it is there.
Can somebody help?
Thanks fast
Menneisyys
09-13-2006, 07:42 PM
When you click this link (https://fx1.oanda.com/java/beta.jnlp) on your desktop, the stocks applet will run just OK. When you click it on your Pocket PC, on the other hand, it won’t – just a strange, small “beta.jnlp” file will be downloaded to the Pocket PC.
This is a Java-related file but, as there are no so-called “Java Web Start” (JWS) ports on the Pocket PC. Don’t EVER try to copy the files off, say, the JWS files off your IBM J9 ( from \Program Files\IBM\WEME\runtimes\61\wm50-arm-midp20\_jvm\jre\javaws on your desktop PC ) - you can’t directly run it on the PPC because it’s compiled for the desktop Windows, not for the Pocket PC operating system.
That is, the only way to access ANY applet that only has a Java Web Start interface (and not a standard applet interface) is just converting its .jnlp file to a simpler, Pocket PC-compliant HTML page containing a simple APPLET tag.
The conversion itself isn’t very complicated: if you just compare the above-linked source .jnlp file and the result of my conversion available here (http://www.winmobiletech.com/sekalaiset/OandaComAppletInvoke.html) (the latter is clickable from any Java-capable desktop browser to see it indeed works. Note that you should NOT click it from the Pocket PC IEM equipped with CrEme simply because the latter doesn’t parse the ‘codebase’ attribute if it’s secure and, therefore, won’t work (http://www.winmobiletech.com/092006OandaComJava/OandaComAppletInvokeCNF.jpg))
You can also fully download the entire Java archive (the references beta.jar) so that you greatly speed up the connection / reduce the internet traffic (you don’t end up having to fetch the 600-kbyte JAR file each time you want to connect to it and it’s not in the local automatic cache): just click this link (https://fx1.oanda.com/java/beta.jar), save the JAR file and copy it to anywhere (in any directory) on your PDA.
After this, just install either Jeode or CrEme on your PDA. The latter is NOT recommended if you have a WM5 device: as you will need to explicitly switch to the Tiny mode with CrEme (read THIS (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=664&more=1) for a complete tutorial - you will need to follow it if you stick to CrEme), which isn’t supported under WM5, you will only be able to run the applet under Jeode if you have a WM5 Pocket PC. Please consult my other Java-related articles on these two JVM’s (availibility, download etc): I won’t repeat here what I’ve already written about.
After this, download (right-click the link and choose “Save Target As...”) and copy this file (http://www.winmobiletech.com/092006OandaComJava/local.html) to the same directory where beta.jar resides. Do the same to either of the CrEme (http://www.winmobiletech.com/092006OandaComJava/CreMeAVLoc.lnk) or the Jeode (http://www.winmobiletech.com/092006OandaComJava/jeodeAVLoc.lnk) link ("executable") files. (Note that in the latter you’ll need to modify the file URL “file:///local.html” to contain the actual path of local.html if it isn’t in the root directory. With the CrEme-specific command link file, this isn’t necessary.)
Now, just click the last-copied lnk file and the applet will start.
Some screenshots:
CrEme, QVGA, without the Tiny library (http://www.winmobiletech.com/092006OandaComJava/OandaQVGA.jpg)
CrEme, forced VGA, with the Tiny library (http://www.winmobiletech.com/092006OandaComJava/OandaVGATiny.jpg)
Note that, by default, CrEme isn’t VGA-aware; you can just force \Windows\CrEme\bin\CrEme.exe into VGA (don’t need to explicitly switch to VGA). The same stands for Jeode’s \Windows\evm.exe.
Jeode, QVGA (http://www.winmobiletech.com/092006OandaComJava/JeodeQVGA.jpg)
Jeode, forced VGA (http://www.winmobiletech.com/092006OandaComJava/JeodeVGAForced.jpg)
As can clearly be seen, if you plan to run the applet on a QVGA device, you will want to consider doing it in Landscape mode and, at least with CrEme, switching to full-screen mode (with the additional '-ntb' parameter in the .lnk file)
Hallo Menneisyys,
thanks and congratulation. Outstanding work. The supplied screenshots prove You are the first enduser who did.
I am on the road. So I come back later. I bought yesterday a 1G-Byte SD Card and a 1 GB Byte USB stick (there is a special in germanys MEDIAMARKT. They sell the stick for 17 Euros).
So I started last night to prepare the java installation on my thinkpad and transfered to the MDA III. I understood in the meantime, that only the CAB which is delivered in the IBM WEME downloads is executable on the PDAs. In installed on my 1GB card the IBM Java 1.4.1 which was delivered with my thinkpad.
I would prefer a J9 solution. Maybe that is also possible.
I read all Your excellent tutotials. I installed the DOS command feature from the MS Toys.
I downloaded CREME but it always fails to install. Is the CAB version. I think the problem is, as You discovered that I use a German PDA OS.
So I am all set for a J9 installation.
May be You can help there. I dont have JEODE and cannot get CREME installed.
Thanks again. It is beautiful to met outstanding and helpful people through the net.......Heinz from Hamburg
Hallo Menneisyys,
I got hold of a CREMEcab Version 4.00 and installed successfully. I follow now Your procedures and hope I will be successful.
Have a nice weekend - I sure will have my JAVA training session....Heinz
Menneisyys
09-15-2006, 05:40 PM
Great! I too uploaded the CAB file for you to http://www.winmobiletech.com/sekalaiset/cremecab.zip - I see I'm a bit late :)
Hallo Menneisyys,
thanks for uploading.
I installed everything following Your procedures. It loads the OANDA application with the 3 threads, which can be managed with the STORAGE application.
But there is a big problem. The login thread does not take input - not from the screen keyboard nor from the builtin physical keyboard (MDA3).
Do You have any idea?
I have an additional question? I registered the plugin into PIE. But PIE does not support multiple tabs and OANDA loads in the internet version by openening an additional window. I installed PIEPlus but this does not solve the problem.
Is CREME plugin Netfront 3.3 compatibel. Can it be registered?
OK. 4 hours JAVA training is enough. Thanks to Your work I feel we very close to a solution.
...Heinz
Hallo Menneisyys,
I read the CREME users guide and played around with option. But I could no solve the LOGIN enter problem.
But I found an interest hint regarding https access. They recommend to load 3 jars
from SUN http://java.sun.com/products/jsse/index-103.html. I did this.
...Heinz
Hallo Meneisyys,
here my next progress report.
I had a very active JAVA PDA phase in 2001. I found the CD with a Jeode19ArmPocketPc Version. I installed it and used the link to execute You provided. OANDA was started. I could enter the login, but the connection was not established.
I will analyse the situation in my next java lesson this night.
Question. Is Jeode19 a very outdated version?
...Heinz
Hallo Menneisyys,
here is the error message from the JEODE run:
Real error was: java.security.AccessControlException: access denied (java.net.SocketPermission fx1.oanda.com resolve).
Looks like the https support is not installed.
Any idea for a solution? Does a newer version of JEODE support https?
...Heinz
Hallo,
I would to give a internediate conclusion of webstart and OANDA:
1. I did not make it OANDA cannot be succesful started on a POCKET PC.
Successful means Login and trade.
2. Menneisyys did an outstanding job. The idea of transforming the beta.jnlp file from webstart into an applet html file is a super idea. But then you confonted with the question: which java vm supports appletviewer: CREME, JEODE, J9, superwaba, PJAVA (Sun).
3. So this was the starting point for my java2006 tour. I did such a tour already in 2001, when bought my first IPAQ 3760 with wireless phone jacket and a nokia gprs card.
4. The result in 2001 was negative - no usable system. The result in 2006 is the same. What a poor industry.
5. Which system has the chances to solve it in 2011?
I guess JEODE from ESMERTEC. Look at the board of directors:
http://www.esmertec.com/company/boardmembers.shtml
and the price list in HANDANGO:
http://www.handango.com/PlatformProductDetail.jsp?siteId=1&jid=B7A7EBX274DCF5D1A1D6B9C86F1BCF66&platformId=2&N=96806%2095856&productId=163028&R=163028
These Managers have $$s in there eyes and the prices a very high to receive the wanted dollars.
6. I closed my investigations. May be the new JEODE for 49.90 solves the problem. I did not want to spend the money and no trial available ($$$..).
So if anybody has a solution before 2011 please post. And many thanks to You -Menneisyys - for Your excellent work.
...Heinz
PS. my solution is my beautiful, light IBM Thinkpad X40 with webstart.
Menneisyys
09-23-2006, 08:04 PM
Hallo,
I would to give a internediate conclusion of webstart and OANDA:
1. I did not make it OANDA cannot be succesful started on a POCKET PC.
Successful means Login and trade.
2. Menneisyys did an outstanding job. The idea of transforming the beta.jnlp file from webstart into an applet html file is a super idea. But then you confonted with the question: which java vm supports appletviewer: CREME, JEODE, J9, superwaba, PJAVA (Sun).
3. So this was the starting point for my java2006 tour. I did such a tour already in 2001, when bought my first IPAQ 3760 with wireless phone jacket and a nokia gprs card.
4. The result in 2001 was negative - no usable system. The result in 2006 is the same. What a poor industry.
5. Which system has the chances to solve it in 2011?
I guess JEODE from ESMERTEC. Look at the board of directors:
http://www.esmertec.com/company/boardmembers.shtml
and the price list in HANDANGO:
http://www.handango.com/PlatformProductDetail.jsp?siteId=1&jid=B7A7EBX274DCF5D1A1D6B9C86F1BCF66&platformId=2&N=96806%2095856&productId=163028&R=163028
These Managers have $$s in there eyes and the prices a very high to receive the wanted dollars.
6. I closed my investigations. May be the new JEODE for 49.90 solves the problem. I did not want to spend the money and no trial available ($$$..).
So if anybody has a solution before 2011 please post. And many thanks to You -Menneisyys - for Your excellent work.
...Heinz
PS. my solution is my beautiful, light IBM Thinkpad X40 with webstart.
Unfortunately, Java is pretty much non-existent on the WM platform; this is why there is so little support / new "real" JVM's (except for Mysaifu).
I don't think the $50 Insignia JVM would help. (I'll some time request a review copy so that I can really find out what it's capable of.)
Do you know of a test / trial account? I may try to log into there too - I couldn't do this because I didn't have an account. (Please ONLY test accounts, NOT real ones - just to be on the safe side.)
Hallo Menneisyys,
Java Saturday Night Fever is here again:
Unfortunately, Java is pretty much non-existent on the WM platform; this is why there is so little support / new "real" JVM's (except for Mysaifu).
I don't think the $50 Insignia JVM would help. (I'll some time request a review copy so that I can really find out what it's capable of.)
Do you know of a test / trial account? I may try to log into there too - I couldn't do this because I didn't have an account. (Please ONLY test accounts, NOT real ones - just to be on the safe side.)
To get a game account do the follwing:
1. Apply here:
https://fx2.oanda.com/mod_perl/register/register.pl
To load game on pocket use my adaption of your files:
2. Copy to root:
2.1 create file localgame.html and copy to root
<applet
code="com.oanda.platform.Platform"
archive="beta.jar"
width="200"
height="100">
<param name="host" value="fx2.oanda.com"/>
<param name="port" value="9700"/>
<param name="proxyport" value="80"/>
<param name="webpage" value="http://fxgame.oanda.com"/>
<param name="securepage" value="https://fx2.oanda.com"/>
<param name="servertype" value="full"/>
<param name="allowsocket" value="true"/>
<param name="allowproxy" value="true"/>
<param name="debug" value="true"/>
<param name="debugnet" value="true"/>
<param name="endian" value="big"/>
<param name="splashApplet" value="splashApplet"/>
<param name="rightImage" value="images/titleright.gif"/>
<param name="rightLink" value="http://www.oanda.com"/>
<param name="leftImage" value="images/titleleft_fxgame.gif"/>
<param name="leftLink" value="http://fxgame.oanda.com"/>
<param name="soundCount" value="5"/>
<param name="sound0" value="sounds/homer.au, Homer"/>
<param name="sound1" value="sounds/win_asterisk.au, Asterisk"/>
<param name="sound2" value="sounds/win_chord.au, Chord"/>
<param name="sound3" value="sounds/win_ding.au, Ding"/>
<param name="sound4" value="sounds/win_notify.au, Notify"/>
<param name="newsAppletURL" value="https://news.oanda.com"/>
</applet>
2.2 create Joedelocgame.lnk and copy to root
255#"\Windows\evm.exe" -Djeode.evm.console.local.keep=true -appletviewer file:///localgame.html
2.3 And copy beta.jar into root
2.4 Run it.
2.5 Look at EVM console to find out that a security problem has stop login.
Have fun...Heinz
tibets
01-06-2007, 01:24 AM
I bought an IPAQ rw6815 with WM5.0. As you referred in other java related forums, Esmertec Java Jeodek 2006 is installed on the machine. I assume it is the compatible version. Although I tried to do installation of the files as you explained, I received the error massage "Midlet cannot be installed because critical information missing from the MIDlet file (.jar). -13" I would appreciate if anybody help me in this subject.
Menneisyys
01-09-2007, 05:28 PM
I bought an IPAQ rw6815 with WM5.0. As you referred in other java related forums, Esmertec Java Jeodek 2006 is installed on the machine. I assume it is the compatible version. Although I tried to do installation of the files as you explained, I received the error massage "Midlet cannot be installed because critical information missing from the MIDlet file (.jar). -13" I would appreciate if anybody help me in this subject.
As soon as I get a new-generation iPAQ phone to test, I'll report back on this issue. Can't do it now because I don't have any new HP phone.
incredible
02-11-2007, 06:50 AM
Hi, I can login and trade on Oanda using my 4700 now. I posted the details on Menneisyys' column.
It's running slowly on the PDA and some functions crashed as well. But the major features that I needed to trade works. Maybe with proper tunning and hacking, trading on pda can become practical... :mrgreen:
...Alex
Hi, I can login and trade on Oanda using my 4700 now. I posted the details on Menneisyys' column.
It's running slowly on the PDA and some functions crashed as well. But the major features that I needed to trade works. Maybe with proper tunning and hacking, trading on pda can become practical... :mrgreen:
...Alex
Super...I will read and try asap....thanks....Heinz
Hi, I can login and trade on Oanda using my 4700 now. I posted the details on Menneisyys' column.
It's running slowly on the PDA and some functions crashed as well. But the major features that I needed to trade works. Maybe with proper tunning and hacking, trading on pda can become practical... :mrgreen:
...Alex
Hallo Alex cannot find the details. Please post the link...Thanks Heinz
Hi, I can login and trade on Oanda using my 4700 now. I posted the details on Menneisyys' column.
It's running slowly on the PDA and some functions crashed as well. But the major features that I needed to trade works. Maybe with proper tunning and hacking, trading on pda can become practical... :mrgreen:
...Alex
Hallo Alex cannot find the details. Please post the link...Thanks Heinz
Thanks, I found it in the trackback section of Menneisyys...Heinz
m4rcel
02-15-2007, 11:55 PM
Hi,
is there any possibility to enable scrolling for the Oanda Applet when i'm using QVGA?
Marcel
tibets
02-23-2007, 01:25 PM
Hello, I could not find the column,
Could anynody post the adress of the column here
Thanks a lot
Tibet
worldfx
08-30-2007, 07:53 PM
I too cannot locate trackbacks for meinesys. Can you please post or just tell me how to run oanda on my pocket PC?
Thanks
javascript:emoticon(':mrgreen:')
Mr. Green
vBulletin® v3.8.9, Copyright ©2000-2019, vBulletin Solutions, Inc.