Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Tomas on May 25, 2003, 03:44:04 AM
-
-
When we have an Amiga version of Java VM. Sure, it'll work then.
-
i guess not then :-(
-
Well, there is Kaffe.... It's a Java VM for Amiga. most of core Java is there, but AWT is pretty sketchy, according to the readme's and such. I haven't tried it, but I don't think it would work too well. Especially not for something like an entire browser in Java.
Besides, Java is "write once, TEST everywhere, anyhow"......
Hmm.... Wonder what would happen if you tried to load jazilla as a java app inside Sun Java Plug-in for Mozilla. You could have the first Mozilla running mozilla! :-P
-
it would probablly be slow anyway the whole thing in java
-
ugh. a java browser.
-
@Ilwrath
Well, there is Kaffe....
Urgh!
It won't run on Kaffe, nor will the majority of other Java desktop applications. Most need J2RE, and this is not available for AmigaOS or MorphOS, or even AmigaDE. I'm not aware of any confirmed plans to have Java ported to any of the Amiga operating systems in the future either.
-
Is a Java browser a potential security risk?
-edit-
i mean, more so than any browser is a security risk ;-)
-
Urgh!
It won't run on Kaffe, nor will the majority of other Java desktop applications. Most need J2RE, and this is not available for AmigaOS or MorphOS, or even AmigaDE. I'm not aware of any confirmed plans to have Java ported to any of the Amiga operating systems in the future either.
Yeah, it really would be a boost to have the J2RE for Amiga/Peg, wouldn't it? Of course, I don't know how severe a performance impact that would cause, even on the "modern" PPC hardware. I can't exactly say it's crisp on my 1.2ghz Athlon. (usable, don't get me wrong, but not crisp.)
As for security risks.... I'd say a browser on a JavaVM should be MORE secure, as it's an additional layer of abstraction between the browser and the hardware. Not only would the exploit need to work on the browser, but it would have to get outside the VM. Of course, I could be horribly wrong on this. I haven't really given it much thought. It WOULD be dog-slow...
-
I'm not aware of any confirmed plans to have Java ported to any of the Amiga operating systems in the future either.
Genesi are supposed to have Allan Havemose (yay!) working on a Java engine for MorphOS, but I have absolutely no clue what the state of it is..
-
And when AmigaOS gets the DE (OS4.2 or something) then it'll inherit "Personal Java and MIDP", but how that's different to "full" Java I don't know.
But I'd be seriously worried if the best browser for AOS/MOS was done through Java :-o
-
The reason AmigaDE supports Personal Java is that regular Java requires that all subroutines be inlined which limits it to be interpreted or JIT translated. AmigaDE uses static translation for added performance.
When the Virtual Processor gets ported to AmigaOS along with Java Foundation Classes then Java apps will fly!
-
Genesi are supposed to have Allan Havemose (yay!) working on a Java engine for MorphOS
Yes, I'd forgotten about that. Still, we've had "Java for Amiga" projects started before, and they didn't get anywhere. While Dr. Havemose should have a better chance of coming up with results than most, I'd say "don't count your chickens...".
-
After seven months' work, I now have Kaffe running on the 4000 under OS3.9. It uses ixemul, so it suffers from the speed penalty of a Linux emulation.
So far I have ported the interpreter and the two current versions of the JIT. The JITs run about 10x faster than the interpreter, as you would expect.
I haven't looked at AWT - it relies on X, so it won't work on an Amiga. It will have to be re-written.
As someone said, Kaffe is compatible with Java 1.4 (I think) in most respects. There is a long list of incompatibilities, just waiting for people to fix. Most are silly things like "Kaffe gives the wrong error message here".
When I get my A1, I'm going to have to start again with the PPC version. The JIT engine for the PPC platform is just now being written, and I hope to be involved with its development Real Soon Now.
tony
-
When the Virtual Processor gets ported to AmigaOS along with Java Foundation Classes then Java apps will fly!
*sigh*
"The mouth's open, the lips move, but Mr. Brain has long since departed..." - Lord Edmund Blackadder
Since Personal Java isn't capable of running the vast majority of Java applications - certainly not desktop applications - the fact that the limited number of Java programs that work with it will "fly" is kind of pointless. It's about as relevant as saying "we have Kaffe..." .
If you want to take advantage of Java applications, you need to get J2SE ported. Kaffe and Personal Java just don't cut it.
-
Yo,
Could the lack of AWT for Amiga not be worked around by displaying the windows on an Xserver?
I remember years ago running an Xserver on Workbench and running some unix programs within that. It basically involved running the program from Amiga CLI and the window was displayed in/on the Xserver window/screen.
Not ideal I know, but at least it would let us run AWT (Maybe Swing also?) programs without having to reboot to linux.
Also, whatever happended to Merapi?
-
@tonyw
As someone said, Kaffe is compatible with Java 1.4 (I think) in most respects.
Well, the download editions of Mandrake Linux come with Kaffe, and there no chance of running any full scale Java applications on that until you download and install the full J2SE from Sun.
As for AWT... :lol: :lol:
-
@bhoggett:
I agree with you, Bill, AWT is a mess. That's why I haven't touched it.
[to tell the truth, I'm not too fond of the whole structure of kaffe, but then, I'm not yet sufficiently au fait with it to make many improvements]
tony