Notices

Applications and Utilities Talk about apps and utilities for Windows Mobile and PPC

Reply
 
LinkBack Thread Tools
Old 04-24-03, 12:45 PM   #1 (permalink)
Aximsite Rookie
 
Join Date: Mar 2003
Posts: 37
Thanked 0 Times in 0 Posts
Sun JVM for Pocket PC

Personal Java (1.1.8) is available for beta for the strongARM processor at

http://developer.java.sun.com/develo...ava/index.html

I tried it on my Axim XScale and it runs ok (the refresh rate is very slow for AWT and throws java panic once thread count goes over 1024). I also designed a simple alien shooting game and runs ok. Will post some screen shots later and make the source code available for anyone who wishes to improve once I have added a few final touches.

-Gulshan
mgulshan is offline   Reply With Quote
Sponsor Ads
Old 06-02-03, 11:56 PM   #2 (permalink)
Aximsite Prospect
 
Join Date: Dec 2002
Posts: 15
Thanked 0 Times in 0 Posts
sure post the source

yeah id like to see the source i wanted a JVM on my axim for a while but i didn't want to pay thanx for the link
Simon is offline   Reply With Quote
Old 06-03-03, 01:53 AM   #3 (permalink)
Aximsite Prospect
 
Join Date: Dec 2002
Posts: 15
Thanked 0 Times in 0 Posts
problem

i downloaded and installed the VM and edited the registry but for some reason my java programs arn't working says
Cannot find class "HelloWorldApp" the WelcomeGUI and Welcome programs work so i don't know what im doing wrong. Note the class file was made using the lastest Java SDK release so im not sure compiling with 1.4.2 is the problem or not
Simon is offline   Reply With Quote
Old 06-03-03, 12:35 PM   #4 (permalink)
Aximsite Rookie
 
Join Date: Mar 2003
Posts: 37
Thanked 0 Times in 0 Posts
game source code

Instead of editing the registry for class path edit the registry to associate .class files with pjava.exe. That way you can directly click on the file and pjava will run it. Works fine for a single class but if you have jars to be called from various locations then you should have em in classpath.

Also find attached here the source code for the game. Its very crude as I never got a chance to spend time on it after the first try. And please dont expect any support ;-)


I compile on my desktop with 1.3.1 but I make sure I use AWT and 1.1 compatible APIs.

HTH
Gulshan
Attached Files:
File Type: zip mygame.zip (3.9 KB, 8 views)
mgulshan is offline   Reply With Quote
Old 06-03-03, 03:16 PM   #5 (permalink)
Aximsite Prospect
 
Join Date: Dec 2002
Posts: 15
Thanked 0 Times in 0 Posts
thanx

Sorry to keep bugging you but I’ve never mist with the registry before and i can't seem to get the programs to run. Can you post exactly what needs to be typed in to run .class files.
Simon is offline   Reply With Quote
Old 06-03-03, 04:09 PM   #6 (permalink)
Aximsite Rookie
 
Join Date: Mar 2003
Posts: 37
Thanked 0 Times in 0 Posts
Registry Settings

HTH
Gulshan
Attached Files:
File Type: zip class_shell_command.zip (70.3 KB, 26 views)
mgulshan is offline   Reply With Quote
Old 06-03-03, 05:05 PM   #7 (permalink)
Aximsite Prospect
 
Join Date: Dec 2002
Posts: 15
Thanked 0 Times in 0 Posts
WTF

yup all my stuff is the same i used a diff program for editing the registry "PHM RegEdit" this sucks it still says my class can't be found its just a simple HelloWorld

//***************************************
// hello
class HelloWorldApp{
public static void main(String[] args){
System.out.println("Hello World");
}
}
//******************************************
Simon is offline   Reply With Quote
Old 06-03-03, 08:23 PM   #8 (permalink)
Aximsite Rookie
 
Join Date: Mar 2003
Posts: 37
Thanked 0 Times in 0 Posts
good luck

Does your program run on desktop? Your class is not public and also make sure the name of the file is same as the class name. basic things .. I am sure you have this all correct. I dont see a problem why it wouldn't run. Well good luck.
mgulshan is offline   Reply With Quote
Reply

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Axim wont connect with toshiba 2gb pc card bluepsilon X5 Accessories 1 03-11-03 03:48 PM
JVM for Pocket PC 2002 tbachta PDA/AXIM Newbies 4 02-27-03 04:06 PM
Bluetooth -- Axim to PC LAN problem N31LS WiFi Talk 0 02-22-03 01:08 PM
Pocket PC (sync with) Mac? Ender78 X5 Forums 2 02-15-03 11:24 PM
Service Pack 3 for Pocket PC 2002 samdark X5 Forums 7 01-20-03 08:06 PM


All times are GMT -5. The time now is 10:10 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC