Java for DS

Discussion in 'GBAtemp & Scene News' started by FAST6191, Aug 8, 2007.

  1. FAST6191
    OP

    FAST6191 Techromancer

    pip Reporter
    22,912
    8,576
    Nov 21, 2005



    [​IMG]

    For those unaware java is a high level programming language which courtesy of its tendency to be compiled to bytecode and then be interpreted is largely cross platform, it is of special note as it is a fairly high level language (something the DS is lacking in support for) and is now widely taught as part of computer programming courses.

    Functions available at this stage are quite limited and it is suggested you aim for J2SE 1.4/version 1.4 of the java language as higher will not work.
    [​IMG] GBADev topic

    [​IMG] java4gba, a java virtual machine and the base for the DS port.


     


  2. Scorpei

    Scorpei GBAtemp Maniac

    Member
    1,295
    2
    Aug 21, 2006
    Netherlands
  3. Lukeage

    Lukeage GBAtemp Regular

    Member
    178
    0
    Feb 24, 2004
    I'd assume it is the Java SE Embedded version that is being ported over. Performance here is definitely the biggest issue, so it will be interesting to see how it goes. If it has a decent amount of the library ported over, this will make homebrew development much easier.
     
  4. Scorpei

    Scorpei GBAtemp Maniac

    Member
    1,295
    2
    Aug 21, 2006
    Netherlands
    Depends on how many of the DS's features are implemented of course (as now only hello world could work really [​IMG]) and how much of the libraries. The port is currently a direct port (with slight modifications) of Java4GBA with DLDI support added. It broadens the programming languages the DS support which is always nice but C(++) will of course still have way better performance and this will need a lot of developement. So best of luck to josath [​IMG].
     
  5. Retal

    Retal GBAtemp Advanced Fan

    Member
    914
    0
    May 20, 2007
    England              Sex: Daily
    No it isn't.

    Maybe you're thinking of JavaScript.
     
  6. Scorpei

    Scorpei GBAtemp Maniac

    Member
    1,295
    2
    Aug 21, 2006
    Netherlands
    Which is why I quoted the wikipedia page [​IMG]. Fix it fast (lol, sorry for the pun [​IMG]).
     
  7. FAST6191
    OP

    FAST6191 Techromancer

    pip Reporter
    22,912
    8,576
    Nov 21, 2005
    Sorry that was a bit ambiguous, I will rephrase.
     
  8. madmk

    madmk GBAtemp Regular

    Member
    119
    0
    Aug 23, 2006
    Thats good news! Will open up lots of possibilities..
     
  9. Hellios

    Hellios Advanced Member

    Newcomer
    64
    0
    Oct 6, 2006
    Slovenia
    I would much rather see J2ME working on a DS than anything else. Seriously, DS homebrew would explode if j2me was properly implemented.

    Not to mention we'd get a decent web browser (Opera Mini > any other Opera product)

    But still, this is amazing news!
     
  10. crafton48

    crafton48 GBAtemp Regular

    Member
    124
    0
    Sep 28, 2006
    Finally this is awesome news gonna try porting a few of my apps over to the DS,
    do you think that it will be able to use the Ds wifi at all? I mean will we be able to use the standard Java libs for networking or will there be some speical ones written?
     
  11. Icarus

    Icarus fire walk with me

    Member
    1,146
    10
    Feb 3, 2006
    United States
    Big Appleu
    Will we be able to play mobile phone games with that when it's released?
     
  12. d33t

    d33t Member

    Newcomer
    44
    0
    Jan 26, 2007
    United States
    I'm all for DS development, but I have a hard time believing Java will run well on the DS. I guess time will tell. Hope something comes of this for sure!
     
  13. KINGOFNOOBS

    KINGOFNOOBS GBAtemp Advanced Fan

    Member
    706
    0
    May 28, 2006
    United States
    Cool, I took Java, but I don't think it would run nearly smoothly enough..
     
  14. Linkiboy

    Linkiboy GBAtemp Testing Area

    Member
    4,888
    36
    May 14, 2006
    United States
    in b4 "can i run runescape on teh my ds"
     
  15. kellyan95

    kellyan95 Banned

    Banned
    1,464
    1
    Jul 4, 2007
    United States
    Can I play Runescape on my DS?

    edit: damn you, linkiboy
     
  16. falcon64z8

    falcon64z8 GBAtemp Fan

    Member
    457
    0
    Apr 28, 2005
    United States
    THis is great and all but I was hoping for flash support..
     
  17. Psyfira

    Psyfira Credit: 0ml. Insert tea to continue

    Member
    3,887
    15
    Dec 31, 2003
    England
    [​IMG] [​IMG] [​IMG] [​IMG] !

    That is all. I didn't even know someone had been working on Java on the GBA. Excellent stuff!
    Potential blonde moment: Java4GBA is built around CLDC, doesn't that imply that it's actually based on J2ME? (and that would make more sense on a portable device)
     
  18. imgod22222

    imgod22222 GBAtemp's Original No-faced Member

    Member
    1,555
    0
    Jul 5, 2006
    United States
    Don't quote me on this, but I don't see any commercial DS games that have vector graphics. Flash = frame by frame vector animations with code. If anyone gets time to port flash to DS (the latest flash) it would probably run 2 seconds per frame. BUT I do think at the beginning of the DS lifetime (before lites) Natrium42 made a flash player. I think it only accepted a max of 10fps and Flash4.0 without any actionscript. But this is from like a year ago, if not longer, and i don't remember too well.
     
  19. DanTheManMS

    DanTheManMS aka Ricochet Otter

    Member
    4,329
    105
    Jun 2, 2007
    United States
    Georgia
  20. TSPhoenix

    TSPhoenix GBAtemp Regular

    Member
    158
    1
    Aug 7, 2007
    So what exactly can and can't this DS Java do.

    It seems to run basic output and mathematical operations fine. But what else can it do?

    I haven't messed with this much, but I will.