Welcome, Guest. Please login or register.

Author Topic: Java on OS4?  (Read 1340 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16878
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: Java on OS4?
« on: October 02, 2011, 12:44:41 PM »
Quote from: Wilse;662185
As above.

Anyone know if it's possible?

-EDIT-

or MorphOS.



cheers,


There are two things to implementing Java. Firstly you need to implement the virtual machine itself. There is at least one example of this on OS3.x that I recall, a port of kaffe if I'm, not mistaken. I can remember playing with it ages ago - there's a reasonable chance it would work on OS4/MOS under emulation, though I imagine an emulated VM would potentially be very slow.

The second, and in some respects the more difficult task, is the runtime and associated class libraries, more pertinently the dependencies for the native interface.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16878
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: Java on OS4?
« Reply #1 on: October 02, 2011, 12:48:47 PM »
Quote from: nicholas;662186
Not likely.

Perhaps someone might try porting JamVM and GNU/Classpath.

http://jamvm.sourceforge.net/


That looks quite interesting, especially considering that PowerPC is one of the main targets.

I might have to have a peek at it.
int p; // A