HomeAppsBlogForum

Introducing Nokia Java Runtime 2.0 for S60

Written by: Tommi Vilkamo, manager of Nokia Beta Labs

Nokia Java Runtime 2.0 for S60 (JRT 2.0) is a totally re-written Java mobile execution environment for Nokia S60 devices. It gives you several usability and performance improvements, including:

These improvements will make it much more fun for you to enjoy the thousands of games and apps available in Ovi Store and elsewhere.

In addition, we have made major changes under the hood. From now on, Java Runtime will be developed and released independent from S60 releases. This means that you will always get the latest version directly to your phone, using the built-in Nokia S60 Software Update functionality.

Nokia Java Runtime 2.0 beta is compatible with S60 5th Edition, tested with following devices:

Download Java Runtime 2.0 and share us your thoughts!!

P.s. yes, it is more difficult to evaluate a runtime than an appication or service.... Anyway, how do you like it? Does it (and our whole new approach of releasing platform-independent runtimes) make things better for you? Did you encounter any bugs? Would you want us to keep releasing this kind of beta stuff also in the future?

Comments:

#1 Profile picture Contributor of the month Bug buster Innovator Top reviewer mbrett Tue, 2009-06-30 16:18

Just installed it on my N97

Just installed it on my N97.

Hope the installation file size isn't anything to go by as it appears to install in the phone memory, which seems a little limited in the N97 when cmopared with the N95 8Gb for example. I assume that although the installation file is 4mb the extra space taken up by the insatlled files will be negligable as existing file will be removed or compressed.

I'm a little weary that my free phone memory is now down at 13mb after installing.

Post uninstall and pre re-boot the free phoen memory went back up to 19.4mb.

Sorry to say the installation takes up too much space when you are stuck with the limitation of the N97 phone drive size.

mbrett
N97 RM-505 FW 10.0.012 (Vodafone UK)
N95 8Gb (Product Code: 0558787 (UK)) FW 31.0.015

· To top · Sign in to post comments.
#2 ratkat Tue, 2009-06-30 16:36

Same issue

yes it just uses too much of the the phone memory to keep it installed.

Who ever thought it was a good idea to have so little phone memory in the N97 should be sacked.

It will make it near impossible to upgrade Nokia Maps, Quickoffice etc which all install to phone memory and doesn't overwrite existing versions.

Add to that the space wasted by having unremovable trial versions of Adobe Reader, Boingo and Joikuspot.

Huge fail on Nokia's part...

· To top · Sign in to post comments.
#3 Profile picture Mickyfin Tue, 2009-06-30 18:42

Phone memory

Afraid to say, i agree with the guys above, its the lack of phone memory on my N97 which has deterred me installing this, even though i could use it too. I have 7.7Mb of phone memory left, and get the occasional crash, which shuts down the phone, and Im unable to switch it back on for a few minutes. When it does switch back on, I have to enter the date, and time all over again. Luckily, I have not lost any data.

· To top · Sign in to post comments.
#4 Profile picture fernando Tue, 2009-06-30 19:08

space issues

I’m pretty sure you guys are forgetting that the runtime usually goes in the rom. So what if it’s big now on beta period? And it’s not like you’re supposed to keep this one for now.

But on the runtime itself, I do like! Feedback that you really clicked an icon even when you have theme effects disabled. And it’s definitely faster, loading times decreased in a couple games I tried.

Anyway, here’s my feedback from what I want to see in next versions. Could you guys disable the sound dependence on the profile? As in, if I have the sound play even if the phone’s on the silent profile? That and some kind of volume control in the settings, java games often are too loud!

And maybe this one is out of your control, but could you guys add some kind of security permissions for unsigned apps? Make the user go thru 3 dialogs if necessary, but give power users the option of disabling security check for unsigned apps. I do not like to confirm that yes I want to use the internet every time I open the Gmail app.

Also yes, I like the idea of platform-independent runtimes, it would be much better if the rom only contained the lowest level OS, and all the rest were modular/upgradable packages.

· To top · Sign in to post comments.
#5 groovyclam69 Tue, 2009-06-30 22:10

