Java for DS

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

Aug 8, 2007

Java for DS by FAST6191 at 8:52 AM (4,785 Views / 0 Likes) 24 replies

  1. FAST6191
    OP

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,705
    Country:
    United Kingdom



    [​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

    Member Scorpei GBAtemp Maniac

    Joined:
    Aug 21, 2006
    Messages:
    1,295
    Country:
    Netherlands
  3. Lukeage

    Member Lukeage GBAtemp Regular

    Joined:
    Feb 24, 2004
    Messages:
    178
    Country:
    Australia
    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

    Member Scorpei GBAtemp Maniac

    Joined:
    Aug 21, 2006
    Messages:
    1,295
    Country:
    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

    Member Retal GBAtemp Advanced Fan

    Joined:
    May 20, 2007
    Messages:
    914
    Location:
    England              Sex: Daily
    Country:
    United Kingdom
    No it isn't.

    Maybe you're thinking of JavaScript.
     
  6. Scorpei

    Member Scorpei GBAtemp Maniac

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

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,705
    Country:
    United Kingdom
    Sorry that was a bit ambiguous, I will rephrase.
     
  8. madmk

    Member madmk GBAtemp Regular

    Joined:
    Aug 23, 2006
    Messages:
    119
    Country:
    United Kingdom
    Thats good news! Will open up lots of possibilities..
     
  9. Hellios

    Newcomer Hellios Advanced Member

    Joined:
    Oct 6, 2006
    Messages:
    64
    Country:
    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

    Member crafton48 GBAtemp Regular

    Joined:
    Sep 28, 2006
    Messages:
    124
    Country:
    United Kingdom
    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

    Member Icarus fire walk with me

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

    Newcomer d33t Member

    Joined:
    Jan 26, 2007
    Messages:
    44
    Country:
    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

    Member KINGOFNOOBS GBAtemp Advanced Fan

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

    Member Linkiboy GBAtemp Testing Area

    Joined:
    May 14, 2006
    Messages:
    4,888
    Country:
    United States
    in b4 "can i run runescape on teh my ds"
     
  15. kellyan95

    Banned kellyan95 Banned

    Joined:
    Jul 4, 2007
    Messages:
    1,464
    Country:
    United States
    Can I play Runescape on my DS?

    edit: damn you, linkiboy
     
  16. falcon64z8

    Member falcon64z8 GBAtemp Fan

    Joined:
    Apr 28, 2005
    Messages:
    457
    Country:
    United States
    THis is great and all but I was hoping for flash support..
     
  17. Psyfira

    Member Psyfira Credit: 0ml. Insert tea to continue

    Joined:
    Dec 31, 2003
    Messages:
    3,887
    Location:
    England
    Country:
    United Kingdom
    [​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

    Member imgod22222 GBAtemp's Original No-faced Member

    Joined:
    Jul 5, 2006
    Messages:
    1,555
    Country:
    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

    Member DanTheManMS aka Ricochet Otter

    Joined:
    Jun 2, 2007
    Messages:
    4,325
    Location:
    Georgia
    Country:
    United States
  20. TSPhoenix

    Member TSPhoenix GBAtemp Regular

    Joined:
    Aug 7, 2007
    Messages:
    158
    Country:
    Australia
    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.
     

Share This Page