Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

RedSky3256

macrumors newbie
Original poster
Oct 5, 2008
5
0
to create something in Java and run it on an iphone/touch? I am a student who recently learned to program in java and would like to have a portable computer to try stuff out. I was thinking if i were to download the java virtual machine and all the necessary stuff to my ipod touch, couldn't I run a program with out problem?

Before I go and restore and jailbreak my ipod touch I was wondering has anyone already tried this out?
 

mathcolo

macrumors 6502a
Sep 14, 2008
860
16
Boston
The iPhone platform is strictly Objective-C. Until Apple puts Java into Safari or anything else... you're out of luck.
 

firewood

macrumors G3
Jul 29, 2003
8,141
1,384
Silicon Valley
The iPhone platform is strictly Objective-C.

Mixed Obj-C, C++ and C in the SDK (many of the SDK API calls are in plain C). Not sure if the SDK provided XCode supports Fortran.

You can even run Javascript as well, by calling into a UIWebview, since it's an Apple provided interpreter.

There is no Java JVM (AFAIK) available on a non-jailbroken device, although there may be some Jazelle support in the ARM11 CPU.

.
 

RedSky3256

macrumors newbie
Original poster
Oct 5, 2008
5
0
I have not had any experiences with J2ME but know that it's for mobile devices. Could that work?

edit: ok just looked at your tip...

if i'm using it for personal use... not stuff that's gonna be sold does it matter if i install it or not?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.