SERIOUSLY EPIC FAIL - DANGEROUS!!!

***SERIOUSLY EPIC FAIL****

***Not safe for 5800 users***

I had UK Vodafone 5800 with 7MB free C: drive memory

Downloaded .sis and installed, the install reported that it wanted more free memory and aborted so I deinstalled 1.5MB more of apps from the C: drive.

Ran the install again. Java installed, but two of the ( 6 in my case ) conversions then failed with memory problems.

After the conversions finished I ran Opera OK, then quit and decided to power off/on the phone just to get a clean start point.

NIGHTMARE from then on....

Failure to boot properly with "Not enough memory - delete stuff please" errors ( paraphrasing ).

Skin defaulted to default skin but pressing icons ended up with either no response or "Not enough memory" over and over again.

Couldn't get to applications or settings = no responce.

Tried plugging into OVI Suite 2.0 which reported that had ZERO MB on C: drive.

After several power off/ons the phone got to application manager but was running very slowly and I managed to deinstall Java 2.0 Beta - *PHEW*

I SERIOUSLY SUGGEST THIS IS WITHDRAWN UNTIL PROPER MEMORY REQUIREMENTS ( PRE AND POST INSTALL ) ARE CALCULATED BY INSTALL AND TOLD TO USER EXPLICITLY.

· To top · Sign in to post comments.
#6 donchichi Tue, 2009-06-30 19:48

midp ssh not working

not sure how other people segregate the installed apps but i have around 30+ mb on c after installation together with my other apps. They run fine under the memory card. Only problem is the midpssh either crashes or runs too slowly (didn't wait). Needed this software functionality so had to uninstall the java update. Tried all flavours of midpssh, midp ver 1,2 and development release. Unable to run macros or input commands. Please keep releasing stuff. It is experimental so use at your own risk i guess.

· To top · Sign in to post comments.
#7 luismaria86 Tue, 2009-06-30 22:56

OMG - help!

hola, instalé la aplicación java 2.0 en mi 5800, no funciona, y todos los atajos de mi pantalla de inicio desaparecieron.

Desinstalé la aplicación, y siguen sin aparecer, por favor, alguien puede ayudarme?

Hi, I installed java 2.0 application on my 5800, does not work, and all the shortcuts on my home screen disappeared.

Uninstall the application, and still does not appear, please, can someone help me?

· To top · Sign in to post comments.
#8 Profile picture 2x2 Wed, 2009-07-01 00:00

Installed OK on 5800!

I've installed JRT on my 5800 and it's working nice, running Opera is much much faster now :)

but I just noticed that the JRT download link is broken!! was it a bad beta version!??

· To top · Sign in to post comments.
#9 Trinition Wed, 2009-07-01 03:16

Broke Opera Mini 4.2 on Nokia 5800

I installed the new Java Runtime on my Nokia 5800. I tested GMail and it worked. Then I tried Opera Mini 4.2 and it failed (java.lang.NoClassDefFoundError: javax.microedition.io.SocketConnection). I unstalled Opera Mini 4.2 from the Application Manager (strangely, it showed 1kb) and then re-downloaded and installed. I got the same error.

· To top · Sign in to post comments.
#10 Profile picture nayigeta Wed, 2009-07-01 06:58

This is for developer, not end user. Or is it?

Now that I have read the intention of this beta release more deeply. One of the point made was about trying a new approach of releasing JRT, decoupling it from the S60.

With this view, the good and bad of doing so becomes a bit more fuzzy.

The benefit of being able to get new JRT updates, especially for (future) aged S60 releases is a definite positive.

On the other hand, there could be perceived(and real) risk of increased incompatibility between certain combination of Java applications and JRT versions and devices. But I imagine such risk will be mitigated, by for example allowing only certain JRT updates for specific firmware of specific device.

From another view, there are currently a few other "runtime" available on S60, from Flashlite and WRT that comes with firmware, to PythonS60 that needs to be installed separately. Where does JRT stands amongst?

Personally, the scenerio that I would like to see is
1) Decouple all "runtime" from the platform - Flashlite, WRT, PyS60, JRT. (Keep the firmware lean)
2) And when an end user application needs a specific runtime(detected or specified), then download/install/update that required runtime accordingly.

