|
Java and RISC OS By Nick Brown. Published: 19th Sep 2007, 06:03:44 | Permalink | PrintableNick Brown explores the state of play and future options Opinion - In 1995 Sun Microsystems announced and released a programming language which would, arguably, become one of the most popular languages shaping modern computing. Initially released as Oak in 1995, the next version in 1997 saw the name changed to Java. Since these early creations almost every platform has become supported with millions of programmers creating millions of programs - all of these are portable regardless of which system Java is running on.
With a very large percentage of higher education institutes now teaching their students Java, whether you love it or hate it, the language is here to stay and forms a major cornerstone of computing as we know it. However, having said all this, there is no up to date version for RISC OS - why?
If a RISC OS user wishes to write and run Java programs there is very limited support available on our platform in terms of third-party rewrites. The first port of call is the Unix Porting Project - with the wealth of software available for Unix, porting an existing system should be a possibility. In order to run a Java program you need supporting software called the Runtime Environment, and one of these in the form of Kaffe has been ported by the UPP. There are also two Java compilers available from the project allowing a RISC OS user to develop programs in the language.
Problem solved? Well not really. Unfortunately due to the huge amount of work required, these ports are not kept up to date, are very much unfinished and only support the first version of Java. The rest of the world is currently up to version 6.
Another Java implementation is Taurus JavaVM, again completely developed by a third-party as the author has written this software from scratch. There are versions for Windows, Linux, MS-DOS and, of course, RISC OS allowing for both the execution and development of Java code. The major advantage of this program is that it supports Java version 4, but the code is not complete and there is no support for networking and desktop applications.
A major disadvantage to this software is the performance - on a RISC PC with a StrongARM processor it takes around 90 seconds to load and run a simple Java program, such as the one pictured. In addition, due to the number of files per directory limit in RISC OS 3.7 and below, the program is really only usable on RISC OS 4, 5 or 6. Saying all that, as the implementation is open source and quite simple, it would probably be relatively easy for a programmer to extend and improve it.
In late 1997 there was an Acorn version of Java which supported version 1. Since Acorn's demise in 1998 there has been no further official development and the software is now difficult to find. When Java was initially released Sun announced on their website that they were to release a RISC OS version. Unfortunately this never materialised and, due to the platform's minority nature, they have decided that the work involved is not worth it.
There is one last twist in the story. In 2006 Sun announced that it would release the implementation of its language as open source, and from November 2006 to May 2007 the blueprints which make up Java have been released. This allows anyone to freely view and modify the core of Java, and has been hailed as a great success by many programmers. The fact that the program code is now available means that if a RISC OS programmer was so inclined, they might be able to port Sun's actual implementation. Unfortunately the amount of work required would probably be extensive, and the performance could be a let down.
Properly supported, Java on RISC OS could open the door to many more diverse programs being made available - addressing the software drought we currently face. Being able to both run all these programs and write our own Java code would, without a doubt, make the platform more attractive to potential users.
Links
Send us news, pix and views
Previous: Big Ben Club organises mini-Expo
Next: ROOL aim next source release for October
Discussion Viewing threaded comments | View comments unthreaded, listed by date | Skip to the endPlease login before posting a comment. Use the form on the right to do so or create a free account.
|
Search the archives
Today's featured article
Adventures with a Lego-cased A7K web server Having previously built desktop and laptop cases of out Lego bricks, model building Peter Howkins has turned his attentions towards crafting a slim box to slid his A7000 into a rack, alongside other rackmount servers. Having pieced together the housing, Peter puts a legacy RISC OS machine through its paces as an internet-facing server.
11 comments, latest by jess on 3/12/08 2:07PM. Published: 21 Nov 2008
Random article
Wakefield 2003 website update Posters, web banners, exhibitors, the whole deal
Discuss this. Published: 14 Feb 2003
Useful links
News and media:
Iconbar •
MyRISCOS •
ArcSite •
RISCOScode •
ANS •
C.S.A.Announce •
Archive •
Qercus •
RiscWorld •
Drag'n'Drop •
GAG-News
Top developers:
RISCOS Ltd •
RISC OS Open •
MW Software •
R-Comp •
Advantage Six •
VirtualAcorn
Dealers:
CJE Micros •
APDL •
Castle •
a4 •
X-Ample •
Liquid Silicon •
Webmonster
Usergroups:
WROCC •
RONE •
NKACC •
IRUG •
SASAUG •
ROUGOL •
RONWUG •
MUG •
WAUG •
GAG •
RISCOS.be
Useful:
RISCOS.org.uk •
RISCOS.org •
RISCOS.info •
Filebase •
Chris Why's Acorn/RISC OS collection •
NetSurf
Non-RISC OS:
The Register •
The Inquirer •
Apple Insider •
BBC News •
Sky News •
Google News •
xkcd •
diodesign
|
© 1999-2009 The Drobe Team. Some rights reserved, click here for more information
Powered by MiniDrobeCMS, based on J4U | Statistics
"Oh, and books are freaking books, not dead trees, for gawd's sake"
Page generated in 0.0657 seconds.
|