Re: iPhone apps with java
Please don't post the same question in multiple forums. Looking at the website, it looks like you write your code in Java, then use the Javac compiler (or another Java compiler) to compile the code down to Java byte code (.class files).
You then run these class files through the XMLVM cross compiler to generate the compiled objective C code that can run on iPhones. See the XMLVM documentation for how to do this (I've never used this tool before, so unfortunately I won't be of much help here). Here's the manual for XMLVM: XMLVM manual
Re: iPhone apps with java
I thought cross compiling one language to another creates code that barely ever works.
Re: iPhone apps with java
Quote:
Originally Posted by
helloworld922
Please don't post the same question in multiple forums. Looking at the website, it looks like you write your code in Java, then use the Javac compiler (or another Java compiler) to compile the code down to Java byte code (.class files).
You then run these class files through the XMLVM cross compiler to generate the compiled objective C code that can run on iPhones. See the XMLVM documentation for how to do this (I've never used this tool before, so unfortunately I won't be of much help here). Here's the manual for XMLVM:
XMLVM manual
thanks for your help, but I am not really an expert in java, could you please help with one more question? where do you usually get already built packages for java? I use JBuilder and when I try to include the package org.xmlvm it says it doesn't recognise it, where do you think I can get this package? it certainly is not on the xmlvm website and neither on the website of sourceforge linked from the xmlvm website.
thanks
Re: iPhone apps with java
You should be able to download this package from the internet and import it into your project. I suggest you use Eclipse instead of JBuilder. Especially for applications like the one you are attempting to write. It looks like this package has to be downloaded via Subversion.. Google Eclipse Subversion my friend :)
xmlvm
Re: iPhone apps with java
Java is a wonderful tool for developing iPhone applications like objective C. There are so many applications have been developed in java. The How to Install, Compile, Run Java Apps on iPhone is an easy resource of installing and compiling java apps on iPhone.