JamVM - Java Virtual Mashine for IPhone, has been updated. New version 1.5.1b2-17 is avaliable through Cydia Installer.
Here is a screenshot of the icon and application itself:
The application consists of several files:
This is a tutorial, that shows step by step how to use installed Java on the IPhone. Just in case you do not have Java installed on your IPhone there is a
Step 1: Create simple Java application, compile and run.
This is a tutorial, that shows step by step how to install Java on the IPhone.
First of all I'd like to say we all want to use legal IPhones and operators. So everything written below is for testing purposes only . Hopefully this technology will be avaliable on all IPhones sold worldwide. You also might need to recover your IPhone, so make sure you backed up all your data. I personally did everything without any problems and needs to recover. Everything you do is your responsibility, etc...
So let's start, because it's worth it! It's just one evening and you will be able to create your personal Java application, compile and run it on the IPhone, and amaze all your friends .
There are two steps:
With this tutorial you will be able to install Java on the IPhone, compile and run simple Java applications using IPhone.
I decided to split this tutorial into two different ones. So here they are:
Have fun and leave comments.
The most interesting Hardware part is a GPS receiver and a camera for video conferencing.
On a software level, Apple describes addition of a text messaging (chat), in-line multimedia content (Quicktime and Flash) in the Safari browser. Further welcome additions described in the publication would include a dedicated blogging client, Java software downloads, MMS picture and video messaging, support for voice-activated commands, audio capture, video conferencing and more.
“Examples of other applications 136 that may be stored in memory 102 include other word processing applications, JAVA-enabled applications, encryption, digital rights management, voice recognition, and voice replication. ”
It sounds like Apple wants Java to be on the IPhone
JamVM is a new Java Virtual Machine which conforms to the JVM specification version 2 (blue book). In comparison to most other VM's (free and commercial) it is extremely small, with a stripped executable on PowerPC of only ~200K, and Intel 180K. However, unlike other small VMs (e.g. KVM) it is designed to support the full specification, and includes support for object finalisation, Soft/Weak/Phantom References, class-unloading, the Java Native Interface (JNI) and the Reflection API.JamVM currently only includes an interpreter (keeps it small). However, the interpreter is highly optimised, and performance is on par with a simple JIT. As most of the code is written in C it is easy to port to new architectures.
Here are some extracts from
"To show Java's prominence in multimedia, rock icon Neil Young made an appearance onstage to promote his video and music catalog offering based on Java and Blu-ray technology. A Sun official also briefly commented on Sun's predicament in trying to put Java on the Apple iPhone, leaving the ball in Apple's court to help make that happen."
"During the post-keynote press conference, Green gave a progress report on Sun's ongoing quest to put Java on the iPhone, something that Apple has not publicly, at least, supported.
Sun, Green said, is well along its way in creating the technology to enable Java to run on the phone, Green said. But he deferred to Apple, which governs which platforms can be distributed with the iPhone. It is Apple's right to decide this, Schwartz added."
- How to Port phoneME™ Advanced Software to Google Android, iPhone, OpenMoko, LiMO, and MoreHinkmond Wong (Sun Microsystems)
May 07, 14:50 - 15:50
- Dancing Duke on Your PlayStation Portable: Porting phoneME™ Software to PlayStation Portable Max Mu (Sun Microsystems); Kuo Wang (iaSolution Technology Limited)
May 08,19:30 - 20:20
- Extending Swing to Run Multitouch Applications (Multitouch Software)Michael Riecken (Trissential, LLC)
May 09,16:10 - 17:10
There are so many posts everywhere on the internet about Skype and the IPhone. On each IPhone forum it is possible to find something similar to "Is there a version of Skype for the IPhone?". And the answer was NO. There are some workarounds, but it's not what users want. However there is a great possibility, that all IPhone users will hear quite soon "YES there is Skype for the IPhone".
Skype announced a beta mobile version. It will be possible to chat, receive and make calls to Skype users and more. And it was written in... Yes, Java. So when Java will be avaliable for the IPhone all the users will be able to use Skype.
More information about Skype Mobile can be found here.
You can find out more about iphone development at Oysterlabs.
Hinkmond Wong (Java Micro Edition group at Sun Microsystems) recently published a wonderful screenshot on his blog:
This is the simpliest Java application running on the IPhone simulator. The only thing this application does is it prints "Hello world.". Well done! The whole world is looking forward to see more.
There are two ways to enable Java applications run on the IPhone. The first one is to port Java to IPhone, and this is preferrable The second way is to create automatic Java to IPhone porting solution for individual applications.
A company called
alcheMo technology is basically J2ME to C++ translator and the run-time library. It converts Java application to C++ application, which can be compiled, run and debugged. Using native run-time libraries the native executable is created. The alcheMo run-time library provides equivalent functionality to those associated with J2ME, including support for automatic garbage collection, multi-threading and extensive subsets of CLDC 1.1 and MIDP 2.0, and extension JSRs.
There are several examples of porting games to BREW platform. Hopefully there will be some for the IPhone in the near future. For now alcheMo is in beta state, potential developers are invited to join.
By the way, alcheMo for iPhone supports the accelerometer, the touch screen and other unique iPhone features, through standard MIDP 2.0 API, JSR-256, and, where necessary, extension APIs. If J2ME application uses such APIs, it will automatically and immediately be accelerometer or touch screen capable on iPhone.
The objective of the phoneME project is to further expand the usage of Java™ Platform, Micro Edition (Java ME platform) technology in the mobile handset market. The goal in making these technologies available to the Mobile & Embedded Community is to reduce implementation variation, increase the rate of innovation and enable new devices to leverage the power of the Java ME platform.
Session Title: "How to Port phoneME™ Advanced Software to Google Android, iPhone, OpenMoko, LiMO, and More".
Session Abstract: "This presentation discusses how to port phoneME™ Advanced open source mobile platform software to the latest hot cell phone and embedded device environments such as Google-OHA, Android SDK, iPhone/iPod (touch) SDK, OpenMoko, and LiMO.
The objective of the phoneME project is to further expand the use of the Java™ Platform, Micro Edition (Java ME platform) in the mobile handset market through open source. The project scope includes a focus on the emerging next-generation phone segment with the phoneME Advanced software stack. This session concentrates on how to use the open-source phoneME Advanced project as the core Java virtual machine and libraries to enable the most-recent popular mobile development platforms to become Java technology-enabled. "
Make sure to attend this event and this sesson in particular. Hinkmond Wong is an expert from Sun Microsystems, who can answer many questions about IPhone, Java and more.
We are all waiting too see Java logo on our IPhones. I do too. But... there are obstacles and restrictions. The main point is that Sun really wants see Java on the IPhone. Community wants to see it. Large companies want to be able to create Java based applications. This is a huge market. However there will be probably no Java if Apple doesn't want it to be. That's what I've heard from a vice president of Sun Microsystems. The good news is that Sun wants to be ready with Java for the IPhone in case of everything will go well. So I assume there are investigations and probably some development going on already. And of ofcourse lawers are working hard too .
So what about Apple? Apple will be able to make money with Java. There is a huge market and big money. Enterprise solutions, regular applications and etc. Everybody will benefit from it. We'll see quite soon, what will happen.