Author Topic: C860 Java Development - nEED SETUP HELP  (Read 2686 times)

Omicron

  • Hero Member
  • *****
  • Posts: 608
    • View Profile
    • http://
C860 Java Development - nEED SETUP HELP
« on: May 07, 2004, 02:31:08 am »
Cann someone point me to a url that shows the best way to setup development on the C860 for java development...?

Including cimpiling, integrated IDE....for example...will Eclipse on on the C860?  

Where do I et the best java developmetn envorinoment...Sun  lists Linux X86 or Sun Sparc...where is a version of java and java tools for C860 and XScale...?

Thanks...
"You Shall Not Pass"    
....Gandalf, Lord Of The Rings
--------------------------------------------------------------
C-860 (Cacko), 3x4gb MD  
DLINK 660W, 1GB SD,  
Upgraded Archos AV320 w/80GB HDD
Pocketop and Targus IR keyboards
Favorite Deal Site: SaveCity.net (pretty cool, good deals daily on one page)

ChrisEBoy

  • Newbie
  • *
  • Posts: 47
    • View Profile
C860 Java Development - nEED SETUP HELP
« Reply #1 on: May 07, 2004, 07:55:41 am »
You need a decent jre, use black downs (blackdown.org eg. ftp://sunsite.cnlab-switch.ch/mirror/java...-1.3.1/arm/rc1/ ).  There aren\'t any more recent ones.

There are instructions on the additiona libs etc on the pdaxrom forum.  

For a compiler I use KOPI, http://www.dms.at/kopi/ , it\'s a java one, so it\'s also embeddable :-).

And to save the pain of cd\'ing all over the place and the jvm startup, I wrote a simple app which calls the compiler for a a list of targets, I can post a copy up over the weekend.

IDE wise, I use nedit on the pdaxrom for editing, but there are some java ide\'s on the software index.  I don\'t know about any that do automatic expansion of possible methods etc.

Eclipse will likely never run on the zaurus, it\'s a memory hog and the zaurus just doesn\'t have enough for it.

I\'ve got the javadocs installed on my microdrive and use dillo to browse them.

This environment works well for me but YMMV (although I do miss auto lookup).
Chris

Omicron

  • Hero Member
  • *****
  • Posts: 608
    • View Profile
    • http://
C860 Java Development - nEED SETUP HELP
« Reply #2 on: May 07, 2004, 04:53:30 pm »
Quote
YoEclipse will likely never run on the zaurus, it\'s a memory hog and the zaurus just doesn\'t have enough for it.


Anyone interested if I could port a limted EXCLIPSE to C7X00 platform...would take time, but if there is a TON if interest I might take a crack at it.

Also, do to dev docs for the 5500 (keycode, IPK setuup, etc) apply to C7X00 as well?

Anything I should now in this regards?

Thanks.
"You Shall Not Pass"    
....Gandalf, Lord Of The Rings
--------------------------------------------------------------
C-860 (Cacko), 3x4gb MD  
DLINK 660W, 1GB SD,  
Upgraded Archos AV320 w/80GB HDD
Pocketop and Targus IR keyboards
Favorite Deal Site: SaveCity.net (pretty cool, good deals daily on one page)

dahukanna

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
C860 Java Development - nEED SETUP HELP
« Reply #3 on: May 09, 2004, 09:25:50 am »
Omicron, do you need any volunteers for the porting/ testing etc ?
SL-C860|CackoQT 1.2.2 or pdaxrom 1.1.0|256CF Maxell|512 SD Lexar|Aircable BT|Piel Frama Case

ChrisEBoy

  • Newbie
  • *
  • Posts: 47
    • View Profile
C860 Java Development - nEED SETUP HELP
« Reply #4 on: May 10, 2004, 05:36:33 am »
I\'ve attached three files for an easier compiling environment with kopi.

jcomp, a little batch file, obviously you\'ll have to change the contents to wherever you store the stuff
compiler.java, the java code for calling kopi from one jvm
targets.txt, the file that compiler will load up.

File format for targets.txt:

1[tab]workingdir[tab]filename(s)

where 1 can be any 1 character code for a target, and working dir is where you want the compiler to start compiling from, and filename is the target file.  The filename must contain the full \"java\" path to the source from the working directory.

To select a target you enter the 1 character code for target, then return.

To compile you enter \"c\" and return, which compiles the current target.  All errors are reported to standard out.

To show all the entries enter \"P\" and return.  \"Q\" quits.

Start up an xterm and run jcomp.

HTH someone, it\'s a big time saver for me, no cd-ing to different root dirs and I can just \"c-]enter\" to get the latest code compiled.

If anyone updates this simple program with some useful features, share it with everyone else.
Chris

Omicron

  • Hero Member
  • *****
  • Posts: 608
    • View Profile
    • http://
C860 Java Development - nEED SETUP HELP
« Reply #5 on: May 11, 2004, 01:01:15 am »
Quote
Omicron, do you need any volunteers for the porting/ testing etc ?


Possibly, I will definately Post when I have something for people to work with.
"You Shall Not Pass"    
....Gandalf, Lord Of The Rings
--------------------------------------------------------------
C-860 (Cacko), 3x4gb MD  
DLINK 660W, 1GB SD,  
Upgraded Archos AV320 w/80GB HDD
Pocketop and Targus IR keyboards
Favorite Deal Site: SaveCity.net (pretty cool, good deals daily on one page)

Omicron

  • Hero Member
  • *****
  • Posts: 608
    • View Profile
    • http://
C860 Java Development - nEED SETUP HELP
« Reply #6 on: May 11, 2004, 01:45:52 am »
Quote
I\'ve attached three files for an easier compiling environment with kopi.

<SNIP>

If anyone updates this simple program with some useful features, share it with everyone else.


Nice job, I will take a look.
"You Shall Not Pass"    
....Gandalf, Lord Of The Rings
--------------------------------------------------------------
C-860 (Cacko), 3x4gb MD  
DLINK 660W, 1GB SD,  
Upgraded Archos AV320 w/80GB HDD
Pocketop and Targus IR keyboards
Favorite Deal Site: SaveCity.net (pretty cool, good deals daily on one page)

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
C860 Java Development - nEED SETUP HELP
« Reply #7 on: November 26, 2004, 09:02:43 pm »
Quote
For a compiler I use KOPI, http://www.dms.at/kopi/ , it's a java one, so it's also embeddable :-).

I'm trying to use that too.  So... how do you set it up on the Zaurus?  (More specifically, the SL-C860, which comes with J2ME (I think it's the "cvm" app I found in the j2me directory).

While on the subject, are there any J2SE (Java 2 Standard Edition) JREs (Java Runtime Environments) for the Zaurus?... or are we limited to J2ME (Jave 2 Mobile Edition)?  Will KOPI run on J2ME or does it require J2SE?

Also, does anyone know how to get CVM in Zaurus SL-C860 working?  It looks like it only works in applet form, but I want to make a full java application with harddrive access, etc...

Thanks in advance.
Tony Olsen
Ferris@Myself.Com
Resume
Zaurus SL-C860 QTopia
2 GB Static CF
1 GB MMC (although it isn't working yet)
My Quest: To get an x86 emulator working on my Zaurus and to have my Zaurus replace my laptop as my MAIN computer
Publically available Videos for the default Zaurus SL-C860 video player