Java in a chip? JAM (Java Actual Machine)?

R

Ramon F Herrera

One can't help but wonder: what has prevented folks from making Java
run directly in its own hardware...

Is there anything inherent in the language that prevents it from being
compiled or even chiseled on silicon?

-Ramon
 
H

Hunter Gratzner

One can't help but wonder: what has prevented folks from making Java
run directly in its own hardware...

Nothing. People have done it and still do it. But the customers are
not really keen for these chips and some vendors are to stupid to
market them properly.
Is there anything inherent in the language that prevents it from being
compiled or even chiseled on silicon?

No. Many did, some still do. Among the more known are the following
two.

Azul Systems builds Java "supercomputers" based on their own Vega
chip. And got in trouble with Sun about patents.

ARM sells ARM processors with Jazell DBX (Direct Bytecode eXecution).
The problem? Once again intellectual property rights. You need to
obtain a special license from ARM in order to be allowed to execute
the particular machine instruction on an ARM processor that enables
Jazell. Sun's J2ME ARM reference implementation suffers from this. To
quote from http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc/release/CLDC_HI-release-notes.html

"This confidential and proprietary software may be used for evaluation
or testing purposes for internal use only. Any commercial use requires
execution of a separate JTEK licensing agreement from ARM Limited.

This is in addition to any license agreement the licensor may have
entered into with Sun. For the avoidance of doubt, distribution of
products containing software code to exercise the BXJ instruction and
enable the use of the ARM Jazelle architecture extension without a
JTEK licensing agreement from ARM is expressly forbidden."
 
M

Martin Gregorie

Hunter said:
Nothing. People have done it and still do it. But the customers are
not really keen for these chips and some vendors are to stupid to
market them properly.


No. Many did, some still do. Among the more known are the following
two.

Azul Systems builds Java "supercomputers" based on their own Vega
chip. And got in trouble with Sun about patents.

ARM sells ARM processors with Jazell DBX (Direct Bytecode eXecution).

[ property rights stuff snipped]

There's another Java-based embedded system: the Parallaxes Javelin STAMP:

http://www.parallax.com/ProductInfo/Microcontrollers/tabid/121/Default.aspx

It uses a pretty heavily modified version of Java 1.2. The Javelin is a
micro PCB that fits in a 24 pin DIL socket, so there's no point in
having any GUI stuff, but OTOH it has been extended to deal with digital
signal lines, serial I/O and A<->D conversion. In summary, the language
subsetting involves:
single thread only
no GC
no Interfaces (only abstract classes)
subset of primitive data types (boolean, char, byte, 8 and 16
bit ints)
subset of the class library
1-dimensional arrays
Strings are ASCII, not unicode.

However, there seem to be no licensing issues.

The Javelin is pin-compatible with the BS2 BASIC stamp and, for that
matter, as the BASIC is an integer basic subset with hardware specific
extensions to handle digital signal lines and serial i/o it looks as if
the subsetting and extensions applied to both Java and BASIC are quite
similar.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top