10-22-2006, 01:07 AM | #1 |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Get your Java VM for iLiad here
OK OK I know, I was supposed to be working on my iDS server... but instead I just couldn't help testing out my spiffy new compiler chain for the iLiad itself.
I talked about a calculator for X but you know, that's just so boring. So instead, I compiled wonka for the iLiad. And I got wonka working. So, wherever that wiki is, I think I claim legitimate rights to "first person to compile Java VM for iLiad" and "first person to run a java application on the iLiad". I've compiled wonka with X11 support, so, here's your new tool chain: java. No messing around with cross compilers, just compile your code using your favorite Java 1.4.X (or lower, no java 1.5, sorry...) test it on your native system and when it's working: send it to your iLiad and use wonka to run it. Yeah I know, still need to work on the X11 trigger stuff. But now we can worry that into Wonka and all the java code gets it for free. Unpack the tar ball onto your favorite memory device. Put you class files in fsroot/system, cd to your memory card and then invoke ./wonka <your class name> I'm off to tweak my Java RSS feeder to suck da' goods into my newspaper directory directly from my iLiad. Expect another posting shortly. |
10-22-2006, 03:28 AM | #2 |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
And of course what fun is it to have a Java VM, vi (via busybox) and not be able to compile java source on your iLiad?
http://s91215199.onlinehome.us/zaurus/ZJikes.zip I unpack that zip at the same level as wonka. An example of using it to compile my (working) RSS feed puller: ./jikes -g -classpath ../fsroot/system/wre.jar:xpp3-1.1.3.4.K.jar TheDailyiLiadian.java So with a few more tweaks to wonka for the e-ink, there you have it: a complete SDK on the iLiad itself. |
Advert | |
|
10-22-2006, 03:48 AM | #3 |
Addict
Posts: 261
Karma: 156
Join Date: Jul 2006
Device: iliad
|
congratulations, scotty.
nice work. I'll try it next weekend, this one is too busy, unfortunately. |
10-22-2006, 05:19 AM | #4 |
Zealot
Posts: 103
Karma: 11
Join Date: Jul 2006
|
Great work Scotty!
Will give feedback once I've given it a go. |
10-22-2006, 07:09 AM | #5 |
eink fanatic
Posts: 2,022
Karma: 4924
Join Date: Mar 2006
Location: Germany
Device: STAReBOOK, iRex Iliad, Sony 505, Kindle 2
|
Good work once again Scotty1024!!!
Please feel free to post your achievements in the "Iliad apps" sticky at the beginning of your forum for everybody to find. I wonder what will happen once the "real" SDK arrives...:-) |
Advert | |
|
10-22-2006, 07:24 AM | #6 | |
Übernerd
Posts: 238
Karma: 74
Join Date: Jun 2006
Location: Germany
Device: iRex iLiad
|
Quote:
|
|
10-22-2006, 07:43 AM | #7 | |
Evangelist
Posts: 458
Karma: 293
Join Date: May 2006
|
Quote:
|
|
10-22-2006, 09:24 AM | #8 | |
Guru
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
Quote:
Currently the update of the screen can be done, I believe, via an exec /usr/bin/displayMgrClient or whatever way java has to execute external programs. Usage: displayMgrClient -<option> <argument> no arguments : send messages to local loop -d <dotted decimal ip address> : send messages to ip address -h : display this message -p : test of partial update -r <seconds> : repeat a full update every <seconds> -t : update toolbar area Also at your risk, you could kill the Xserver and restart it without the -p flag, because that flag is suppossed to "disable the partial update". But surely iRex has good reasons (buggy, most probably) to keep it disabled. |
|
10-22-2006, 09:36 AM | #9 | |
Guru
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
Quote:
Can you take some pictures, design256's style, of the running thing? |
|
10-22-2006, 01:23 PM | #10 | |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Quote:
Thanks for the tip. |
|
10-27-2006, 07:19 AM | #11 |
Member
Posts: 22
Karma: 10
Join Date: May 2006
Device: Sony Librié
|
Hey scotty, terrific job and as soon as I'll get my iliad (cause now I'll definitely get one) I'll give it a try, since I have a little java prog that's just begging for the capabilities of the iliad.
I have though two questions: 1- does this still work after the hole-plugging of 2.7.1? 2- As you said wonka doesn't support 1.5 java features. So have you tried SableVM as an alternative? I read on their website that there already is an ARM port for it. Maybe it'll work? Keep up the good work, you're my hero at the moment. Edit: Uhhhmm, scotty? Any chance of getting an answer? Last edited by Gavrahil; 11-14-2006 at 02:02 AM. |
11-22-2006, 11:22 AM | #12 |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Of course, now that Java is open-source (GPL) it is just to compile it, I guess? No?
|
11-22-2006, 11:29 AM | #13 | |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
|
|
11-22-2006, 12:22 PM | #14 | |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Quote:
I've been poking Wonka around some more but wouldn't mind finding another ARM capable JVM. I haven't looked at Sable. Right now I'm effectively derailed full time into figuring out the bluez stack. The bigger the applications get, the more they want a keyboard. Plus I'd like to be able to hit the Internet from the bus. |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Iliad Java Scribble Merger | curbarthedog | iRex | 0 | 03-16-2009 03:16 PM |
Java on iLiad | makkus | iRex | 1 | 12-23-2008 10:58 AM |
iLiad Java applications on iLiad | M@rcel | iRex Developer's Corner | 6 | 12-04-2008 12:18 PM |
iLiad iLiad newbie and java programming | slaks | iRex Developer's Corner | 10 | 05-22-2007 11:41 AM |
iLiad Java on the iLiad | Gavrahil | iRex Developer's Corner | 20 | 07-22-2006 03:08 AM |