---------[original]--------
I think Beta labs should highlight that this beta is more intended for developer. Not usual beta applications users(more like end users).

The target beta group is different in my opinion.

I think developer will be interested to beta test on this RT, and possibly able to provide more constructive feedback.

End user feedback like phone memory being filled up should not be the issue once the RT is part of phone's internal memory(ROM?).

Maybe such beta is better hosted from Forum Nokia.

· To top · Sign in to post comments.
#11 billshepp Wed, 2009-07-01 05:26

Coming for 3rd Edition?

This is great, Java's an important part of the platform. Can we expect to see an updated runtime for 3rd edition devices?

· To top · Sign in to post comments.
#12 lkumar Wed, 2009-07-01 11:16

Opera Mini

If you are facing problem with OperaMini, check the settings

Menu-->Tools-->Settings

Under "Network" heading, set the "Protocol" field as "HTTP"

It should work fine.

· To top · Sign in to post comments.
#13 Profile picture Contributor of the month Bug buster Innovator Top reviewer mbrett Wed, 2009-07-01 12:03

Reclaiming C: drive sapce on N97

Since my initial post I have managed to reclaim more than 10MB of space on my C: drive by file, app and widget shufling. For more information see the following post:
http://www.n97geeks.com/Software/891-I-need-the-installation-files-for-t...

and

http://betalabs.nokia.com/forum/topic/3456

mbrett
N97 RM-505 FW 10.0.012 (Vodafone UK)
N95 8Gb (Product Code: 0558787 (UK)) FW 31.0.015

· To top · Sign in to post comments.
#14 groovyclam Wed, 2009-07-01 15:34

Important Note to 5800 users

Do NOT install this unless you have AT LEAST 13Mb free on your 5800 C: drive to start with.

I managed to get it installed an everything working and have 3.3Mb free remaining afterwards.

Previously I had tried with 8.5Mb free to start with and was left with a very sick 5800 indeed. After much gnashing of teeth I got my phone back to a usable state.

I tried installing a second time with 13Mb free to start with, and the phone still works.

· To top · Sign in to post comments.
#15 cj1969 Wed, 2009-07-01 18:57

Broke Opera Mini 4.2 on Nokia 5800

I have exactly the same problem : gmail works fine, but i get the same error with Opera Mini. I reinstalled rebooted, and no luck. It just don't start (i can't see anything but the error).

My firmware version is V20.2.014. Custom version 20.3.014.375.02 (21-04-2009)

What could be wrong?

· To top · Sign in to post comments.
#16 midtoad Thu, 2009-07-02 17:53

No more Opera

After installing this Java release on my 5800XM I can no longer run Opera Mini. I get the same error as user 'trinitrion'.
I uninstalled Opera, re-installed it, and it still has the same error. Opera reinstalled to memory card. 24 MB free in phone after reinstalling Java.
My home screen icons have all changed after installation of Java 2.0. Internet Radio starts playing without even being started.

Tried uninstalling Opera again, rebooting, then reinstalling Opera to phone. No joy.
Uninstalled Opera, uninstalled Nokia Java 2.0, rebooted, Opera Mini reappears as installed, and runs, even though I didn't reinstall it.

Is is possible that we must uninstall Opera before installing Java 2.0? I'm unwilling to go through the whole rigamarole again to test that idea.

· To top · Sign in to post comments.
#17 original_red Fri, 2009-07-03 17:54

JSR-256

The one thing I want to know, as a developer, is...

Does it support JSR-256 yet???

I'm a developer looking to use Java to make a game that uses the rotation sensors, touchscreen and opengl (or whatever 3d api is available for the platform) - so far all the runtimes (apart from c++) have fallen short in one area (PyS60 doesn't have touch on the glCanvas yet, Java: no sensor support. Symbian C++: too difficult to learn, too expensive to make performance apps, reliant on Windows).

Please can you add JSR-256 as Java seems to be the best option to develop the game in.

· To top · Sign in to post comments.
#18 malbry Sat, 2009-07-04 09:46

Hi, I tried the new Java

Hi,

