Click Here
home features news forums classifieds faqs links search
5829 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
50 crawler(s) on-line.
 13 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 billt:  42 mins ago
 NutsAboutAmiga:  1 hr 3 mins ago
 DruggedBunny:  1 hr 12 mins ago
 MEGA_RJ_MICAL:  1 hr 54 mins ago
 Argo:  2 hrs 3 mins ago
 BigD:  2 hrs 21 mins ago
 Rob:  2 hrs 30 mins ago
 Dragster:  2 hrs 53 mins ago
 The_Shadow:  3 hrs 7 mins ago
 monstercoder:  3 hrs 9 mins ago

/  Forum Index
   /  Classic Amiga Software
      /  Java on the Amiga
Register To Post

PosterThread
gareth_k 
Java on the Amiga
Posted on 17-Jan-2020 2:00:39
#1 ]
Member
Joined: 11-Sep-2014
Posts: 14
From: Unknown

I stumbled upon an OSNews announcement that claims a cross-platform tool called Java Grinder has been updated with the ability to compile Java code so they run on the Amiga 68k platform. The video of it in action on an Amiga 1000 looks impressive, though I expect there are limitations on the type of code it supports and there's no indication on whether the compiled code works on later Amigas. Would anyone like to give it a try?

"Java Grinder is a tool that gives the ability to write programs in Java to run natively on microcontrollers, game consoles, and computers. Java Grinder is not a JVM, but instead translates byte-code from Java .class files into native assembly code much like a JIT or an "ahead of time" compiler"

"Since Java Grinder... already supports the Motorola 68000 CPU with the Sega Genesis I figured it shouldn't be too hard to extend the MC68000.cxx class to support the Commodore Amiga computer. More specifically, the original Amiga 1000."

Amiga Java Grinder page

Video of A1000 running a demo written in Java

Last edited by gareth_k on 17-Jan-2020 at 02:05 AM.
Last edited by gareth_k on 17-Jan-2020 at 02:03 AM.

 Status: Offline
Profile     Report this post  
toRus 
Re: Java on the Amiga
Posted on 17-Jan-2020 8:36:49
#2 ]
Regular Member
Joined: 10-Mar-2003
Posts: 202
From: Unknown

@gareth_k

Having Java on the Amiga would be great. Lots of possibilities for apps and libraries/frameworks that could fill many voids we have on our beloved platform. i will check it.

 Status: Offline
Profile     Report this post  
kolla 
Re: Java on the Amiga
Posted on 17-Jan-2020 8:55:55
#3 ]
Super Member
Joined: 21-Aug-2003
Posts: 1418
From: Trondheim, Norway

@toRus

Don’t get your hopes up, this is not about running a jvm on Amiga, lol

_________________
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC

 Status: Offline
Profile     Report this post  
MEGA_RJ_MICAL 
Re: Java on the Amiga
Posted on 17-Jan-2020 10:14:20
#4 ]
Regular Member
Joined: 13-Dec-2019
Posts: 162
From: AMIGAWORLD.NET WAS ORIGINALLY FOUNDED BY DAVID DOYLE

GRINDER, eh?

_________________
I HAVE ABS OF STEEL

 Status: Offline
Profile     Report this post  
Templario 
Re: Java on the Amiga
Posted on 17-Jan-2020 11:22:21
#5 ]
Elite Member
Joined: 22-Jun-2004
Posts: 3495
From: Palencia city of the emptied Spain.

@MEGA_RJ_MICAL
Evil minded, the name Grinder isn't related with laugh plants, it is chance.

_________________
Amiga 500 with ROMs 1.3-2.05 and M-Tec AT500 with hard disk and 4MB Ram.
WinUAE + original OS 3.5&3.9
Sam440ep 800 MHZ + OS 4.1 F.E.
Sam460ex 1 GHz + OS 4.1 F.E.
MacMini 1.5 GHz + MorphOS 3.13
PowerBook G4 1.65 + MorphOS 3.13

 Status: Offline