I tried the new Java runtime with some of my own Java apps. First of all, it would be good to understand what is happening behind the scenes when all Java applications are being 'converted' immediately after the JRT has been installed. All my apps store data locally in Java recordstores - are these being converted to a new format?

Anyway, I did not see any noticeable increase in speed using the new runtime. I did hit two problems. Firstly, one of my apps uses the switch 'Nokia-MIDlet-Background-Event: pause' in the jad file to detect when the app comes to foreground. This behaviour wasn't replicated with the new runtime. Secondly, another of my apps uses a large (>3 meg) recordstore. Normally this takes about 4 secs to open on my 5800. With the new runtime, it fails to open - no error message but just waits indefinitely.

Lastly, I was hoping that you might have fixed the really annoying bug in javax.microedition.lcdui.TextBox where the cursor position always defaults to the last character, instead of respecting the value of getCaretPosition(). Unfortunately, the bug is still there :-(

If you want more details of these errors then please contact me at malcolm@freepoc.org

Best regards,
Malcolm

· To top · Sign in to post comments.
#19 gowthamgowtham Sat, 2009-07-04 18:57

Is symbian os 9.1 supported?

I have a N73, will this ever be made to work on these older devices?

· To top · Sign in to post comments.
#20 kakrueger Tue, 2009-07-07 15:24

Being able to update software makes sense

I think the new approach of separately distributing updates to the runtime is great! Please keep that up and extend it further. Finally I might not need to throw away my phone if I want to update the software. As a hobby j2me software developer, I would be very interested in testing the new runtime, but unfortunately my phone is a S60 3rdFP2 phone, so I guess it won't work. It would be really great if you could release a new runtime for 3rd edition too.

· To top · Sign in to post comments.
#21 lkumar Wed, 2009-07-08 14:52

JSR-256 is supported

@ original_red
"Does it support JSR-256 yet??? "

- Yes, JSR-256 is supported in Java Runtime 2.0, but push support for the same is not yet available.

· To top · Sign in to post comments.
#22 Profile picture Mickyfin Tue, 2009-07-21 09:21

Phone memory

Seeing as i really need Java working for Joomla so I can publish to Nokiausers from my N97, I thought I would give this a go. Sadly, I now only have 16mb of phone memory left, as it auto installed to phone memory, and not give me the option to select WHERE I WANTED IT.

I will give it a test today, and report my findings.

· To top · Sign in to post comments.
#23 Profile picture Mickyfin Tue, 2009-07-21 10:20

Update

Im now able to publish to our Nokiausers.net front page, however, for soma crazy reason, im stuck in capital letters, and the enter dont function so can't start a new line.

· To top · Sign in to post comments.
#24 Profile picture Mickyfin Tue, 2009-07-21 12:46

Removal

How do you uninstall this, I cannot find it in file manager on my N97. I want my 10 MB phone memory back.

· To top · Sign in to post comments.
#25 muneerkandy Sun, 2009-08-16 08:15

Not supported for E71

I installed to my mobile. It says not supported. Please update the s/w to support my device.

Thanks

· To top · Sign in to post comments.
#26 pnoster Wed, 2009-08-19 10:19

The new Java beta crashes on my phone N97

I got a system errro rwhile converting, the device needs reboot, all my icons where messed up in the application folder, oera doen't work and came up with a java security error....

jesus what a crap. hopefully the deinstallation

· To top · Sign in to post comments.
#27 Profile picture thejohnny Wed, 2009-09-16 19:57

Java Apps installing on C drive

With this new version of the Java Runtime, I noted that the Java apps now are installed in C: without giving any option... this is going to change?? or with the new runtime java Apps will be always installed in C:?
This is a heavy issue, specially for N97 users.

In the other hand, is impressive how great it works compared with the old version, a lot faster!
I'm using it with N97 with Firmware v12, and is working just great!

I couldn't find any configuration for Java... is there any?

· To top · Sign in to post comments.
#28 Staff _kukkis_ Mon, 2009-09-21 13:44

Java Apps installing on C drive

Installation drive can be changed by clicking "View Details" link during the installation

· To top · Sign in to post comments.