Profile     Report this post  
kamelito 
Re: Java on the Amiga
Posted on 17-Jan-2020 16:49:59
#6 ]
Cult Member
Joined: 26-Jul-2004
Posts: 715
From: Unknown

@gareth_k

Java is mostly used in backend servers.

 Status: Offline
Profile     Report this post  
bison 
Re: Java on the Amiga
Posted on 17-Jan-2020 19:42:40
#7 ]
Super Member
Joined: 18-Dec-2007
Posts: 1534
From: N-Space

@kamelito

Quote:
Java is mostly used in backend servers.

Yes, but that said, I rather like JavaFX. It's about the only part of Java that I do like. That, and it's a reasonably good way to pay the bills.

_________________
"Unix is supposed to fix that." -- Jay Miner

 Status: Offline
Profile     Report this post  
OneTimer1 
Re: Java on the Amiga
Posted on 17-Jan-2020 21:51:20
#8 ]
Cult Member
Joined: 3-Aug-2015
Posts: 560
From: Unknown

@gareth_k

There are AFAIK one or two JVM for the Amiga. the problems where the missing classes. Without the standard classes you can't run standard Java programs.

But Java itself changed a lot since it was announced as a big hope for X-platform programming. Java was announced as invention that will make the OS insignificant. Java coders started using classes that gave their programs a more 'native' look, so a program for Windows will look like a real Windows program and in the end, they started using classes that where not platform independent any more.

Today Java programs are programmed for Windows, some others are coded for Linux and they won't run on another platform.

No this won't help the Amiga (nor AOS4, nor MOS, nor AROS) and it will not make JavaME games run on our platform.




Last edited by OneTimer1 on 18-Jan-2020 at 04:36 PM.
Last edited by OneTimer1 on 17-Jan-2020 at 09:52 PM.

 Status: Offline
Profile     Report this post  
Argo 
Re: Java on the Amiga
Posted on 18-Jan-2020 5:18:55
#9 ]
Regular Member
Joined: 8-Mar-2003
Posts: 310
From: St. Lawrence Co., NY, USA

I had Jave on my A1200 back in the 90's It was pretty basic and only allowed for console programs

Full modern Java with all the libs would be quite the dev effort Even a Java VM would be quite the effort though a nice to have

_________________

 Status: Offline
Profile     Report this post  
tygre 
Re: Java on the Amiga
Posted on 18-Jan-2020 21:41:32
#10 ]
Regular Member
Joined: 23-Mar-2011
Posts: 196
From: Montreal, QC, Canada

Hi all!

Quote:

OneTimer1 wrote:
@gareth_k

There are AFAIK one or two JVM for the Amiga. the problems where the missing classes. Without the standard classes you can't run standard Java programs.


Indeed! Two difficulties exist for porting Java to AmigaOS (or any other OSes/Hardware):

- Porting the Java Virtual Machine (JVM), which interprets the bytecode (compiled Java code). In particular, JVMs are heavily optimised and embed just-in-time compilers (JIT) for additional performances.

- Porting the Java Class Libraries (JCL), which support developers to program, from String to reflection to windowing toolkits (AWT, Swing). Some parts of the JCL is straightforward to port, other not so much, in particular AWT because it relates to the particular graphic capabilities of the OS.

Quote:

But Java itself changed a lot since it was announced as a big hope for X-platform programming. Java was announced as invention that will make the OS insignificant. Java coders started using classes that gave their programs a more 'native' look, so a program for Windows will look like a real Windows program and in the end, they started using classes that where not platform independent any more.

Today Java programs are programmed for Windows, some others are coded for Linux and they won't run on another platform.

No this won't help the Amiga (nor AOS4, nor MOS, nor AROS) and it will not make JavaME games run on our platform.


Not so true, only when using native libraries through the Java Native Interface (JNI) do developers program for a particular OS. The (visual) differences between OSes come from differences in the implementations of the JCL.

(Besides, to be called "Java", JVM + JCL must pass the tests in the Java Compliance Kit (JCK), preventing major semantic differences between OSes.)

Take care!

_________________
Tygre
Scientific Progress Goes Boing!

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle